Implement Document#elementFromPoint

This commit is contained in:
Rizky Luthfianto 2016-03-01 02:23:07 +07:00
parent 3701edbf2b
commit 76678bbdae
9 changed files with 60 additions and 88 deletions

View file

@ -1,5 +1,4 @@
[CaretPosition-001.htm]
type: testharness
[getBox]
expected: FAIL
disabled: https://github.com/servo/servo/issues/9805

View file

@ -1,3 +1,5 @@
[elementFromPoint-001.htm]
type: testharness
expected: TIMEOUT
[CSSOM View - 5 - extensions to the Document interface]
expected: FAIL

View file

@ -1,11 +1,5 @@
[elementFromPosition.htm]
type: testharness
[document.elementFromPoint]
expected: FAIL
[document.elementFromPoint is a Function]
expected: FAIL
[test some point of the element: top left corner]
expected: FAIL
@ -33,18 +27,3 @@
[test some point of the element: botom right corner]
expected: FAIL
[Point (0, 0), return root element(HTML)]
expected: FAIL
[ test negative x ]
expected: FAIL
[ test nagetive y ]
expected: FAIL
[test outside of viewport]
expected: FAIL
[test the top of layer]
expected: FAIL