mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 07:32:44 +00:00 
			
		
		
		
	LibWeb: Rename LayoutNode::node() => LayoutNode::dom_node()
This commit is contained in:
		
							parent
							
								
									85859544fa
								
							
						
					
					
						commit
						f358f2255f
					
				
					 30 changed files with 92 additions and 92 deletions
				
			
		|  | @ -89,18 +89,18 @@ void dump_tree(const LayoutNode& layout_node) | |||
|     FlyString tag_name; | ||||
|     if (layout_node.is_anonymous()) | ||||
|         tag_name = "(anonymous)"; | ||||
|     else if (is<DOM::Text>(layout_node.node())) | ||||
|     else if (is<DOM::Text>(layout_node.dom_node())) | ||||
|         tag_name = "#text"; | ||||
|     else if (is<DOM::Document>(layout_node.node())) | ||||
|     else if (is<DOM::Document>(layout_node.dom_node())) | ||||
|         tag_name = "#document"; | ||||
|     else if (is<DOM::Element>(layout_node.node())) | ||||
|         tag_name = downcast<DOM::Element>(*layout_node.node()).local_name(); | ||||
|     else if (is<DOM::Element>(layout_node.dom_node())) | ||||
|         tag_name = downcast<DOM::Element>(*layout_node.dom_node()).local_name(); | ||||
|     else | ||||
|         tag_name = "???"; | ||||
| 
 | ||||
|     String identifier = ""; | ||||
|     if (layout_node.node() && is<DOM::Element>(*layout_node.node())) { | ||||
|         auto& element = downcast<DOM::Element>(*layout_node.node()); | ||||
|     if (layout_node.dom_node() && is<DOM::Element>(*layout_node.dom_node())) { | ||||
|         auto& element = downcast<DOM::Element>(*layout_node.dom_node()); | ||||
|         StringBuilder builder; | ||||
|         auto id = element.attribute(HTML::AttributeNames::id); | ||||
|         if (!id.is_empty()) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling