mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 21:30:58 +00:00 
			
		
		
		
	 848a250b29
			
		
	
	
		848a250b29
		
	
	
	
	
		
			
			See the linked spec issue for more details. The MediaList can be null internally, and this was upsetting GCC as it meant our bindings code was dereferencing a null pointer.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			643 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			643 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <CSS/CSSRule.idl>
 | |
| #import <CSS/CSSStyleSheet.idl>
 | |
| #import <CSS/MediaList.idl>
 | |
| 
 | |
| // https://drafts.csswg.org/cssom/#the-cssimportrule-interface
 | |
| [Exposed=Window]
 | |
| interface CSSImportRule : CSSRule {
 | |
|     readonly attribute USVString href;
 | |
|     // AD-HOC: media is null if styleSheet is null. Spec issue: https://github.com/w3c/csswg-drafts/issues/12063
 | |
|     [SameObject, PutForwards=mediaText] readonly attribute MediaList? media;
 | |
|     [SameObject, ImplementedAs=style_sheet_for_bindings] readonly attribute CSSStyleSheet? styleSheet;
 | |
|     [FIXME] readonly attribute CSSOMString? layerName;
 | |
|     readonly attribute CSSOMString? supportsText;
 | |
| };
 |