File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -2220,6 +2220,19 @@ Issue: Does the loading lifecycle need to be described here?
2220
2220
{{CSSURLImageValue}} objects represent {{CSSImageValue}} s that match the <<url>> production. For these
2221
2221
objects, the {{CSSURLImageValue/url}} attribute contains the URL that references the image.
2222
2222
2223
+ <div algorithm>
2224
+ The <dfn constructor for=CSSURLImageValue>CSSURLImageValue(|url|)</dfn> constructor must,
2225
+ when called,
2226
+ perform the following steps:
2227
+
2228
+ 1. If the |url| passed into the constructor doesn't correctly
2229
+ parse as a <<url>> , throw a {{TypeError}} and exit this algorithm.
2230
+ 2. Else, return a new {{CSSURLImageValue}}
2231
+ with its {{CSSURLImageValue/url}} internal slot
2232
+ set to |url|.
2233
+ </div>
2234
+
2235
+
2223
2236
<!--
2224
2237
████████ ███████ ██ ██ ████████ ████████ ███ ██████ ████████
2225
2238
██ ██ ██ ███ ██ ██ ██ ██ ██ ██ ██ ██
You can’t perform that action at this time.
0 commit comments