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:
parent
df416bb822
commit
7abb512a86
2 changed files with 19 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue