Skip to content

Commit 5472f32

Browse files
committed
[css-syntax] Specify that conformance checkers, if they do error recovery, have to work the same as user agents.
1 parent 2ccbe9d commit 5472f32

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

css-syntax/Overview.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,8 @@ <h2 id=tokenizing-and-parsing-css><span class=secno>3. </span> Tokenizing
562562
must not report parse error conditions if none exist in the document.
563563
Conformance checkers may report more than one parse error condition if
564564
more than one parse error condition exists in the document. Conformance
565-
checkers are not required to recover from parse errors.
565+
checkers are not required to recover from parse errors, but if they do,
566+
they must recover in the same way as user agents.
566567

567568
<h3 id=overview-of-the-parsing-model><span class=secno>3.1. </span>
568569
Overview of the Parsing Model</h3>

css-syntax/Overview.src.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,9 @@ <h2>
290290
and must not report parse error conditions
291291
if none exist in the document.
292292
Conformance checkers may report more than one parse error condition if more than one parse error condition exists in the document.
293-
Conformance checkers are not required to recover from parse errors.
293+
Conformance checkers are not required to recover from parse errors,
294+
but if they do,
295+
they must recover in the same way as user agents.
294296

295297
<h3>
296298
Overview of the Parsing Model</h3>

0 commit comments

Comments
 (0)