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

Unified 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: grammar fix 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css/zoom-on-nested-scroll-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/zoom-on-nested-scroll-crash.html
diff --git a/LayoutTests/fast/css/zoom-on-nested-scroll-crash.html b/LayoutTests/fast/css/zoom-on-nested-scroll-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..1f6eb7fb6608a80e6b313151f136e0944ff4efea
--- /dev/null
+++ b/LayoutTests/fast/css/zoom-on-nested-scroll-crash.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<style>
+#elem {overflow: scroll;}
+#elem::-webkit-scrollbar {overflow: auto;}
+</style>
+<p>Test for <a href="http://crbug.com/291293">bug 291293</a>.</p>
+<p>Zooming in (ctrl++) should not crash.
+The test PASSES if it did not crash.</p>
+<div id="elem"></div>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+if (window.eventSender)
+ eventSender.zoomPageIn();
+document.getElementById('elem').style.setProperty('zoom', 2);
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/css/zoom-on-nested-scroll-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698