Skip to content

Commit d25027b

Browse files
committed
[css-images-3] Ambiguous image URLs that are fragment-only URLs aren't treated as <image>. w3c#383
1 parent c16750b commit d25027b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

css-images-3/Overview.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ Image References: the ''url()'' notation {#url-notation}
176176
An <dfn export for=CSS>ambiguous image URL</dfn> is
177177
a <<url>> value that can be interpreted
178178
as either an <<image>> or an element reference.
179-
If an [=ambiguous image URL=] has a fragment
179+
If an [=ambigous image URL=] is a [[css-values-3#local-urls|fragment-only URL]],
180+
then it must be treated as an element reference.
181+
Otherwise, if the [=ambiguous image URL=] has a fragment
180182
that references an element in the resource
181183
that is an appropriate type of element for the context in which the <<url>> appears
182184
(such as a <{mask}> element for the 'mask-image' property),

0 commit comments

Comments
 (0)