Implement CSSNestedDeclarations (#36248)

This is the CSSOM interface that represents a nested declarations rule.
https://drafts.csswg.org/css-nesting/#the-cssnestrule

Testing: `/_mozilla/mozilla/interfaces.https.html`. And once
`CSSStyleRule` becomes a `CSSGroupingRule` subclass, this will be
further covered by `/css/css-nestting/`.
This is part of #36245

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-04-01 13:20:46 +02:00 committed by GitHub
parent e8d5a019a4
commit bc6926d1fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 120 additions and 2 deletions

View file

@ -107,6 +107,10 @@ DOMInterfaces = {
'canGc': ['Media'],
},
'CSSNestedDeclarations': {
'canGc': ['Style'],
},
'CSSRuleList': {
'canGc': ['Item', 'IndexedGetter'],
},