mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +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:
parent
5348c67ba4
commit
69aac6ecd7
6 changed files with 57 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue