ladybird/Libraries/LibWeb/HTML/HTMLStyleElement.idl
Tim Ledbetter e1f6a170d5 LibWeb: Invalidate style when media content attribute changes
Previously, we would only invalidate style when setting the `media` IDL
attribute; changing the attribute via `setAttribute()` and
`removeAttribute()` had no immediate effect.
2025-03-22 17:03:56 +01:00

18 lines
533 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, Reflect] attribute DOMString media;
[FIXME, SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
// Obsolete
[Reflect] attribute DOMString type;
};
HTMLStyleElement includes LinkStyle;