1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

LibWeb: Make PercentageOr<T>::contains_percentage() handle more cases

This commit is contained in:
Andreas Kling 2022-09-27 18:12:54 +02:00
parent df416bb822
commit 7abb512a86
2 changed files with 19 additions and 5 deletions

View file

@ -2272,4 +2272,9 @@ bool CalculatedStyleValue::CalcValue::contains_percentage() const
[](auto const&) { return false; });
}
bool calculated_style_value_contains_percentage(CalculatedStyleValue const& value)
{
return value.contains_percentage();
}
}