mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 04:37:35 +00:00
LibWeb: Use IdentifierStyleValue for CSS 'text-transform'
This commit is contained in:
parent
4d7ce81835
commit
78a51933ad
7 changed files with 59 additions and 3 deletions
|
@ -243,6 +243,10 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& specified_style)
|
|||
if (text_decoration_line.has_value())
|
||||
style.set_text_decoration_line(text_decoration_line.value());
|
||||
|
||||
auto text_transform = specified_style.text_transform();
|
||||
if (text_transform.has_value())
|
||||
style.set_text_transform(text_transform.value());
|
||||
|
||||
style.set_z_index(specified_style.z_index());
|
||||
style.set_width(specified_style.length_or_fallback(CSS::PropertyID::Width, {}));
|
||||
style.set_min_width(specified_style.length_or_fallback(CSS::PropertyID::MinWidth, {}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue