Hello!
 
Another teal
area 1 area 2 area 3

Summary

Harness status: OK

Found 11 tests

Details

ResultTest NameMessage
PassNegative co-ordinates
Asserts run
Pass
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)
Passco-ordinates larger than the viewport
Asserts run
Pass
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)
Passco-ordinates larger than the viewport from in iframe
Asserts run
Pass
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)
PassReturn first element that is the target for hit testing
Asserts run
Pass
assert_equals(Element node <div id="purple" class="size purple">&nbsp;</div>, Element node <div id="purple" class="size purple">&nbsp;</div>, "Should have returned the element with id `purple`")
    at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:108:15)
PassFirst element to get mouse events with pointer-events css
Asserts run
Pass
assert_equals(Element node <div id="yellow" class="size yellow">&nbsp;</div>, Element node <div id="yellow" class="size yellow">&nbsp;</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)
PassSVG element at x,y
Asserts run
Pass
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)
Passtransformed element at x,y
Asserts run
Pass
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)
Passno hit target at x,y
Asserts run
Pass
assert_equals(Element node <body>   <div id="purple" class="size purple">&nbsp;</div..., Element node <body>   <div id="purple" class="size purple">&nbsp;</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)
PassNo viewport available
Asserts run
Pass
assert_equals(null, null, "Should have returned the documentElement for the document")
    at Test.<anonymous> ( /css/cssom-view/elementFromPoint.html:163:13)
PassImage Maps
Asserts run
Pass
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)
PassFieldsets
Asserts run
Pass
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)