mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
LibHTML: Implement basic support for "text-decoration: underline"
This commit is contained in:
@@ -63,7 +63,7 @@ StyleProperties StyleResolver::resolve_style(const Element& element, const Style
|
||||
if (parent_properties) {
|
||||
parent_properties->for_each_property([&](const StringView& name, auto& value) {
|
||||
// TODO: proper inheritance
|
||||
if (name.starts_with("font") || name == "white-space" || name == "color")
|
||||
if (name.starts_with("font") || name == "white-space" || name == "color" || name == "text-decoration")
|
||||
style_properties.set_property(name, value);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user