| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <script src="../js/resources/js-test-pre.js"></script> | 5 <script src="../../resources/js-test.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <p id="description"></p> | 8 <p id="description"></p> |
| 9 <input id="text" readonly="readonly" value="2009-04-29"/><br/> | 9 <input id="text" readonly="readonly" value="2009-04-29"/><br/> |
| 10 <textarea id="area" readonly="readonly">2009-04-29</textarea></div> | 10 <textarea id="area" readonly="readonly">2009-04-29</textarea></div> |
| 11 <div id="console"></div> | 11 <div id="console"></div> |
| 12 <div> | 12 <div> |
| 13 <script type="text/javascript"> | 13 <script type="text/javascript"> |
| 14 description('Tests for selectionStart and selectionEnd on read-only INPUT and TE
XTAREA. <br/> <a href="https://bugs.webkit.org/show_bug.cgi?id=25444">bug 25444<
/a>: SelectionStart, selectionEnd properties return wrong values when the select
ion is in a form input.'); | 14 description('Tests for selectionStart and selectionEnd on read-only INPUT and TE
XTAREA. <br/> <a href="https://bugs.webkit.org/show_bug.cgi?id=25444">bug 25444<
/a>: SelectionStart, selectionEnd properties return wrong values when the select
ion is in a form input.'); |
| 15 | 15 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 37 startTest(element, offsets[i][0], offsets[i][1]); | 37 startTest(element, offsets[i][0], offsets[i][1]); |
| 38 } | 38 } |
| 39 | 39 |
| 40 testHandler(document.getElementById('text')); | 40 testHandler(document.getElementById('text')); |
| 41 testHandler(document.getElementById('area')); | 41 testHandler(document.getElementById('area')); |
| 42 | 42 |
| 43 </script> | 43 </script> |
| 44 </body> | 44 </body> |
| 45 </html> | 45 </html> |
| 46 | 46 |
| OLD | NEW |