Skip to content

Commit

Permalink
[css-images-3] Ambiguous image URLs that are fragment-only URLs aren'…
Browse files Browse the repository at this point in the history
…t treated as <image>. #383
  • Loading branch information
fantasai committed Jul 20, 2019
1 parent c16750b commit d25027b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion css-images-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ Image References: the ''url()'' notation {#url-notation}
An <dfn export for=CSS>ambiguous image URL</dfn> is
a <<url>> value that can be interpreted
as either an <<image>> or an element reference.
If an [=ambiguous image URL=] has a fragment
If an [=ambigous image URL=] is a [[css-values-3#local-urls|fragment-only URL]],
then it must be treated as an element reference.
Otherwise, if the [=ambiguous image URL=] has a fragment
that references an element in the resource
that is an appropriate type of element for the context in which the <<url>> appears
(such as a <{mask}> element for the 'mask-image' property),
Expand Down

0 comments on commit d25027b

Please sign in to comment.