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