Pass | Negative co-ordinates | Asserts runPass | assert_equals(null, null, "both co-ordinates passed in are negative so should have returned a null")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:75:15) | Pass | assert_equals(null, null, "x co-ordinates passed in are negative so should have returned a null")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:77:15) | Pass | assert_equals(null, null, "y co-ordinates passed in are negative so should have returned a null")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:79:15) |
|
Pass | co-ordinates larger than the viewport | Asserts runPass | assert_equals(null, null, "X co-ordinates larger than viewport")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:86:15) | Pass | assert_equals(null, null, "Y co-ordinates larger than viewport")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:88:15) | Pass | assert_equals(null, null, "X, Y co-ordinates larger than viewport")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:90:15) |
|
Pass | co-ordinates larger than the viewport from in iframe | Asserts runPass | assert_equals(null, null, "X co-ordinates larger than viewport")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:98:15) | Pass | assert_equals(null, null, "Y co-ordinates larger than viewport")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:100:15) | Pass | assert_equals(null, null, "X, Y co-ordinates larger than viewport")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:102:15) |
|
Pass | Return first element that is the target for hit testing | Asserts runPass | assert_equals(Element node <div id="purple" class="size purple"> </div>, Element node <div id="purple" class="size purple"> </div>, "Should have returned the element with id `purple`")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:108:15) |
|
Pass | First element to get mouse events with pointer-events css | Asserts runPass | assert_equals(Element node <div id="yellow" class="size yellow"> </div>, Element node <div id="yellow" class="size yellow"> </div>, "Should have returned the element with id `yellow` as element with `teal` has `pointer-events:none`")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:113:15) |
|
Pass | SVG element at x,y | Asserts runPass | assert_equals(Element node <svg id="squiggle" xmlns="http://www.w3.org/2000/svg" hei..., Element node <svg id="squiggle" xmlns="http://www.w3.org/2000/svg" hei..., "Should have returned the line SVG")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:121:14) |
|
Pass | transformed element at x,y | Asserts runPass | assert_equals(Element node <rect x="50" y="50" height="60" width="60" style="stroke:..., Element node <rect x="50" y="50" height="60" width="60" style="stroke:..., "Should have returned SVG with Hello WPT! that has a transform")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:131:15) | Pass | assert_equals(Element node <div id="pink" class="size pink" style="transform: transl..., Element node <div id="pink" class="size pink" style="transform: transl..., "Should have returned pink element that has a transform")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:139:15) |
|
Pass | no hit target at x,y | Asserts runPass | assert_equals(Element node <body> <div id="purple" class="size purple"> </div..., Element node <body> <div id="purple" class="size purple"> </div..., "Should have returned the root as it has pointer-events:none")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:150:13) | Pass | assert_equals(null, null, "Should have returned null as no root element")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:157:13) |
|
Pass | No viewport available | Asserts runPass | assert_equals(null, null, "Should have returned the documentElement for the document")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:163:13) |
|
Pass | Image Maps | Asserts runPass | assert_equals(Element node <area id="rectG" shape="rect" coords="0,0,90,100" href="#..., Element node <area id="rectG" shape="rect" coords="0,0,90,100" href="#..., "Should have returned the area element")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:180:11) | Pass | assert_equals(Element node <img id="dinos" src="/images/blue-area.png" usemap="#dino..., Element node <img id="dinos" src="/images/blue-area.png" usemap="#dino..., "Should have returned the image element")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:184:11) |
|
Pass | Fieldsets | Asserts runPass | assert_equals(Element node <div id="fieldset-div" class="size" style="position: abso..., Element node <div id="fieldset-div" class="size" style="position: abso..., "The fieldset should not cover up the div it doesn't even overlap")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:193:11) | Pass | assert_not_equals(Element node <div style="position: absolute; width: 200px; height: 200..., Element node <fieldset id="fieldset" class="size" style="position: abs..., "The fieldset should not be hit by hit-tests outside its rounded border")
at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:201:11) |
|