diff options
Diffstat (limited to 'Libraries/LibWeb/HTML/HTMLTableElement.cpp')
-rw-r--r-- | Libraries/LibWeb/HTML/HTMLTableElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/HTML/HTMLTableElement.cpp b/Libraries/LibWeb/HTML/HTMLTableElement.cpp index 33cfa299f4..ddd7459537 100644 --- a/Libraries/LibWeb/HTML/HTMLTableElement.cpp +++ b/Libraries/LibWeb/HTML/HTMLTableElement.cpp @@ -38,7 +38,7 @@ HTMLTableElement::~HTMLTableElement() { } -void HTMLTableElement::apply_presentational_hints(StyleProperties& style) const +void HTMLTableElement::apply_presentational_hints(CSS::StyleProperties& style) const { for_each_attribute([&](auto& name, auto& value) { if (name == HTML::AttributeNames::width) { @@ -49,7 +49,7 @@ void HTMLTableElement::apply_presentational_hints(StyleProperties& style) const if (name == HTML::AttributeNames::bgcolor) { auto color = Color::from_string(value); if (color.has_value()) - style.set_property(CSS::PropertyID::BackgroundColor, ColorStyleValue::create(color.value())); + style.set_property(CSS::PropertyID::BackgroundColor, CSS::ColorStyleValue::create(color.value())); return; } }); |