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

Side by Side Diff: LayoutTests/fast/sub-pixel/nested-sub-pixel-composited-layers.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 unified diff | Download patch
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 transform: translateZ(0);
11 } 11 }
12 .subPixelContainer > div { 12 .subPixelContainer > div {
13 position: absolute; 13 position: absolute;
14 width: 50.5px; 14 width: 50.5px;
15 right: 0px; 15 right: 0px;
16 height: 50px; 16 height: 50px;
17 } 17 }
18 .overflowHidden { 18 .overflowHidden {
19 overflow: hidden; 19 overflow: hidden;
20 } 20 }
21 .test { 21 .test {
22 -webkit-transform: translateZ(0); 22 transform: translateZ(0);
23 background-color: green; 23 background-color: green;
24 } 24 }
25 .ref { 25 .ref {
26 background-color: red; 26 background-color: red;
27 } 27 }
28 </style> 28 </style>
29 </head> 29 </head>
30 <body> 30 <body>
31 <div>This tests that sub-pixel offsets in nested composited layers are properly accumulated. You should see no red.</div> 31 <div>This tests that sub-pixel offsets in nested composited layers are properly accumulated. You should see no red.</div>
32 <div class="subPixelContainer"> 32 <div class="subPixelContainer">
33 <div class="ref"></div> 33 <div class="ref"></div>
34 <div class="test"></div> 34 <div class="test"></div>
35 </div> 35 </div>
36 <div class="subPixelContainer overflowHidden"> 36 <div class="subPixelContainer overflowHidden">
37 <div class="ref"></div> 37 <div class="ref"></div>
38 <div class="test"></div> 38 <div class="test"></div>
39 </div> 39 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698