Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make fragment-only URLs always same-document. Closes #61.'
  • Loading branch information
nikosandronikos committed Jun 21, 2016
1 parent 7ab9cdf commit f378b15
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions master/changes.html
Expand Up @@ -549,6 +549,8 @@ <h3 id="linking">Linking chapter</h3>
<li>Removed the <span class='attr-name'>'viewTarget'</span> attribute
on the <a>'view'</a> element and the corresponding SVG view fragment
parameter.</li>

<li class='added-since-last-wd'>Fragment-only URLs are always same-document.</li>
</ul>

<h3 id="script">Scripting chapter</h3>
Expand Down
5 changes: 5 additions & 0 deletions master/linking.html
Expand Up @@ -230,6 +230,11 @@ <h3 id="linkRefAttrs">URL reference attributes</h3>
<p>If the <a>URL reference</a> is relative, its absolute version must be computed by the method described in
<a href="http://www.w3.org/TR/xmlbase/">XML Base</a> before use [<a href="refs.html#ref-XML-BASE">XML-BASE</a>].</p>

<p class='ready-for-wg-review'>If the <a>URL reference</a> is a fragment-only URL, it must be treated as
a same-document URL as described in
<a href="https://drafts.csswg.org/css-values/#local-urls">CSS Values and Units</a>
[<a href="refs.html#ref-CSS3VALUES">CSS3VALUES</a>].</p>

<p>If the protocol, such as HTTP, does not support <a>URLs</a> directly,
the <a>URL</a> is converted to a URI by the SVG implementation, as described
in section 3.1 of the <a href="http://www.ietf.org/rfc/rfc3987.txt">URL specification</a> [<a href="refs.html#ref-RFC3987">RFC3987</a>].</p>
Expand Down

0 comments on commit f378b15

Please sign in to comment.