Skip to content

Commit 464e3e8

Browse files
committed
[css-values] Per WG resolution, empty urls() serialize as url(''). #6447
1 parent 2aa874f commit 464e3e8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

css-values-3/Overview.bs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,9 @@ Empty URLs
665665
the url must resolve to an invalid resource
666666
(similar to what the url ''about:invalid'' does).
667667

668+
Its computed value is ''url("")'',
669+
and it must serialize as such.
670+
668671
Note: This matches the behavior of empty urls for embedded resources elsewhere in the web platform,
669672
and avoids excess traffic re-requesting the stylesheet or host document
670673
due to editing mistakes leaving the ''url()'' value empty,

css-values-4/Overview.bs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,9 @@ Empty URLs
993993
the url must resolve to an invalid resource
994994
(similar to what the url ''about:invalid'' does).
995995

996+
Its computed value is ''url("")'',
997+
and it must serialize as such.
998+
996999
Note: This matches the behavior of empty urls for embedded resources elsewhere in the web platform,
9971000
and avoids excess traffic re-requesting the stylesheet or host document
9981001
due to editing mistakes leaving the ''url()'' value empty,

0 commit comments

Comments
 (0)