mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 19:45:12 +00:00
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:
parent
ef0613ea4c
commit
fabc717b39
Notes:
sideshowbarker
2024-07-19 11:47:57 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/fabc717b390
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue