mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:02:46 +00:00 
			
		
		
		
	LibWeb: Make DOM::Node::create_layout_node() not need parent's style
The StyleResolver can find the specified CSS values for the parent element via the DOM. Forcing everyone to locate specified values for their parent was completely unnecessary.
This commit is contained in:
		
							parent
							
								
									d9b2650dcc
								
							
						
					
					
						commit
						29a4da30b7
					
				
					 28 changed files with 40 additions and 39 deletions
				
			
		|  | @ -49,7 +49,7 @@ public: | |||
|     unsigned height() const; | ||||
| 
 | ||||
| private: | ||||
|     virtual RefPtr<Layout::Node> create_layout_node(const CSS::StyleProperties* parent_style) override; | ||||
|     virtual RefPtr<Layout::Node> create_layout_node() override; | ||||
| 
 | ||||
|     RefPtr<Gfx::Bitmap> m_bitmap; | ||||
|     RefPtr<CanvasRenderingContext2D> m_context; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling