W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2018

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

From: Ryosuke Niwa via GitHub <sysbot+gh@w3.org>
Date: Wed, 14 Nov 2018 22:05:19 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-380907479-1542233118-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:54 UTC