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

Unified Diff: LayoutTests/compositing/overflow/do-not-assert-on-invisible-composited-layers.html

Issue 27104002: Fix ASSERT failure in RenderGeometryMap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: +test Created 7 years, 2 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/compositing/overflow/do-not-assert-on-invisible-composited-layers-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/compositing/overflow/do-not-assert-on-invisible-composited-layers.html
diff --git a/LayoutTests/compositing/overflow/do-not-assert-on-invisible-composited-layers.html b/LayoutTests/compositing/overflow/do-not-assert-on-invisible-composited-layers.html
new file mode 100644
index 0000000000000000000000000000000000000000..f70486196f0333f7b706521eb100254f85288ee1
--- /dev/null
+++ b/LayoutTests/compositing/overflow/do-not-assert-on-invisible-composited-layers.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ if (window.internals)
+ window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true);
+
+ function runTests() {
+ var scrollParent = document.getElementById('scrollParent');
+
+ // Scroll the parent.
+ scrollParent.scrollTop = 250;
+
+ // Force a re-computeCompositingRequirements.
+ scrollParent.style.webkitTransform = '';
+ }
+
+ window.addEventListener('load', runTests, false);
+ </script>
+</head>
+<body>
+ <div id='scrollParent' style='-webkit-transform: translateZ(0); overflow:scroll; height: 250px; width: 250px;'>
+ <div style='overflow:scroll; height: 500px; width: 500px; visibility: hidden'>
+ </div>
+ </div>
+ <pre id="result">PASS - didn't crash.</pre>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/compositing/overflow/do-not-assert-on-invisible-composited-layers-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698