LibWeb: Mark CSSImportRule.styleSheet IDL definition as nullable

The stylesheet may be null if its `supports()` condition does not match.
This matches the current specification.
This commit is contained in:
Tim Ledbetter 2025-03-19 13:18:08 +00:00 committed by Jelle Raaijmakers
parent 942f26a846
commit d38b5e260e
Notes: github-actions[bot] 2025-03-19 15:44:05 +00:00

View file

@ -7,7 +7,7 @@
interface CSSImportRule : CSSRule {
readonly attribute USVString href;
// FIXME: [SameObject, PutForwards=mediaText] readonly attribute MediaList media;
[SameObject, ImplementedAs=style_sheet_for_bindings] readonly attribute CSSStyleSheet styleSheet;
[SameObject, ImplementedAs=style_sheet_for_bindings] readonly attribute CSSStyleSheet? styleSheet;
[FIXME] readonly attribute CSSOMString? layerName;
[FIXME] readonly attribute CSSOMString? supportsText;
};