mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +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
Notes:
sideshowbarker
2024-07-17 20:24:20 +09:00
Author: https://github.com/TobyAsE
Commit: 69aac6ecd7
Pull-request: https://github.com/SerenityOS/serenity/pull/12027
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/alimpfard
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