mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-20 06:59:47 +00:00
LibWeb: Parse the shape-rendering
property
This commit is contained in:
parent
d94b33e205
commit
1d745884be
Notes:
github-actions[bot]
2025-08-19 08:48:57 +00:00
Author: https://github.com/tcl3
Commit: 1d745884be
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5899
Reviewed-by: https://github.com/AtkinsSJ ✅
20 changed files with 110 additions and 13 deletions
|
@ -913,6 +913,7 @@ void NodeWithStyle::apply_style(CSS::ComputedProperties const& computed_style)
|
|||
computed_values.set_stroke_width(stroke_width.as_length().length());
|
||||
else if (stroke_width.is_percentage())
|
||||
computed_values.set_stroke_width(CSS::LengthPercentage { stroke_width.as_percentage().percentage() });
|
||||
computed_values.set_shape_rendering(computed_style.shape_rendering());
|
||||
|
||||
auto const& mask_image = computed_style.property(CSS::PropertyID::MaskImage);
|
||||
if (mask_image.is_url()) {
|
||||
|
@ -1035,6 +1036,7 @@ void NodeWithStyle::apply_style(CSS::ComputedProperties const& computed_style)
|
|||
computed_values.set_mix_blend_mode(computed_style.mix_blend_mode());
|
||||
computed_values.set_view_transition_name(computed_style.view_transition_name());
|
||||
computed_values.set_contain(computed_style.contain());
|
||||
computed_values.set_shape_rendering(computed_values.shape_rendering());
|
||||
computed_values.set_will_change(computed_style.will_change());
|
||||
|
||||
computed_values.set_caret_color(computed_style.caret_color(*this));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue