OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <head> | 2 <head> |
3 <script type="text/javascript" src="resources/reveal-utilities.js"></script> | 3 <script type="text/javascript" src="resources/reveal-utilities.js"></script> |
4 </head> | 4 </head> |
5 <body> | 5 <body> |
6 <div>When the caret is scrolled out, on starting typing it must be brought to th
e center of the control.</div> | 6 <div>When the caret is scrolled out, on starting typing it must be brought to th
e center of the control.</div> |
7 <div style="overflow:auto; height:150px; width:300px"> | 7 <div style="overflow:auto; height:150px; width:300px"> |
8 <textarea name="textarea" id="textarea" rows="10" cols="10" | 8 <textarea name="textarea" id="textarea" rows="10" cols="10" |
9 style="-webkit-transform:translate(110px, 110px) scale(2); height:200px"></tex
tarea> | 9 style="-webkit-transform:translate(110px, 110px) scale(2); height:200px"></tex
tarea> |
10 <div style="height:1000px"></div> | 10 <div style="height:1000px"></div> |
(...skipping 10 matching lines...) Expand all Loading... |
21 // isn't even visible. | 21 // isn't even visible. |
22 document.body.innerHTML = textarea.parentNode.scrollTop < 600 ? "PASS" : "FA
IL"; | 22 document.body.innerHTML = textarea.parentNode.scrollTop < 600 ? "PASS" : "FA
IL"; |
23 } | 23 } |
24 | 24 |
25 if (window.testRunner) { | 25 if (window.testRunner) { |
26 testRunner.dumpAsText(); | 26 testRunner.dumpAsText(); |
27 } | 27 } |
28 | 28 |
29 </script> | 29 </script> |
30 </body> | 30 </body> |
OLD | NEW |