Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <div id="container" style="position: relative; overflow: hidden; width: 200px; h eight: 100px"> | |
| 3 <div style="width: 400px; height: 2px"></div> | |
| 4 <input style="position: relative; top: 0; left: 0" id="input"> | |
| 5 </div> | |
| 6 <script src="../../resources/run-after-layout-and-paint.js"></script> | |
| 7 <script> | |
| 8 onload = function() { | |
| 9 input.focus(); | |
| 10 runAfterLayoutAndPaint(function() { | |
| 11 container.scrollLeft = 56; | |
|
chrishtr
2017/03/08 17:36:06
Does this layout test exercise the code about isIm
Xianzhu
2017/03/08 19:38:22
Yes. Line 11 and 12 creates a situation that the i
| |
| 12 input.style.left = '56px'; | |
| 13 }, true); | |
| 14 }; | |
| 15 </script> | |
| OLD | NEW |