mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:22:45 +00:00 
			
		
		
		
	LibWeb: Move min-width and max-width into LayoutStyle
This commit is contained in:
		
							parent
							
								
									ecacab8618
								
							
						
					
					
						commit
						ec466c0385
					
				
					 3 changed files with 20 additions and 13 deletions
				
			
		|  | @ -227,6 +227,8 @@ void LayoutNodeWithStyle::apply_style(const StyleProperties& specified_style) | |||
|     style.set_text_align(specified_style.text_align()); | ||||
|     style.set_z_index(specified_style.z_index()); | ||||
|     style.set_width(specified_style.length_or_fallback(CSS::PropertyID::Width, {})); | ||||
|     style.set_min_width(specified_style.length_or_fallback(CSS::PropertyID::MinWidth, {})); | ||||
|     style.set_max_width(specified_style.length_or_fallback(CSS::PropertyID::MaxWidth, {})); | ||||
| } | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling