Skip to content

Commit

Permalink
[css-images-3] s/should/must/ for ambiguous image-reference URL handl…
Browse files Browse the repository at this point in the history
…ing. #383
  • Loading branch information
fantasai committed Aug 13, 2019
1 parent 3f884b8 commit 155b0e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions css-images-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,13 @@ Image References: the ''url()'' notation {#url-notation}
a <<url>> value that can be interpreted
as either an <<image>> or an element reference.
If an [=ambigous image URL=] is a [[css-values-3#local-urls|fragment-only URL]],
then it should be treated as an element reference.
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),
it should be interpreted as an element reference.
Otherwise, it should be treated as an <<image>>.
it is interpreted as an element reference.
Otherwise, it is treated as an <<image>>.

Specs using the [=ambiguous image URL=] concept
must define what elements are valid references for the URL,
Expand Down

0 comments on commit 155b0e6

Please sign in to comment.