mirror of
https://github.com/servo/servo.git
synced 2025-10-02 17:49:16 +01:00
Auto merge of #10034 - rilut:implement-elementsfrompoint, r=emilio
Implement Document#elementsFromPoint Fixes #9859. I'm trying to implement Document#elementsFromPoint, which I need to reuse the `get_nodes_under_mouse` and `mouse_over` function which have been removed a days ago in #9715. So I added it back while I'm not sure if my implementation is correct. Any advice will be greatly appreciated. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10034) <!-- Reviewable:end -->
This commit is contained in:
commit
241518a7d2
7 changed files with 88 additions and 0 deletions
|
@ -55,3 +55,5 @@ skip: true
|
|||
skip: false
|
||||
[WebIDL]
|
||||
skip: false
|
||||
[cssom-view]
|
||||
skip: false
|
||||
|
|
17
tests/wpt/metadata/cssom-view/elementsFromPoint.html.ini
Normal file
17
tests/wpt/metadata/cssom-view/elementsFromPoint.html.ini
Normal file
|
@ -0,0 +1,17 @@
|
|||
[elementsFromPoint.html]
|
||||
type: testharness
|
||||
[co-ordinates larger than the viewport from in iframe]
|
||||
expected: FAIL
|
||||
|
||||
[SVG element at x,y]
|
||||
expected: FAIL
|
||||
|
||||
[transformed element at x,y]
|
||||
expected: FAIL
|
||||
|
||||
[no hit target at x,y]
|
||||
expected: FAIL
|
||||
|
||||
[No viewport available]
|
||||
expected: FAIL
|
||||
|
5
tests/wpt/metadata/cssom-view/scrollingElement.html.ini
Normal file
5
tests/wpt/metadata/cssom-view/scrollingElement.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[scrollingElement.html]
|
||||
type: testharness
|
||||
[Tests for scrollingElement]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue