chromium/third_party/blink/web_tests/fast/forms/text/input-appearance-elementFromPoint.html

<html>
<head>
<script>
function showElement(x, y) {
    if (window.testRunner)
        testRunner.dumpAsText();
        
    var result = document.getElementById('res');
    var myElement = document.elementFromPoint(x, y);
    if (myElement == document.getElementById('tf'))
        result.innerHTML = "Test Passed";
}
</script>
</head>
<body onload="showElement(15, 30)">
This tests that elementFromPoint will get the input element.
<input id="tf" style="-khtml-appearance: textfield; position: absolute; top: 25; left: 10;"></input>
<div id="res" style="position: absolute; top: 50; left: 10;">Test Failed</div>
</body>
</html>