mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-03 23:00:58 +00:00 
			
		
		
		
	Previously, we would only invalidate style when setting the `media` IDL attribute; changing the attribute via `setAttribute()` and `removeAttribute()` had no immediate effect.
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			533 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			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;
 |