blob: c5f55c11b5c9481d233ea4ce0fb54246a142afcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xht="http://www.w3.org/1999/xhtml">
<script type="text/javascript">
if (window.testRunner)
{
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function runTest()
{
var elements = document.getElementsByTagNameNS('http://www.w3.org/1999/xhtml','html');
elements[0].textContent = "PASS";
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<xht:object>
<input autofocus="" onfocus="runTest();"/>
<xht:textarea></xht:textarea>
</xht:object>
</html>
|