Skip to content
Permalink
Browse files

Editorial: non-relative flag got renamed

  • Loading branch information...
annevk authored and domenic committed Mar 30, 2016
1 parent da7b5ba commit d360c27d44c52390441b5910d39e898160ec016d
Showing with 23 additions and 21 deletions.
  1. +23 −21 source
44 source
<li><dfn data-noexport="" data-x="concept-url-path" data-x-href="https://url.spec.whatwg.org/#concept-url-path">path</dfn>
<li><dfn data-noexport="" data-x="concept-url-query" data-x-href="https://url.spec.whatwg.org/#concept-url-query">query</dfn>
<li><dfn data-noexport="" data-x="concept-url-fragment" data-x-href="https://url.spec.whatwg.org/#concept-url-fragment">fragment</dfn>
<li><dfn data-noexport="" data-x-href="https://url.spec.whatwg.org/#non-relative-flag">non-relative flag</dfn>
<li><dfn data-noexport="" data-x-href="https://url.spec.whatwg.org/#url-cannot-be-a-base-url-flag">cannot-be-a-base-URL flag</dfn>
</ul>
</li>
<li>A <dfn data-noexport="" data-x-href="https://url.spec.whatwg.org/#network-scheme">network scheme</dfn>
<ol>
<li><p>If element's <span data-x="concept-hyperlink-url">url</span> is non-null, its <span
data-x="concept-url-scheme">scheme</span> is "<code data-x="">blob</code>", and its
<span>non-relative flag</span> is set, terminate these steps.</p></li>
<span>cannot-be-a-base-URL flag</span> is set, terminate these steps.</p></li>

<li><p><span data-x="concept-hyperlink-url-set">Set the url</span>.</p></li>
</ol>
data-x="concept-hyperlink-url">url</span>.</p></li>

<li><p>If <var>url</var> or <var>url</var>'s <span data-x="concept-url-host">host</span> is null,
or <var>url</var>'s <span>non-relative flag</span> is set, terminate these steps.</p></li>
or <var>url</var>'s <span>cannot-be-a-base-URL flag</span> is set, terminate these
steps.</p></li>

<li><p><span>Set the username</span>, given <var>url</var> and the given value.</p></li>

data-x="concept-hyperlink-url">url</span>.</p></li>

<li><p>If <var>url</var> or <var>url</var>'s <span data-x="concept-url-host">host</span> is null,
or <var>url</var>'s <span>non-relative flag</span> is set, terminate these steps.</p></li>
or <var>url</var>'s <span>cannot-be-a-base-URL flag</span> is set, terminate these
steps.</p></li>

<li><p><span>Set the password</span>, given <var>url</var> and the given value.</p></li>

<li><p>Let <var>url</var> be this element's <span
data-x="concept-hyperlink-url">url</span>.</p></li>

<li><p>If <var>url</var> is null or <var>url</var>'s <span>non-relative flag</span> is set,
terminate these steps.</p></li>
<li><p>If <var>url</var> is null or <var>url</var>'s <span>cannot-be-a-base-URL flag</span> is
set, terminate these steps.</p></li>

<li><p><span data-x="basic url parser">Basic URL parse</span> the given value, with
<var>url</var> as <var>url</var> and <span>host state</span> as <var>state
<li><p>Let <var>url</var> be this element's <span
data-x="concept-hyperlink-url">url</span>.</p></li>

<li><p>If <var>url</var> is null or <var>url</var>'s <span>non-relative flag</span> is set,
terminate these steps.</p></li>
<li><p>If <var>url</var> is null or <var>url</var>'s <span>cannot-be-a-base-URL flag</span> is
set, terminate these steps.</p></li>

<li><p><span data-x="basic url parser">Basic URL parse</span> the given value, with
<var>url</var> as <var>url</var> and <span>hostname state</span> as <var>state
data-x="concept-hyperlink-url">url</span>.</p></li>

<li><p>If <var>url</var> or <var>url</var>'s <span data-x="concept-url-host">host</span> is null,
<var>url</var>'s <span>non-relative flag</span> is set, or <var>url</var>'s <span
<var>url</var>'s <span>cannot-be-a-base-URL flag</span> is set, or <var>url</var>'s <span
data-x="concept-url-scheme">scheme</span> is "<code data-x="">file</code>", terminate these
steps.</p></li>


<li><p>If <var>url</var> is null, return the empty string.</p></li>

