diff --git a/Libraries/LibWeb/HTML/HTMLTableElement.cpp b/Libraries/LibWeb/HTML/HTMLTableElement.cpp index 3ba08a495e..7346c4327c 100644 --- a/Libraries/LibWeb/HTML/HTMLTableElement.cpp +++ b/Libraries/LibWeb/HTML/HTMLTableElement.cpp @@ -46,6 +46,11 @@ void HTMLTableElement::apply_presentational_hints(CSS::StyleProperties& style) c style.set_property(CSS::PropertyID::Width, parsed_value.release_nonnull()); return; } + if (name == HTML::AttributeNames::height) { + if (auto parsed_value = parse_html_length(document(), value)) + style.set_property(CSS::PropertyID::Height, parsed_value.release_nonnull()); + return; + } if (name == HTML::AttributeNames::bgcolor) { auto color = Color::from_string(value); if (color.has_value())