Skip to content

Commit

Permalink
Avoid overwriting the file URL scheme in the relative state. https://…
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Apr 9, 2013
1 parent b3fd683 commit 20ac84d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 6 additions & 4 deletions url.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<p><a class="logo" href="//www.whatwg.org/"><img alt="WHATWG" height="100" src="//resources.whatwg.org/logo-url.svg" width="100"></a></p>
<h1>URL</h1>
<h2 class="no-num no-toc" id="living-standard-—-last-updated-7-march-2013">Living Standard — Last Updated 7 March 2013</h2>
<h2 class="no-num no-toc" id="living-standard-—-last-updated-9-april-2013">Living Standard — Last Updated 9 April 2013</h2>

<dl>
<dt>This Version:
Expand Down Expand Up @@ -35,7 +35,7 @@ <h2 class="no-num no-toc" id="living-standard-—-last-updated-7-march-2013">Liv
<p class="copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
To the extent possible under law, the editors have waived all copyright and
related or neighboring rights to this work. In addition, as of
7 March 2013, the editors have made this specification available
9 April 2013, the editors have made this specification available
under the
<a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
which is available at
Expand Down Expand Up @@ -994,8 +994,9 @@ <h3 id="parsing"><span class="secno">5.2 </span>Parsing</h3>
<dd>
<p>Set <var title="">url</var>'s <a href="#relative-flag">relative flag</a>, set
<var title="">url</var>'s <a href="#concept-url-scheme" title="concept-url-scheme">scheme</a> to
<var title="">base</var>'s <a href="#concept-url-scheme" title="concept-url-scheme">scheme</a>,
and then, based on <var title="">c</var>:
<var title="">base</var>'s <a href="#concept-url-scheme" title="concept-url-scheme">scheme</a> if
<var title="">url</var>'s <a href="#concept-url-scheme" title="concept-url-scheme">scheme</a> is not
"<code title="">file</code>", and then, based on <var title="">c</var>:

<dl class="switch">
<dt><a href="#eof-code-point">EOF code point</a>
Expand Down Expand Up @@ -2439,6 +2440,7 @@ <h2 class="no-num" id="acknowledgments">Acknowledgments</h2>
David Sheets,
Erik Arvidsson,
Gavin Carothers,
Geoff Richards,
Glenn Maynard,
Henri Sivonen,
Ian Hickson,
Expand Down
6 changes: 4 additions & 2 deletions url.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -971,8 +971,9 @@ <h3>Parsing</h3>
<dd>
<p>Set <var title>url</var>'s <span>relative flag</span>, set
<var title>url</var>'s <span title=concept-url-scheme>scheme</span> to
<var title>base</var>'s <span title=concept-url-scheme>scheme</span>,
and then, based on <var title>c</var>:
<var title>base</var>'s <span title=concept-url-scheme>scheme</span> if
<var title>url</var>'s <span title=concept-url-scheme>scheme</span> is not
"<code title>file</code>", and then, based on <var title>c</var>:

<dl class=switch>
<dt><span>EOF code point</span>
Expand Down Expand Up @@ -2392,6 +2393,7 @@ <h2 class=no-num>Acknowledgments</h2>
David Sheets,
Erik Arvidsson,
Gavin Carothers,
Geoff Richards,
Glenn Maynard,
Henri Sivonen,
Ian Hickson,
Expand Down

0 comments on commit 20ac84d

Please sign in to comment.