Skip to content

Commit 42ed2a0

Browse files
committed
[typed-om] Make the CSSUrlImageValue constructor not do a CSS-parse of the value, to match other places where we just use the passed value directly. Fixes w3c#630.
1 parent afbd760 commit 42ed2a0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

css-typed-om/Overview.bs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2694,9 +2694,7 @@ objects, the {{CSSURLImageValue/url}} attribute contains the URL that references
26942694
when called,
26952695
perform the following steps:
26962696

2697-
1. If the |url| passed into the constructor doesn't correctly
2698-
parse as a <<url>>, throw a {{TypeError}}.
2699-
2. Else, return a new {{CSSURLImageValue}}
2697+
1. Return a new {{CSSURLImageValue}}
27002698
with its {{CSSURLImageValue/url}} internal slot
27012699
set to |url|.
27022700
</div>

0 commit comments

Comments
 (0)