mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
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:
committed by
Tim Ledbetter
parent
3b15c303f6
commit
af32413dec
Notes:
github-actions[bot]
2025-09-23 14:58:48 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/af32413dec9 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6281 Reviewed-by: https://github.com/tcl3 ✅
@@ -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%))'
|
||||
|
||||
Reference in New Issue
Block a user