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

Unified Diff: LayoutTests/compositing/squashing/composited-bounds-for-negative-z.html

Issue 271863003: Layer squashing causes incorrect rendering while scrolling in Gmail (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Now with test Created 6 years, 7 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
Index: LayoutTests/compositing/squashing/composited-bounds-for-negative-z.html
diff --git a/LayoutTests/compositing/squashing/composited-bounds-for-negative-z.html b/LayoutTests/compositing/squashing/composited-bounds-for-negative-z.html
new file mode 100644
index 0000000000000000000000000000000000000000..ebf3c4b6578bca86e193e619e1b855e13cfb6031
--- /dev/null
+++ b/LayoutTests/compositing/squashing/composited-bounds-for-negative-z.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<div style="transform: translateZ(0);
+ height: 10px;
+ width: 10px;
+ position: absolute;
+ background-color: red;
+ z-index: -1"></div>
+<div style="margin-left: 100px;
+ margin-top: 100px;
+ height: 300px;
+ width: 300px;
+ overflow-y: scroll;">
+ <div style="position: relative">
+ <div style="position: relative;
+ height: 1000px;
+ background-color: lightblue">
+ </div>
+ </div>
+</div>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ internals.settings.setLayerSquashingEnabled(true);
+ testRunner.setCustomTextOutput(internals.layerTreeAsText(document));
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698