Skip to content

Commit 80972b9

Browse files
committed
[css-values-4] Rephrase the utf-8 URL-encoding requirement. #9301
1 parent 9e943e0 commit 80972b9

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

css-values-4/Overview.bs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,15 +1127,12 @@ URL Processing Model</h4>
11271127
with [=fetch/processresponseconsumebody=] set to |processResponse|.
11281128
</div>
11291129

1130-
Some legacy implementations preserved the original encoding of URLs
1131-
(as represented in the stylesheet)
1132-
and reproduced that encoding when communicating over the network.
1133-
UAs <em>must not</em> do this;
1134-
when it's necessary to re-encode a URL into bytes
1135-
to communicate over the network,
1136-
the URL must be encoded as UTF-8,
1130+
When [[url#percent-encoded-bytes|percent-encoding a URL]] from CSS for any purpose,
1131+
the UTF-8 encoding must be used
1132+
to produce the bytes to be encoded,
11371133
regardless of the original stylesheet encoding.
11381134

1135+
11391136
<h2 id="numeric-types">
11401137
Numeric Data Types</h2>
11411138

0 commit comments

Comments
 (0)