Skip to content

Commit edd2c45

Browse files
committed
[css-values-4] Add a note explaining fragment-only URL resolution a little better.
1 parent 08c1b6c commit edd2c45

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

css-values-4/Overview.bs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,12 @@ Fragment URLs</h5>
962962
This reference must always be treated as same-document
963963
(rather than cross-document).
964964

965+
Note: This means that stylesheets inside a [=shadow tree=]
966+
will resolve these URLs only to elements inside the shadow,
967+
elements in the light DOM
968+
will resolve these URLs only to elements in the light DOM,
969+
etc.
970+
965971
When <a href="https://www.w3.org/TR/cssom-1/#serializing-css-values">serializing</a>
966972
a ''url()'' with the <a>local url flag</a> set,
967973
it must serialize as just the fragment.

0 commit comments

Comments
 (0)