<li><p>If <var>url</var>'s <span>non-relative flag</span> is set, return the first string in
<var>url</var>'s <span data-x="concept-url-path">path</span>.</p></li>
<li><p>If <var>url</var>'s <span>cannot-be-a-base-URL flag</span> is set, return the first string
in <var>url</var>'s <span data-x="concept-url-path">path</span>.</p></li>

<li><p>Return "<code data-x="">/</code>", followed by the strings in <var>url</var>'s <span
data-x="concept-url-path">path</span> (including empty strings), separated from each other by
<li><p>Let <var>url</var> be this element's <span
data-x="concept-hyperlink-url">url</span>.</p></li>

<li><p>If <var>url</var> is null or <var>url</var>'s <span>non-relative flag</span> is set,
terminate these steps.</p></li>
<li><p>If <var>url</var> is null or <var>url</var>'s <span>cannot-be-a-base-URL flag</span> is
set, terminate these steps.</p></li>

<li><p>Set <var>url</var>'s <span data-x="concept-url-path">path</span> to the empty
list.</p></li>
<li><p>Let <var>copyURL</var> be a copy of this <code>Location</code> object's <span
data-x="concept-location-url">url</span>.</p></li>

<li><p>If <var>copyURL</var>'s <span>non-relative flag</span> is set, terminate these
<li><p>If <var>copyURL</var>'s <span>cannot-be-a-base-URL flag</span> is set, terminate these
steps.</p></li>

<li><p><span data-x="basic url parser">Basic URL parse</span> the given value, with
<li><p>Let <var>copyURL</var> be a copy of this <code>Location</code> object's <span
data-x="concept-location-url">url</span>.</p></li>

<li><p>If <var>copyURL</var>'s <span>non-relative flag</span> is set, terminate these
<li><p>If <var>copyURL</var>'s <span>cannot-be-a-base-URL flag</span> is set, terminate these
steps.</p></li>

<li><p><span data-x="basic url parser">Basic URL parse</span> the given value, with
data-x="concept-location-url">url</span>.</p></li>

<li><p>If <var>copyURL</var>'s <span data-x="concept-url-host">host</span> is null,
<var>copyURL</var>'s <span>non-relative flag</span> is set, or <var>copyURL</var>'s <span
<var>copyURL</var>'s <span>cannot-be-a-base-URL flag</span> is set, or <var>copyURL</var>'s <span
data-x="concept-url-scheme">scheme</span> is "<code data-x="">file</code>", terminate these
steps.</p></li>

<li><p>Let <var>url</var> be this <code>Location</code> object's <span
data-x="concept-location-url">url</span>.</p></li>

<li><p>If <var>url</var>'s <span>non-relative flag</span> is set, return the first string in
<var>url</var>'s <span data-x="concept-url-path">path</span>.</p></li>
<li><p>If <var>url</var>'s <span>cannot-be-a-base-URL flag</span> is set, return the first string
in <var>url</var>'s <span data-x="concept-url-path">path</span>.</p></li>

<li><p>Return "<code data-x="">/</code>", followed by the strings in <var>url</var>'s <span
data-x="concept-url-path">path</span> (including empty strings), separated from each other by
<li><p>Let <var>copyURL</var> be a copy of this <code>Location</code> object's <span
data-x="concept-location-url">url</span>.</p></li>

<li><p>If <var>copyURL</var>'s <span>non-relative flag</span> is set, terminate these
<li><p>If <var>copyURL</var>'s <span>cannot-be-a-base-URL flag</span> is set, terminate these
steps.</p></li>

<li><p>Set <var>copyURL</var>'s <span data-x="concept-url-path">path</span> to the empty
data-x="concept-WorkerLocation-WorkerGlobalScope"><code>WorkerGlobalScope</code> object</span>'s
<span data-x="concept-WorkerGlobalScope-url">url</span>.</p></li>

<li><p>If <var>url</var>'s <span>non-relative flag</span> is set, return the first string in
<var>url</var>'s <span data-x="concept-url-path">path</span>.</p></li>
<li><p>If <var>url</var>'s <span>cannot-be-a-base-URL flag</span> is set, return the first string
in <var>url</var>'s <span data-x="concept-url-path">path</span>.</p></li>

<li><p>Return "<code data-x="">/</code>", followed by the strings in <var>url</var>'s <span
data-x="concept-url-path">path</span> (including empty strings), separated from each other by

0 comments on commit d360c27

Please sign in to comment.
You can’t perform that action at this time.