mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:32:45 +00:00 
			
		
		
		
	LibWeb: Stop returning the left padding for resolved padding-bottom
I accidentally broke this 8 months ago and nobody noticed. 😅
			
			
This commit is contained in:
		
							parent
							
								
									ee0ae18386
								
							
						
					
					
						commit
						ba30f298f9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -473,9 +473,9 @@ RefPtr<StyleValue const> ResolvedCSSStyleDeclaration::style_value_for_property(L | ||||||
|         return StyleValueList::create(move(values), StyleValueList::Separator::Space); |         return StyleValueList::create(move(values), StyleValueList::Separator::Space); | ||||||
|     } |     } | ||||||
|     case CSS::PropertyID::PaddingBottom: |     case CSS::PropertyID::PaddingBottom: | ||||||
|  |         return style_value_for_length_percentage(layout_node.computed_values().padding().bottom()); | ||||||
|     case CSS::PropertyID::PaddingLeft: |     case CSS::PropertyID::PaddingLeft: | ||||||
|         return style_value_for_length_percentage(layout_node.computed_values().padding().left()); |         return style_value_for_length_percentage(layout_node.computed_values().padding().left()); | ||||||
|         return style_value_for_length_percentage(layout_node.computed_values().padding().bottom()); |  | ||||||
|     case CSS::PropertyID::PaddingRight: |     case CSS::PropertyID::PaddingRight: | ||||||
|         return style_value_for_length_percentage(layout_node.computed_values().padding().right()); |         return style_value_for_length_percentage(layout_node.computed_values().padding().right()); | ||||||
|     case CSS::PropertyID::PaddingTop: |     case CSS::PropertyID::PaddingTop: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Sam Atkins
						Sam Atkins