We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fa396e commit a0cbd43Copy full SHA for a0cbd43
css-parser-api/Overview.bs
@@ -53,7 +53,8 @@ partial interface CSS {
53
54
dictionary CSSParserOptions {
55
object atRules;
56
- boolean enforceCSSGrammar = false;
+ /* dict of at-rule name => at-rule type
57
+ (contains decls or contains qualified rules) */
58
};
59
</pre>
60
@@ -74,6 +75,12 @@ Maybe add an option to preserve comments?
74
75
If so, they can appear *anywhere*,
76
in any API that returns a sequence.
77
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
+
84
Parser Values {#parser-values}
85
==============================
86
0 commit comments