mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Add support for table caption
Adds layout support and the CSS caption-side property.
This commit is contained in:
committed by
Andreas Kling
parent
656f72adc0
commit
940d9b98ae
Notes:
sideshowbarker
2024-07-17 02:39:10 +09:00
Author: https://github.com/axgallo Commit: https://github.com/SerenityOS/serenity/commit/940d9b98ae Pull-request: https://github.com/SerenityOS/serenity/pull/19295 Reviewed-by: https://github.com/awesomekling
@@ -523,6 +523,9 @@ ErrorOr<RefPtr<StyleValue const>> ResolvedCSSStyleDeclaration::style_value_for_p
|
||||
}
|
||||
case PropertyID::BoxSizing:
|
||||
return IdentifierStyleValue::create(to_value_id(layout_node.computed_values().box_sizing()));
|
||||
case PropertyID::CaptionSide: {
|
||||
return IdentifierStyleValue::create(to_value_id(layout_node.computed_values().caption_side()));
|
||||
}
|
||||
case PropertyID::Clear:
|
||||
return IdentifierStyleValue::create(to_value_id(layout_node.computed_values().clear()));
|
||||
case PropertyID::Clip:
|
||||
|
||||
Reference in New Issue
Block a user