diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-10-06 11:48:53 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-10-06 11:48:53 +0200 |
commit | fabc717b39052aa74a68df01edae699839aeaa8b (patch) | |
tree | fcbe2654df20161f0868f9afdc3e629dae9fb0b1 /Libraries | |
parent | ef0613ea4c082c5843b8533c956cbab0b40931ab (diff) | |
download | serenity-fabc717b39052aa74a68df01edae699839aeaa8b.zip |
LibHTML: Make the text-decoration inheritance quirk actually work
Things work better if you spell things correctly, oops!
This fixes an issue in Help where parts of links were missing their
underline decoration.
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibHTML/CSS/StyleResolver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibHTML/CSS/StyleResolver.cpp b/Libraries/LibHTML/CSS/StyleResolver.cpp index c4dca04b65..6f7697ba65 100644 --- a/Libraries/LibHTML/CSS/StyleResolver.cpp +++ b/Libraries/LibHTML/CSS/StyleResolver.cpp @@ -106,7 +106,7 @@ bool StyleResolver::is_inherited_property(const StringView& name) // FIXME: This property is not supposed to be inherited, but we currently // rely on inheritance to propagate decorations into line boxes. - inherited_properties.set("text-decoraton"); + inherited_properties.set("text-decoration"); } return inherited_properties.contains(name); } |