mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:32:45 +00:00 
			
		
		
		
	LibWeb: Rename LayoutNode::style() => specified_style()
Let's make way for a slightly-more-cooked style() that will eventually replace the raw specified_style() for layout and paint purposes.
This commit is contained in:
		
							parent
							
								
									90edaabc4b
								
							
						
					
					
						commit
						5e83a97fa2
					
				
					 17 changed files with 53 additions and 53 deletions
				
			
		|  | @ -181,7 +181,7 @@ void dump_tree(const LayoutNode& layout_node) | |||
|         String value; | ||||
|     }; | ||||
|     Vector<NameAndValue> properties; | ||||
|     layout_node.style().for_each_property([&](auto property_id, auto& value) { | ||||
|     layout_node.specified_style().for_each_property([&](auto property_id, auto& value) { | ||||
|         properties.append({ CSS::string_from_property_id(property_id), value.to_string() }); | ||||
|     }); | ||||
|     quick_sort(properties, [](auto& a, auto& b) { return a.name < b.name; }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling