mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibWeb: Implement the flex order CSS property
Adds support for the flex order property and a test page for it on the browser welcome page.
This commit is contained in:
committed by
Andreas Kling
parent
2377344a89
commit
58398b1e12
Notes:
sideshowbarker
2024-07-17 16:19:04 +09:00
Author: https://github.com/Enverbalalic Commit: https://github.com/SerenityOS/serenity/commit/58398b1e12 Pull-request: https://github.com/SerenityOS/serenity/pull/13385 Reviewed-by: https://github.com/AtkinsSJ
@@ -549,6 +549,8 @@ RefPtr<StyleValue> ResolvedCSSStyleDeclaration::style_value_for_property(Layout:
|
||||
return NumericStyleValue::create_float(layout_node.computed_values().flex_grow());
|
||||
case CSS::PropertyID::FlexShrink:
|
||||
return NumericStyleValue::create_float(layout_node.computed_values().flex_shrink());
|
||||
case CSS::PropertyID::Order:
|
||||
return NumericStyleValue::create_integer(layout_node.computed_values().order());
|
||||
case CSS::PropertyID::Opacity:
|
||||
return NumericStyleValue::create_float(layout_node.computed_values().opacity());
|
||||
case CSS::PropertyID::ImageRendering:
|
||||
|
||||
Reference in New Issue
Block a user