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

Side by Side Diff: LayoutTests/compositing/repaint/fixed-pos-with-composited-child.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 3
4 <head> 4 <head>
5 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 5 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
6 <style> 6 <style>
7 7
8 .fixedContainer { 8 .fixedContainer {
9 position: fixed; 9 position: fixed;
10 overflow:hidden; 10 overflow:hidden;
11 background-color: #a0a0a0; 11 background-color: #a0a0a0;
12 bottom: 0px; 12 bottom: 0px;
13 left: 0px; 13 left: 0px;
14 width:400px; 14 width:400px;
15 height: 100px; 15 height: 100px;
16 } 16 }
17 17
18 #foo { 18 #foo {
19 width:200px; 19 width:200px;
20 height: 100px; 20 height: 100px;
21 background-color: #00a0a0; 21 background-color: #00a0a0;
22 -webkit-transform:translateZ(0); 22 transform:translateZ(0);
23 } 23 }
24 </style> 24 </style>
25 25
26 <script> 26 <script>
27 if (window.internals) { 27 if (window.internals) {
28 /* Note carefully, compositing for fixed position is _disabled_ here */ 28 /* Note carefully, compositing for fixed position is _disabled_ here */
29 internals.settings.setPreferCompositingToLCDTextEnabled(false); 29 internals.settings.setPreferCompositingToLCDTextEnabled(false);
30 } 30 }
31 31
32 function repaintTest() 32 function repaintTest()
(...skipping 20 matching lines...) Expand all
53 its own backing store. 53 its own backing store.
54 --> 54 -->
55 55
56 <!-- Scrolling should not cause either div to move around on the viewport. --> 56 <!-- Scrolling should not cause either div to move around on the viewport. -->
57 <div class="fixedContainer"> 57 <div class="fixedContainer">
58 <div id="foo"></div> 58 <div id="foo"></div>
59 </div> 59 </div>
60 </body> 60 </body>
61 61
62 </html> 62 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698