mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:52:46 +00:00 
			
		
		
		
	LibWeb: Node::is_parent_node() should return true for DocumentFragments
This commit is contained in:
		
							parent
							
								
									faa3bf195a
								
							
						
					
					
						commit
						3ad1e7d6b7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -80,7 +80,7 @@ public: | |||
|     bool is_comment() const { return type() == NodeType::COMMENT_NODE; } | ||||
|     bool is_character_data() const { return type() == NodeType::TEXT_NODE || type() == NodeType::COMMENT_NODE; } | ||||
|     bool is_document_fragment() const { return type() == NodeType::DOCUMENT_FRAGMENT_NODE; } | ||||
|     bool is_parent_node() const { return is_element() || is_document(); } | ||||
|     bool is_parent_node() const { return is_element() || is_document() || is_document_fragment(); } | ||||
| 
 | ||||
|     virtual RefPtr<LayoutNode> create_layout_node(const StyleProperties* parent_style) const; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling