Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../../resources/js-test.js"></script> | |
| 3 <style> | |
| 4 #a { | |
| 5 position: absolute; | |
| 6 background-color: #def; | |
| 7 left: 100px; | |
| 8 top: 100px; | |
| 9 width: 1000px; | |
| 10 height: 1000px; | |
| 11 } | |
| 12 </style> | |
| 13 Tests that the scrollbar can be clicked even when it clips absolute-positioned c ontent. | |
| 14 <div id="a"></div> | |
| 15 <script> | |
| 16 | |
| 17 eventSender.mouseMoveTo(790, 500); | |
| 18 eventSender.mouseDown(); | |
| 19 eventSender.mouseUp(); | |
| 20 | |
| 21 shouldBeTrue(String(scrollY > 0)); | |
| 22 | |
| 23 </script> | |
| OLD | NEW |