Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

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: https://chromium.googlesource.com/chromium/blink.git@master
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
OLDNEW
(Empty)
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 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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698