mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-16 13:09:41 +00:00
LibWeb: Use computed value of font-size in keyframes
Remaining test failures in font-size-interpolation-00* are either: - Rounding of font-size to CSSPixels when setting the expected value - Not clamping negative values from the point of view of getComputedStyle (used values are still clamped)
This commit is contained in:
parent
64d2f0d55a
commit
cfbe0244d4
Notes:
github-actions[bot]
2025-09-19 09:08:46 +00:00
Author: https://github.com/Calme1709
Commit: cfbe0244d4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6072
Reviewed-by: https://github.com/AtkinsSJ ✅
3 changed files with 38 additions and 14 deletions
|
@ -2101,8 +2101,7 @@ WillChange ComputedProperties::will_change() const
|
|||
|
||||
CSSPixels ComputedProperties::font_size() const
|
||||
{
|
||||
// FIXME: Respect animated font-size here once we store it in computed form
|
||||
return property(PropertyID::FontSize, WithAnimationsApplied::No).as_length().length().absolute_length_to_px();
|
||||
return property(PropertyID::FontSize).as_length().length().absolute_length_to_px();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue