mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Tests: Import line-height WPT tests
Done in a distinct commit to show progress in later commits
This commit is contained in:
committed by
Tim Ledbetter
parent
e8ad657589
commit
a5139733cc
Notes:
github-actions[bot]
2025-09-23 14:59:02 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/a5139733cce Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6281 Reviewed-by: https://github.com/tcl3 ✅
@@ -0,0 +1,19 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 13 tests
|
||||
|
||||
9 Pass
|
||||
4 Fail
|
||||
Pass Property line-height value 'normal'
|
||||
Pass Property line-height value '0'
|
||||
Pass Property line-height value '2'
|
||||
Pass Property line-height value '0px'
|
||||
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)'
|
||||
Fail Property line-height value 'calc(10 + (sign(2cqw - 10px) * 5))'
|
||||
Fail Property line-height value 'calc(10% + (sign(2cqw - 10px) * 5%))'
|
||||
Fail Property line-height value 'calc(10px + (sign(2cqw - 10px) * 5px))'
|
||||
@@ -0,0 +1,13 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 8 tests
|
||||
|
||||
8 Pass
|
||||
Pass e.style['line-height'] = "auto" should not set the property value
|
||||
Pass e.style['line-height'] = "-2" should not set the property value
|
||||
Pass e.style['line-height'] = "-10px" should not set the property value
|
||||
Pass e.style['line-height'] = "-200%" should not set the property value
|
||||
Pass e.style['line-height'] = "2 10px" should not set the property value
|
||||
Pass e.style['line-height'] = "200% 3" should not set the property value
|
||||
Pass e.style['line-height'] = "auto 10px" should not set the property value
|
||||
Pass e.style['line-height'] = "3 auto" should not set the property value
|
||||
@@ -0,0 +1,13 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 8 tests
|
||||
|
||||
8 Pass
|
||||
Pass e.style['line-height'] = "normal" should set the property value
|
||||
Pass e.style['line-height'] = "0" should set the property value
|
||||
Pass e.style['line-height'] = "2" should set the property value
|
||||
Pass e.style['line-height'] = "0px" should set the property value
|
||||
Pass e.style['line-height'] = "10px" should set the property value
|
||||
Pass e.style['line-height'] = "0%" should set the property value
|
||||
Pass e.style['line-height'] = "200%" should set the property value
|
||||
Pass e.style['line-height'] = "calc(200% + 10px)" should set the property value
|
||||
Reference in New Issue
Block a user