File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2477,6 +2477,18 @@ Consume a simple block</h4>
2477
2477
and append it to the value of the block.
2478
2478
</dl>
2479
2479
2480
+ Note: CSS has an unfortunate syntactic ambiguity
2481
+ between blocks that can contain declarations
2482
+ and blocks that can contain qualified rules,
2483
+ so any "consume" algorithms that handle rules
2484
+ will initially use this more generic algorithm
2485
+ rather than the more specific
2486
+ [=consume a list of declarations=]
2487
+ or [=consume a list of rules=] algorithms.
2488
+ These more specific algorithms are instead invoked when grammars are applied,
2489
+ depending on whether it contains a <<declaration-list>>
2490
+ or a <<rule-list>> /<<stylesheet>> .
2491
+
2480
2492
2481
2493
<h4 id="consume-function">
2482
2494
Consume a function</h4>
You can’t perform that action at this time.
0 commit comments