mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Webdriver: Implement calculate the absolute position for Get Element Rect (#37847)
Implementing [calculate the absolute position](https://w3c.github.io/webdriver/#dfn-calculate-the-absolute-position) and make [Get Element Rect](https://w3c.github.io/webdriver/#get-element-rect) conforms the spec . Testing: Covered in webdriver WPT, especially for pointer test that needs to find the element rect. Signed-off-by: PotatoCP <kenzieradityatirtarahardja18@gmail.com>
This commit is contained in:
parent
13eeb29878
commit
a990ff82b9
5 changed files with 38 additions and 93 deletions
|
@ -1,6 +1,3 @@
|
|||
[get.py]
|
||||
[test_no_browsing_context]
|
||||
expected: FAIL
|
||||
|
||||
[test_basic]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,58 +1,4 @@
|
|||
[pointer_mouse_drag.py]
|
||||
[test_drag_and_drop[20-0-0\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[20-0-300\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[20-0-800\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[0-15-0\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[0-15-300\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[0-15-800\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[10-15-0\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[10-15-300\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[10-15-800\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[-20-0-0\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[-20-0-300\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[-20-0-800\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[10--15-0\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[10--15-300\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[10--15-800\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[-10--15-0\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[-10--15-300\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop[-10--15-800\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_drag_and_drop_with_draggable_element[0\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -5,8 +5,5 @@
|
|||
[test_element_center_point_with_offset]
|
||||
expected: FAIL
|
||||
|
||||
[test_element_in_view_center_point_partly_visible]
|
||||
expected: FAIL
|
||||
|
||||
[test_element_larger_than_viewport]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
[pointer_pause_dblclick.py]
|
||||
[test_dblclick_with_pause_after_second_pointerdown]
|
||||
expected: FAIL
|
||||
|
||||
[test_no_dblclick]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue