Skip to content

Commit

Permalink
[css-values-4] One more go at fixing the URL parsing encoding. #9301
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Nov 6, 2023
1 parent 97e0e03 commit 4da2655
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions css-values-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1130,10 +1130,11 @@ URL Processing Model</h4>
with [=fetch/processresponseconsumebody=] set to |processResponse|.
</div>

When [[url#percent-encoded-bytes|percent-encoding a URL]] from CSS for any purpose,
the UTF-8 encoding must be used
to produce the bytes to be encoded,
regardless of the original stylesheet encoding.
When parsing URLs in CSS,
the [=URL parser's=] <var ignore>encoding</var> argument
must be omitted
(i.e. use the default, UTF-8),
regardless of the stylesheet encoding.


<h2 id="numeric-types">
Expand Down

0 comments on commit 4da2655

Please sign in to comment.