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

Side by Side Diff: LayoutTests/fast/layers/geometry-map-transform-state-translation-mismatch.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 <style> 3 <style>
4 .wrapper { 4 .wrapper {
5 width: 200px; 5 width: 200px;
6 margin-left: 101.7px; 6 margin-left: 101.7px;
7 } 7 }
8 8
9 .content { 9 .content {
10 background: rgba(255, 0, 0, 0.2); 10 background: rgba(255, 0, 0, 0.2);
11 -webkit-transform: translateZ(0); 11 transform: translateZ(0);
12 width: 100px; 12 width: 100px;
13 } 13 }
14 14
15 .inner { 15 .inner {
16 background: rgba(0, 0, 255, 0.2); 16 background: rgba(0, 0, 255, 0.2);
17 position: relative; 17 position: relative;
18 left: -6.25px; 18 left: -6.25px;
19 } 19 }
20 </style> 20 </style>
21 <script> 21 <script>
22 if (window.testRunner) 22 if (window.testRunner)
23 testRunner.dumpAsText(); 23 testRunner.dumpAsText();
24 </script> 24 </script>
25 <body> 25 <body>
26 <div id="description">This tests that RenderGeometryMap and TransformState both avoid pixel snapping prior to applying translation-only transforms. 26 <div id="description">This tests that RenderGeometryMap and TransformState both avoid pixel snapping prior to applying translation-only transforms.
27 The test passes if it doesn't assert on Debug.</div> 27 The test passes if it doesn't assert on Debug.</div>
28 <div class="wrapper"> 28 <div class="wrapper">
29 <div class="content"> 29 <div class="content">
30 <div class="inner"></div> 30 <div class="inner"></div>
31 </div> 31 </div>
32 </div> 32 </div>
33 </body> 33 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698