Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Side by Side Diff: LayoutTests/fast/css/zoom-on-nested-scroll-crash.html

Issue 23526081: Add NULL check for renderBox::layer() on applying zoom level change (Closed) Base URL:
Patch Set: +test Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
1 <!DOCTYPE html>
2 <style>
3 #elem {overflow: scroll;}
4 #elem::-webkit-scrollbar {overflow: auto;}
5 </style>
6 <p>Test for <a href="">bug 291293</a>.</p>
7 <p>Zooming in (ctrl++) should not crash.
8 The test is PASSED 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>

Powered by Google App Engine
This is Rietveld 408576698