mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
LibWeb: Correctly round non-integer z-indexes
Previously we would just cast to an int. Gains us 3 WPT tests.
This commit is contained in:
committed by
Tim Ledbetter
parent
9a5b740da1
commit
15cee5cc15
Notes:
github-actions[bot]
2025-08-05 05:39:02 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/15cee5cc15d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5713 Reviewed-by: https://github.com/tcl3 ✅
@@ -0,0 +1,11 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 6 tests
|
||||
|
||||
6 Pass
|
||||
Pass testing z-index: calc(2.5 / 2)
|
||||
Pass testing z-index: calc(3 / 2)
|
||||
Pass testing z-index: calc(3.5 / 2)
|
||||
Pass testing z-index: calc(-2.5 / 2)
|
||||
Pass testing z-index: calc(-3 / 2)
|
||||
Pass testing z-index: calc(-3.5 / 2)
|
||||
Reference in New Issue
Block a user