mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
LibWeb: Remove Length::Type::Undefined! :^)
This commit is contained in:
parent
b715943035
commit
356d8bcfe8
8 changed files with 13 additions and 20 deletions
|
@ -131,7 +131,7 @@ float StyleProperties::line_height(Layout::Node const& layout_node) const
|
|||
|
||||
if (line_height->is_length()) {
|
||||
auto line_height_length = line_height->to_length();
|
||||
if (!line_height_length.is_undefined_or_auto())
|
||||
if (!line_height_length.is_auto())
|
||||
return line_height_length.to_px(layout_node);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue