servo/tests/wpt/meta/css/css-nesting/cssom.html.ini
Oriol Brufau 0cdc1dcf72
Turn CSSStyleRule into a CSSGroupingRule subclass (#36254)
Note that `StyleRule` may not have the `CssRules` readily available,
they may need to be created. So the previous approach of providing
`CSSGroupingRule` with the `CssRules` is no good: it would require
writing them in advance, just in case they end up being used.

Therefore, this removes the `CSSGroupingRule::rules` field. Instead,
they are lazily obtained in `CSSGroupingRule::rulelist()` by downcasting
and calling the appropriate method for the subclass.

Testing: covered by WPT
Fixes: #36245

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-04-01 19:18:07 +00:00

6 lines
150 B
INI
Vendored

[cssom.html]
[Simple CSSOM manipulation of subrules 7]
expected: FAIL
[Manipulation of nested declarations through CSSOM]
expected: FAIL