mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:12:43 +00:00 
			
		
		
		
	LibWeb: Remove more hand-rolled type information :^)
Hoo boy, we've really accumulated a lot of this stuff.
This commit is contained in:
		
							parent
							
								
									d2613403e0
								
							
						
					
					
						commit
						3bb0cb2202
					
				
					 15 changed files with 5 additions and 40 deletions
				
			
		|  | @ -77,10 +77,6 @@ public: | |||
|     bool is_document_fragment() const { return type() == NodeType::DOCUMENT_FRAGMENT_NODE; } | ||||
|     bool is_parent_node() const { return is_element() || is_document() || is_document_fragment(); } | ||||
|     bool is_slottable() const { return is_element() || is_text(); } | ||||
|     virtual bool is_svg_element() const { return false; } | ||||
|     virtual bool is_shadow_root() const { return false; } | ||||
| 
 | ||||
|     virtual bool is_node() const final { return true; } | ||||
| 
 | ||||
|     virtual bool is_editable() const; | ||||
| 
 | ||||
|  | @ -103,9 +99,6 @@ public: | |||
| 
 | ||||
|     String child_text_content() const; | ||||
| 
 | ||||
|     virtual bool is_html_element() const { return false; } | ||||
|     virtual bool is_unknown_html_element() const { return false; } | ||||
| 
 | ||||
|     Node* root(); | ||||
|     const Node* root() const | ||||
|     { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling