mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Add transform-style and have it make a stacking context
This commit is contained in:
parent
c80b698589
commit
e064fa19d2
Notes:
github-actions[bot]
2025-11-12 14:48:50 +00:00
Author: https://github.com/Psychpsyo
Commit: e064fa19d2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6793
Reviewed-by: https://github.com/gmta ✅
13 changed files with 89 additions and 3 deletions
|
|
@ -756,6 +756,12 @@ TransformOrigin ComputedProperties::transform_origin() const
|
|||
return { x_value, y_value, z_value };
|
||||
}
|
||||
|
||||
TransformStyle ComputedProperties::transform_style() const
|
||||
{
|
||||
auto const& value = property(PropertyID::TransformStyle);
|
||||
return keyword_to_transform_style(value.to_keyword()).release_value();
|
||||
}
|
||||
|
||||
Optional<Color> ComputedProperties::accent_color(Layout::NodeWithStyle const& node) const
|
||||
{
|
||||
auto const& value = property(PropertyID::AccentColor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue