Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <style> | |
| 3 input { | |
| 4 position: absolute; | |
| 5 top: 0; | |
| 6 left: 30px; | |
| 7 height: 50px; | |
| 8 width: 200px; | |
| 9 } | |
| 10 </style> | |
| 11 <div>This change checks that the caret in the >input< below doesn't shift out of it after several layouts.</div> | |
| 12 <div>This test has passed if the caret is centered <b>inside</b> the >input&l t;</div> | |
| 13 <input id="input" type="text" autofocus> | |
| 14 <script> | |
| 15 input.focus(); | |
| 16 </script> | |
| OLD | NEW |