mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Don't use cached client_rect() when a reflow is needed (#31210)
Fixes #31195: ```js element.style.width = "5px"; element.clientWidth; // 5 element.style.width = "15px"; element.clientWidth; // Was 5, now 15 ```
This commit is contained in:
parent
742d3ed97f
commit
38d9245726
3 changed files with 8 additions and 30 deletions
|
@ -5,9 +5,6 @@
|
|||
[clientWidth, offsetWidth and scrollWidth round 5.9 to 6]
|
||||
expected: FAIL
|
||||
|
||||
[clientHeight, offsetHeight and scrollHeight round 5.1 to 5]
|
||||
expected: FAIL
|
||||
|
||||
[clientHeight, offsetHeight and scrollHeight round 5.5 to 6]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,19 +1,4 @@
|
|||
[subpixel-sizes-and-offsets.tentative.html]
|
||||
[clientWidth, offsetWidth and scrollWidth round 5.5 to 6]
|
||||
expected: FAIL
|
||||
|
||||
[clientWidth, offsetWidth and scrollWidth round 5.9 to 6]
|
||||
expected: FAIL
|
||||
|
||||
[clientHeight, offsetHeight and scrollHeight round 5.1 to 5]
|
||||
expected: FAIL
|
||||
|
||||
[clientHeight, offsetHeight and scrollHeight round 5.5 to 6]
|
||||
expected: FAIL
|
||||
|
||||
[clientHeight, offsetHeight and scrollHeight round 5.9 to 6]
|
||||
expected: FAIL
|
||||
|
||||
[clientLeft and clientTop don't round 44.9]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue