mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
LibWeb: Add "object-fit" CSS property into ComputedValues
This commit is contained in:
parent
22da83c295
commit
677a00ed92
Notes:
sideshowbarker
2024-07-17 08:45:34 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 677a00ed92
Pull-request: https://github.com/SerenityOS/serenity/pull/23349
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/trflynn89
3 changed files with 7 additions and 7 deletions
|
@ -830,6 +830,9 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& computed_style)
|
|||
computed_values.set_math_depth(computed_style.math_depth());
|
||||
computed_values.set_quotes(computed_style.quotes());
|
||||
|
||||
if (auto object_fit = computed_style.object_fit(); object_fit.has_value())
|
||||
computed_values.set_object_fit(object_fit.value());
|
||||
|
||||
propagate_style_to_anonymous_wrappers();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue