LibWeb: Implement CSS perspective-origin

This commit is contained in:
Psychpsyo 2025-11-12 21:47:17 +01:00 committed by Sam Atkins
parent 27e4793c5d
commit 2db3796fd3
Notes: github-actions[bot] 2025-11-21 11:15:32 +00:00
31 changed files with 547 additions and 42 deletions

View file

@ -698,8 +698,9 @@ void NodeWithStyle::apply_style(CSS::ComputedProperties const& computed_style)
computed_values.set_transformations(computed_style.transformations());
computed_values.set_transform_box(computed_style.transform_box());
computed_values.set_transform_origin(computed_style.transform_origin());
computed_values.set_perspective(computed_style.perspective());
computed_values.set_transform_style(computed_style.transform_style());
computed_values.set_perspective(computed_style.perspective());
computed_values.set_perspective_origin(computed_style.perspective_origin());
auto const& transition_delay_property = computed_style.property(CSS::PropertyID::TransitionDelay);
if (transition_delay_property.is_time()) {