Skip to content

Commit b56d344

Browse files
committed
[css-syntax] Add a note about the handling of escapes in bad-url.
1 parent dde93f8 commit b56d344

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

css-syntax/Overview.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2330,7 +2330,10 @@ <h4 id=consume-the-remnants-of-a-bad-url><span class=secno>4.3.14.
23302330
valid escape</i></a>
23312331

23322332
<dd> <a href="#consume-an-escaped-character0"><i>Consume an escaped
2333-
character</i></a>.
2333+
character</i></a>. <span class=note>This allows an escaped right
2334+
parenthesis ("\)") to be encountered without ending the
2335+
〈bad-url〉. This is otherwise identical to the "anything else"
2336+
clause.</span>
23342337

23352338
<dt>anything else
23362339

css-syntax/Overview.src.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,6 +1624,8 @@ <h4>
16241624
<dt>the input stream <i>starts with a valid escape</i>
16251625
<dd>
16261626
<i>Consume an escaped character</i>.
1627+
<span class='note'>This allows an escaped right parenthesis ("\)") to be encountered without ending the 〈bad-url〉.
1628+
This is otherwise identical to the "anything else" clause.</span>
16271629

16281630
<dt>anything else
16291631
<dd>

0 commit comments

Comments
 (0)