LibWeb: Store line-height in ComputedProperties in computed form

We now fail a few more tests in properties-value-inherit-001.txt as we
no longer overwrite the non-animated value of `line-height` with the
animated value, this is in line with other major browsers.
This commit is contained in:
Callum Law
2025-09-23 20:53:07 +12:00
committed by Tim Ledbetter
parent 3b15c303f6
commit af32413dec
Notes: github-actions[bot] 2025-09-23 14:58:48 +00:00
7 changed files with 255 additions and 236 deletions

View File

@@ -2,8 +2,8 @@ Harness status: OK
Found 13 tests
9 Pass
4 Fail
10 Pass
3 Fail
Pass Property line-height value 'normal'
Pass Property line-height value '0'
Pass Property line-height value '2'
@@ -12,7 +12,7 @@ Pass Property line-height value '10px'
Pass Property line-height value '0%'
Pass Property line-height value '200%'
Pass Property line-height value 'calc(200% + 10px)'
Fail Property line-height value 'calc(10px - 0.5em)'
Pass Property line-height value 'calc(10px - 0.5em)'
Pass Property line-height value 'calc(10px + 0.5em)'
Fail Property line-height value 'calc(10 + (sign(2cqw - 10px) * 5))'
Fail Property line-height value 'calc(10% + (sign(2cqw - 10px) * 5%))'