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

Unified Diff: LayoutTests/compositing/squashing/squash-onto-nephew-subpixel-3-expected.html

Issue 143283011: Make squashing work with subpixel layout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add ASSERT Created 6 years, 9 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/squash-onto-nephew-subpixel-3-expected.html
diff --git a/LayoutTests/compositing/squashing/squash-onto-nephew-subpixel-3-expected.html b/LayoutTests/compositing/squashing/squash-onto-nephew-subpixel-3-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..423953d75d8e47b909faf20d248bec81984567e7
--- /dev/null
+++ b/LayoutTests/compositing/squashing/squash-onto-nephew-subpixel-3-expected.html
@@ -0,0 +1,73 @@
+<!DOCTYPE html>
+<head>
+<style>
+.composited {
+-webkit-transform: translatez(0);
+}
+
+.box {
+ width: 100px;
+ height: 100px;
+}
+
+.behind {
+ position: absolute;
+ z-index: 1;
+ top: 100.5px;
+ left: 100px;
+ background-color: blue;
+}
+
+.middle {
+ position: absolute;
+ z-index: 1;
+ top: 15.5px;
+ left: 15px;
+ background-color: lime;
+}
+
+.middle2 {
+ position: absolute;
+ z-index: 1;
+ top: 130.5px;
+ left: 60px;
+ background-color: magenta;
+}
+
+.top {
+ position: absolute;
+ z-index: 1;
+ top: 70.5px;
+ left: 120px;
+ background-color: cyan;
+}
+
+.container {
+ position: absolute;
+ z-index: 1;
+ top: 25px;
+ left: 25px;
+ width: 300px;
+ height: 300px;
+ background-color: gray;
+}
+
+div:hover {
+ background-color: green;
+}
+
+</style>
+<script>
+ if (window.internals)
+ internals.settings.setLayerSquashingEnabled(false);
+
+</script>
+</head>
+<body>
+ <div class="container">
+ <div class="composited box behind"></div>
+ <div class="box middle"></div>
+ </div>
+<div class="box middle2"></div>
+<div class="box top"></div>
+</body>

Powered by Google App Engine
This is Rietveld 408576698