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

Unified Diff: LayoutTests/fast/sub-pixel/nested-sub-pixel-composited-layers-expected.html

Issue 205213006: Fix pixel snapping of clipLayers and their descendants (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/fast/sub-pixel/nested-sub-pixel-composited-layers-expected.html
diff --git a/LayoutTests/fast/sub-pixel/nested-sub-pixel-composited-layers-expected.html b/LayoutTests/fast/sub-pixel/nested-sub-pixel-composited-layers-expected.html
index 9ea888c930f7fbecc0e369f60dd85141c18b7ebd..8b16b57f59d4c1de782669aad457c22d9a9b0f66 100644
--- a/LayoutTests/fast/sub-pixel/nested-sub-pixel-composited-layers-expected.html
+++ b/LayoutTests/fast/sub-pixel/nested-sub-pixel-composited-layers-expected.html
@@ -2,14 +2,17 @@
<html>
<head>
<style>
-#subPixelContainer {
+.subPixelContainer {
left: 10.5px;
width: 100px;
height: 100px;
position: relative;
-webkit-transform: translateZ(0);
}
-#ref {
+.overflowHidden {
+ overflow: hidden;
+}
+.ref {
position: absolute;
width: 50.5px;
right: 0px;
@@ -20,6 +23,9 @@
</head>
<body>
<div>This tests that sub-pixel offsets in nested composited layers are properly accumulated. You should see no red.</div>
-<div id="subPixelContainer">
- <div id="ref"></div>
+<div class="subPixelContainer">
+ <div class="ref"></div>
+</div>
+<div class="subPixelContainer overflowHidden">
+ <div class="ref"></div>
</div>

Powered by Google App Engine
This is Rietveld 408576698