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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 #subPixelContainer { 5 .subPixelContainer {
6 left: 10.5px; 6 left: 10.5px;
7 width: 100px; 7 width: 100px;
8 height: 100px; 8 height: 100px;
9 position: relative; 9 position: relative;
10 -webkit-transform: translateZ(0); 10 -webkit-transform: translateZ(0);
11 } 11 }
12 #ref { 12 .overflowHidden {
13 overflow: hidden;
14 }
15 .ref {
13 position: absolute; 16 position: absolute;
14 width: 50.5px; 17 width: 50.5px;
15 right: 0px; 18 right: 0px;
16 height: 50px; 19 height: 50px;
17 background-color: green; 20 background-color: green;
18 } 21 }
19 </style> 22 </style>
20 </head> 23 </head>
21 <body> 24 <body>
22 <div>This tests that sub-pixel offsets in nested composited layers are properly accumulated. You should see no red.</div> 25 <div>This tests that sub-pixel offsets in nested composited layers are properly accumulated. You should see no red.</div>
23 <div id="subPixelContainer"> 26 <div class="subPixelContainer">
24 <div id="ref"></div> 27 <div class="ref"></div>
25 </div> 28 </div>
29 <div class="subPixelContainer overflowHidden">
30 <div class="ref"></div>
31 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698