1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 09:07:44 +00:00

LibWeb: Add new property 'text-decoration-style'

This patch makes the property 'text-decoration-style' known throughout
all the places in LibWeb that care.
This commit is contained in:
Tobias Christiansen 2022-01-20 20:27:55 +01:00 committed by Ali Mohammad Pur
parent 5348c67ba4
commit 69aac6ecd7
6 changed files with 57 additions and 0 deletions

View file

@ -404,6 +404,10 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& specified_style)
if (text_decoration_line.has_value())
computed_values.set_text_decoration_line(text_decoration_line.value());
auto text_decoration_style = specified_style.text_decoration_style();
if (text_decoration_style.has_value())
computed_values.set_text_decoration_style(text_decoration_style.value());
auto text_transform = specified_style.text_transform();
if (text_transform.has_value())
computed_values.set_text_transform(text_transform.value());