LibWeb/CSS: Add the text-rendering property

This commit is contained in:
Tim Ledbetter 2025-06-27 07:03:05 +01:00 committed by Sam Atkins
commit 68035a2b8d
Notes: github-actions[bot] 2025-06-27 15:53:08 +00:00
19 changed files with 106 additions and 10 deletions

View file

@ -651,6 +651,7 @@ void NodeWithStyle::apply_style(CSS::ComputedProperties const& computed_style)
computed_values.set_text_align(computed_style.text_align());
computed_values.set_text_justify(computed_style.text_justify());
computed_values.set_text_overflow(computed_style.text_overflow());
computed_values.set_text_rendering(computed_style.text_rendering());
if (auto text_indent = computed_style.length_percentage(CSS::PropertyID::TextIndent); text_indent.has_value())
computed_values.set_text_indent(text_indent.release_value());