mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-04 07:10:57 +00:00 
			
		
		
		
	CSSStyleValue is adjusted to allow for subclasses. Serialization for CSSKeywordValue is implemented differently than the spec says because of a spec bug: https://github.com/w3c/csswg-drafts/issues/12545
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			322 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			322 B
		
	
	
	
		
			Text
		
	
	
	
	
	
#import <CSS/CSSStyleValue.idl>
 | 
						|
 | 
						|
// https://drafts.css-houdini.org/css-typed-om-1/#csskeywordvalue
 | 
						|
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
 | 
						|
interface CSSKeywordValue : CSSStyleValue {
 | 
						|
    constructor(USVString value);
 | 
						|
    attribute USVString value;
 | 
						|
};
 | 
						|
 | 
						|
typedef (DOMString or CSSKeywordValue) CSSKeywordish;
 |