mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:22:44 +00:00 
			
		
		
		
	LibWeb: Split GridTrackPlacementStyleValue out of StyleValue.{h,cpp}
This commit is contained in:
		
							parent
							
								
									402845fe00
								
							
						
					
					
						commit
						486ef3df7f
					
				
					 11 changed files with 69 additions and 29 deletions
				
			
		|  | @ -28,6 +28,7 @@ | |||
| #include <LibWeb/CSS/StyleValues/GridAreaShorthandStyleValue.h> | ||||
| #include <LibWeb/CSS/StyleValues/GridTemplateAreaStyleValue.h> | ||||
| #include <LibWeb/CSS/StyleValues/GridTrackPlacementShorthandStyleValue.h> | ||||
| #include <LibWeb/CSS/StyleValues/GridTrackPlacementStyleValue.h> | ||||
| #include <LibWeb/DOM/Document.h> | ||||
| #include <LibWeb/HTML/BrowsingContext.h> | ||||
| #include <LibWeb/Loader/LoadRequest.h> | ||||
|  | @ -1030,11 +1031,6 @@ CalculatedStyleValue::CalculationResult CalculatedStyleValue::CalcNumberSumPartW | |||
|     return value->resolve(layout_node, percentage_basis); | ||||
| } | ||||
| 
 | ||||
| ErrorOr<String> GridTrackPlacementStyleValue::to_string() const | ||||
| { | ||||
|     return m_grid_track_placement.to_string(); | ||||
| } | ||||
| 
 | ||||
| ErrorOr<String> GridTrackSizeStyleValue::to_string() const | ||||
| { | ||||
|     return m_grid_track_size_list.to_string(); | ||||
|  | @ -1924,10 +1920,6 @@ ErrorOr<String> StyleValueList::to_string() const | |||
|     return builder.to_string(); | ||||
| } | ||||
| 
 | ||||
| ValueComparingNonnullRefPtr<GridTrackPlacementStyleValue> GridTrackPlacementStyleValue::create(CSS::GridTrackPlacement grid_track_placement) | ||||
| { | ||||
|     return adopt_ref(*new GridTrackPlacementStyleValue(grid_track_placement)); | ||||
| } | ||||
| 
 | ||||
| ValueComparingNonnullRefPtr<GridTrackSizeStyleValue> GridTrackSizeStyleValue::create(CSS::GridTrackSizeList grid_track_size_list) | ||||
| { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Sam Atkins
						Sam Atkins