Pass | Negative co-ordinates | Asserts runPass | 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) |
|
Pass | co-ordinates larger than the viewport | Asserts runPass | 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) |
|
Pass | co-ordinates larger than the viewport from in iframe | Asserts runPass | 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) |
|
Pass | Return first element that is the target for hit testing | Asserts runPass | assert_array_equals([Element node <div id="purple" class="size purple"> </div>, Element node <body> <div id="purple" class="size purple"> </div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], [Element node <div id="purple" class="size purple"> </div>, Element node <body> <div id="purple" class="size purple"> </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) |
|
Pass | First element to get mouse events with pointer-events css | Asserts runPass | assert_array_equals([Element node <div id="yellow" class="size yellow"> </div>, Element node <body> <div id="purple" class="size purple"> </div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], [Element node <div id="yellow" class="size yellow"> </div>, Element node <body> <div id="purple" class="size purple"> </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) |
|
Pass | SVG element at x,y | Asserts runPass | 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"> </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"> </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) |
|
Pass | transformed element at x,y | Asserts runPass | 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"> </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"> </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"> </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"> </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) |
|
Pass | no hit target at x,y | Asserts runPass | assert_array_equals([Element node <body> <div id="purple" class="size purple"> </div..., Element node <html><head><title>cssom-view - elementsFromPoint</title>...], [Element node <body> <div id="purple" class="size purple"> </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) |
|
Pass | No viewport available | Asserts runPass | assert_array_equals([], [], "Should have returned []")
at Test.<anonymous> ( /css/cssom-view/elementsFromPoint.html:145:13) |
|