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.
This commit is contained in:
Andreas Kling 2019-10-06 11:48:53 +02:00
parent ef0613ea4c
commit fabc717b39
Notes: sideshowbarker 2024-07-19 11:47:57 +09:00

View file

@ -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);
}