ladybird/Libraries/LibWeb/HTML/HTMLStyleElement.idl
Andreas Kling 6606eecce5 LibWeb: Invalidate style (and rule cache) on MediaList changes
This makes dynamic changes to a style sheet's media attribute actually
take effect immediately.
2025-03-04 19:07:40 +01:00

18 lines
524 B
Text

#import <CSS/CSSStyleSheet.idl>
#import <CSS/LinkStyle.idl>
#import <HTML/HTMLElement.idl>
// https://html.spec.whatwg.org/multipage/semantics.html#htmlstyleelement
[Exposed=Window]
interface HTMLStyleElement : HTMLElement {
[HTMLConstructor] constructor();
attribute boolean disabled;
[CEReactions] attribute DOMString media;
[FIXME, SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
// Obsolete
[Reflect] attribute DOMString type;
};
HTMLStyleElement includes LinkStyle;