mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
servoshell: Fix screen_geometry
for headed_window (#37934)
This function is used to compute `screenLeft`, `screenTop`, `screenY`,
`screenX`. Previously, it wrongly computes viewport position instead of
window position, which didn't match
f7c86c4393/components/shared/embedder/lib.rs (L717-L720)
Testing: More webdriver test would pass once #37893 is merged.
Fixes: the position part of #37824.
---------
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
parent
68ec88465e
commit
ec6ac0fced
3 changed files with 3 additions and 26 deletions
|
@ -26,18 +26,6 @@
|
|||
[test_negative_x_y]
|
||||
expected: FAIL
|
||||
|
||||
[test_set_to_screen_size]
|
||||
expected: FAIL
|
||||
|
||||
[test_width_height_floats]
|
||||
expected: FAIL
|
||||
|
||||
[test_height_as_current]
|
||||
expected: FAIL
|
||||
|
||||
[test_width_as_current]
|
||||
expected: FAIL
|
||||
|
||||
[test_no_change[rect12\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -55,9 +43,3 @@
|
|||
|
||||
[test_no_change[rect19\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_set_larger_than_screen_size]
|
||||
expected: FAIL
|
||||
|
||||
[test_height_width_as_current]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
[switch.py]
|
||||
expected: TIMEOUT
|
||||
[test_no_top_browsing_context]
|
||||
expected: FAIL
|
||||
|
||||
[test_finds_exising_user_prompt_after_tab_switch[alert\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue