From f2f17475f6217e5fb57e17c46c1321922ced8ca5 Mon Sep 17 00:00:00 2001 From: Tab Atkins-Bittner Date: Mon, 10 Oct 2022 16:15:54 -0700 Subject: [PATCH] [css-values-4] Specify that hash-only URLs resolve against the node tree, not the document (so they're shadow-scoped), per WebAppsWG discussion. #3320 --- css-values-4/Overview.bs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/css-values-4/Overview.bs b/css-values-4/Overview.bs index 0104e05faa1..34f6a3e7209 100644 --- a/css-values-4/Overview.bs +++ b/css-values-4/Overview.bs @@ -953,7 +953,8 @@ Fragment URLs 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. + 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).