Skip to content

Commit a0cbd43

Browse files
committed
Remove 'enforceCSSGrammar'; that'll be done by constructable stylesheets. Add an issue about atRules.
1 parent 5fa396e commit a0cbd43

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

css-parser-api/Overview.bs

+8-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ partial interface CSS {
5353

5454
dictionary CSSParserOptions {
5555
object atRules;
56-
boolean enforceCSSGrammar = false;
56+
/* dict of at-rule name => at-rule type
57+
(contains decls or contains qualified rules) */
5758
};
5859
</pre>
5960

@@ -74,6 +75,12 @@ Maybe add an option to preserve comments?
7475
If so, they can appear *anywhere*,
7576
in any API that returns a sequence.
7677

78+
Issue: What do we do if an unknown at-rule
79+
(not appearing in the {{atRules}} option)
80+
shows up in the results?
81+
Default to decls or rules?
82+
Or treat it more simply as just a token sequence?
83+
7784
Parser Values {#parser-values}
7885
==============================
7986

0 commit comments

Comments
 (0)