mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17: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
|
@ -500,7 +500,6 @@ Optional<Length> CalculatedStyleValue::resolve_length(Layout::Node const& layout
|
|||
|
||||
Optional<LengthPercentage> CalculatedStyleValue::resolve_length_percentage(Layout::Node const& layout_node, Length const& percentage_basis) const
|
||||
{
|
||||
VERIFY(!percentage_basis.is_undefined());
|
||||
auto result = m_expression->resolve(&layout_node, percentage_basis);
|
||||
|
||||
return result.value().visit(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue