@@ -2545,7 +2545,9 @@ Consume an at-rule</h4>
25452545<h4 id="consume-qualified-rule">
25462546Consume a qualified rule</h4>
25472547
2548- To <dfn>consume a qualified rule</dfn> :
2548+ To <dfn>consume a qualified rule</dfn> ,
2549+ given an optional |mixed with declarations| boolean
2550+ (defaulting to false):
25492551
25502552 Create a new qualified rule
25512553 with its prelude initially set to an empty [=list=] ,
@@ -2555,11 +2557,20 @@ Consume a qualified rule</h4>
25552557
25562558 <dl>
25572559 <dt> <<EOF-token>>
2558- <dt> <<semicolon-token>>
25592560 <dd>
25602561 This is a <a>parse error</a> .
25612562 Return nothing.
25622563
2564+ <dt> <<semicolon-token>>
2565+ <dd>
2566+ If |mixed with declarations| is true,
2567+ this is a [=parse error=] ;
2568+ return nothing.
2569+
2570+ Otherwise,
2571+ append a <<semicolon-token>>
2572+ to the qualified rule's prelude.
2573+
25632574 <dt> <a href="#tokendef-open-curly"><{-token></a>
25642575 <dd>
25652576 <a>Consume a simple block</a>
@@ -2620,7 +2631,8 @@ Consume a style block's contents</h4>
26202631 <dt> anything else</dd>
26212632 <dd>
26222633 [=Reconsume the current input token=] .
2623- [=Consume a qualified rule=] .
2634+ [=Consume a qualified rule=] ,
2635+ with |mixed with declarations| set to true.
26242636 If anything was returned,
26252637 append it to |rules|.
26262638 </dl>
0 commit comments