Issue #2486 - Part 2: Implement parser support for layer block and layer statements

This does not deal with layer specificity.
This commit is contained in:
FranklinDM 2024-07-14 21:43:44 +08:00 committed by roytam1
commit 9630698d31
4 changed files with 100 additions and 2 deletions

View file

@ -1896,6 +1896,8 @@ CSSStyleSheet::InsertRuleIntoGroup(const nsAString & aRule,
case css::Rule::COUNTER_STYLE_RULE:
case css::Rule::DOCUMENT_RULE:
case css::Rule::SUPPORTS_RULE:
case css::Rule::LAYER_BLOCK_RULE:
case css::Rule::LAYER_STATEMENT_RULE:
// these types are OK to insert into a group
break;
case css::Rule::CHARSET_RULE: