From fabc717b39052aa74a68df01edae699839aeaa8b Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 6 Oct 2019 11:48:53 +0200 Subject: 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. --- Libraries/LibHTML/CSS/StyleResolver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Libraries/LibHTML/CSS') 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); } -- cgit v1.2.3