Hello!
 
Another teal

Summary

Harness status: OK

Found 9 tests

Details

ResultTest NameMessage
PassNegative co-ordinates
Asserts run
Pass
assert_array_equals([], [], "both co-ordinates passed in are negative so should have returned a []")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:54:15)
Pass
assert_array_equals([], [], "x co-ordinates passed in are negative so should have returned a []")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:56:15)
Pass
assert_array_equals([], [], "y co-ordinates passed in are negative so should have returned a []")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:58:15)
Passco-ordinates larger than the viewport
Asserts run
Pass
assert_array_equals([], [], "X co-ordinates larger than viewport so should have returned a []")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:65:15)
Pass
assert_array_equals([], [], "Y co-ordinates larger than viewport so should have returned a []")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:67:15)
Pass
assert_array_equals([], [], "X, Y co-ordinates larger than viewport so should have returned a []")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:69:15)
Passco-ordinates larger than the viewport from in iframe
Asserts run
Pass
assert_array_equals([], [], "X co-ordinates larger than viewport so should have returned a []")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:77:15)
Pass
assert_array_equals([], [], "Y co-ordinates larger than viewport so should have returned a []")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:79:15)
Pass
assert_array_equals([], [], "X, Y co-ordinates larger than viewport so should have returned a []")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:81:15)
PassReturn first element that is the target for hit testing
Asserts run
Pass
assert_array_equals([Element node <div id="purple" class="size purple">&nbsp;</div>, Element node <body>   <div id="purple" class="size purple">&nbsp;</div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], [Element node <div id="purple" class="size purple">&nbsp;</div>, Element node <body>   <div id="purple" class="size purple">&nbsp;</div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], "Should have returned a sequence with `[purple element, document.body, html]`")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:87:15)
PassFirst element to get mouse events with pointer-events css
Asserts run
Pass
assert_array_equals([Element node <div id="yellow" class="size yellow">&nbsp;</div>, Element node <body>   <div id="purple" class="size purple">&nbsp;</div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], [Element node <div id="yellow" class="size yellow">&nbsp;</div>, Element node <body>   <div id="purple" class="size purple">&nbsp;</div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], "Should have returned a sequence with `[yellow element, document.body, html]`")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:93:15)
PassSVG element at x,y
Asserts run
Pass
assert_array_equals([Element node <svg id="squiggle" xmlns="http://www.w3.org/2000/svg" hei..., Element node <body>   <div id="purple" class="size purple">&nbsp;</div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], [Element node <svg id="squiggle" xmlns="http://www.w3.org/2000/svg" hei..., Element node <body>   <div id="purple" class="size purple">&nbsp;</div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], "Should have returned a sequence with [svg, body, html]")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:101:14)
Passtransformed element at x,y
Asserts run
Pass
assert_array_equals([Element node <rect x="50" y="50" height="60" width="60" style="stroke:..., Element node <svg id="svg-transform" width="180" height="140" xmlns="h..., Element node <body>   <div id="purple" class="size purple">&nbsp;</div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], [Element node <rect x="50" y="50" height="60" width="60" style="stroke:..., Element node <svg id="svg-transform" width="180" height="140" xmlns="h..., Element node <body>   <div id="purple" class="size purple">&nbsp;</div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], "Should have returned [svg rect, svg, body, html]")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:110:15)
Pass
assert_array_equals([Element node <div id="pink" class="size pink" style="transform: transl..., Element node <body>   <div id="purple" class="size purple">&nbsp;</div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], [Element node <div id="pink" class="size pink" style="transform: transl..., Element node <body>   <div id="purple" class="size purple">&nbsp;</div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], "Should have returned a sequence with [pink, body, html]")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:117:15)
Passno hit target at x,y
Asserts run
Pass
assert_array_equals([Element node <body>   <div id="purple" class="size purple">&nbsp;</div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], [Element node <body>   <div id="purple" class="size purple">&nbsp;</div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], "Should have returned the sequence [body, html]")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:127:13)
Pass
assert_array_equals([Element node <html><head><style>   html, body { padding:9px; border:1p...], [Element node <html><head><style>   html, body { padding:9px; border:1p...], "Should have returned the sequence [html]")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:133:13)
Pass
assert_array_equals([], [], "Should have returned [] as no root element")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:138:13)
PassNo viewport available
Asserts run
Pass
assert_array_equals([], [], "Should have returned []")
    at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:145:13)