| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../../resources/js-test.js"></script> |
| 2 <style> | 3 <style> |
| 3 input { | 4 input { |
| 4 height: 26px; | 5 height: 26px; |
| 5 line-height: 29px; | 6 line-height: 29px; |
| 6 padding: 0 5px; | 7 padding: 0 5px; |
| 7 border: none; | 8 border: none; |
| 8 border-bottom: 1px solid #888; | 9 border-bottom: 1px solid #888; |
| 9 outline: none; | 10 outline: none; |
| 10 } | 11 } |
| 11 </style> | 12 </style> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 25 shouldBe("rect0.top", "rect1.top"); | 26 shouldBe("rect0.top", "rect1.top"); |
| 26 shouldBe("rect0.height", "rect1.height"); | 27 shouldBe("rect0.height", "rect1.height"); |
| 27 | 28 |
| 28 finishJSTest(); | 29 finishJSTest(); |
| 29 } | 30 } |
| 30 | 31 |
| 31 inputs[1].focus(); | 32 inputs[1].focus(); |
| 32 // Forcing a layout in this frame makes the issue disappear. | 33 // Forcing a layout in this frame makes the issue disappear. |
| 33 window.requestAnimationFrame(checkInputs); | 34 window.requestAnimationFrame(checkInputs); |
| 34 </script> | 35 </script> |
| 35 <script src="../../resources/js-test.js"></script> | |
| OLD | NEW |