Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / zoom-on-nested-scroll-crash.html
blob1f6eb7fb6608a80e6b313151f136e0944ff4efea
1 <!DOCTYPE html>
2 <style>
3 #elem {overflow: scroll;}
4 #elem::-webkit-scrollbar {overflow: auto;}
5 </style>
6 <p>Test for <a href="http://crbug.com/291293">bug 291293</a>.</p>
7 <p>Zooming in (ctrl++) should not crash.
8 The test PASSES if it did not crash.</p>
9 <div id="elem"></div>
10 <script>
11 if (window.testRunner)
12 testRunner.dumpAsText();
13 if (window.eventSender)
14 eventSender.zoomPageIn();
15 document.getElementById('elem').style.setProperty('zoom', 2);
16 </script>