summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/visibility-hit-test.html
blob: 33dc275ba3d3bdd66450eeb0b7a1a0486f1f4af8 (plain)
1
2
3
4
5
6
<html>
<body style="margin:0px">
<a style="visibility:hidden"><img style="width:300px;height:300px;"></a>
<script>
document.write("The element at position (100, 100) should be the body.  Result: " + document.elementFromPoint(100, 100).tagName)
</script>