Skip to content

Commit

Permalink
[css-values-4] Specify that hash-only URLs resolve against the node t…
Browse files Browse the repository at this point in the history
…ree, not the document (so they're shadow-scoped), per WebAppsWG discussion. #3320
  • Loading branch information
tabatkins committed Oct 10, 2022
1 parent f0d1966 commit f2f1747
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion css-values-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,8 @@ Fragment URLs</h5>

When matching a ''url()'' with the <a>local url flag</a> set,
ignore everything but the URL's fragment,
and resolve that fragment against the current document that relative URLs are resolved against.
and resolve that fragment against the [=node tree=]
of the stylesheet's [=CSSStyleSheet/owner node=].
This reference must always be treated as same-document
(rather than cross-document).

Expand Down

0 comments on commit f2f1747

Please sign in to comment.