mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:52:46 +00:00 
			
		
		
		
	LibWeb: Add the CSSStyleRule interface with some limited functionality
This commit is contained in:
		
							parent
							
								
									71087422f6
								
							
						
					
					
						commit
						6cda24097b
					
				
					 8 changed files with 84 additions and 1 deletions
				
			
		|  | @ -825,6 +825,8 @@ static bool should_emit_wrapper_factory(IDL::Interface const& interface) | |||
|         return false; | ||||
|     if (interface.name.ends_with("Element")) | ||||
|         return false; | ||||
|     if (interface.name.starts_with("CSS") && interface.name.ends_with("Rule")) | ||||
|         return false; | ||||
|     return true; | ||||
| } | ||||
| 
 | ||||
|  | @ -1492,6 +1494,7 @@ void generate_implementation(IDL::Interface const& interface) | |||
| #include <LibWeb/Bindings/@wrapper_class@.h> | ||||
| #include <LibWeb/Bindings/CSSRuleListWrapper.h> | ||||
| #include <LibWeb/Bindings/CSSRuleWrapper.h> | ||||
| #include <LibWeb/Bindings/CSSRuleWrapperFactory.h> | ||||
| #include <LibWeb/Bindings/CSSStyleSheetWrapper.h> | ||||
| #include <LibWeb/Bindings/CanvasRenderingContext2DWrapper.h> | ||||
| #include <LibWeb/Bindings/CommentWrapper.h> | ||||
|  | @ -2688,6 +2691,7 @@ void generate_prototype_implementation(IDL::Interface const& interface) | |||
| #include <LibWeb/Bindings/AbortSignalWrapper.h> | ||||
| #include <LibWeb/Bindings/CSSRuleListWrapper.h> | ||||
| #include <LibWeb/Bindings/CSSRuleWrapper.h> | ||||
| #include <LibWeb/Bindings/CSSRuleWrapperFactory.h> | ||||
| #include <LibWeb/Bindings/CSSStyleDeclarationWrapper.h> | ||||
| #include <LibWeb/Bindings/CSSStyleSheetWrapper.h> | ||||
| #include <LibWeb/Bindings/CanvasRenderingContext2DWrapper.h> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling