[csswg-drafts] [css-values] Clarify fragment URLs resolve against the current tree, not document tree

rniwa has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values] Clarify fragment URLs resolve against the current tree, not document tree ==
Right now, [section 4.4.1.1. fragment URLs](https://drafts.csswg.org/css-values-4/#local-urls) say that:
> If a url()’s value starts with a U+0023 NUMBER SIGN (#) character, parse it as per normal for URLs, but additionally set the local url flag of the url().
>
> When matching a url() with the local url flag set, ignore everything but the URL’s fragment, and resolve that fragment against the current document that relative URLs are resolved against. This reference must always be treated as same-document (rather than cross-document).

We text should be updated to refer to the current tree so that when the [local url flag](https://drafts.csswg.org/css-values-4/#url-local-url-flag) is set, the fragment is resolved against the current tree.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3320 using your GitHub account

Received on Wednesday, 14 November 2018 22:05:20 UTC