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

Side by Side Diff: LayoutTests/compositing/squashing/overflow-scroll-grandchildren.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 <style> 2 <style>
3 #container { 3 #container {
4 width: 300px; 4 width: 300px;
5 height: 300px; 5 height: 300px;
6 border: 1px solid black; 6 border: 1px solid black;
7 overflow: scroll; 7 overflow: scroll;
8 } 8 }
9 9
10 #overlapper { 10 #overlapper {
11 position: fixed; 11 position: fixed;
12 background-color: red; 12 background-color: red;
13 width: 50px; 13 width: 50px;
14 height: 200px; 14 height: 200px;
15 left: 20px; 15 left: 20px;
16 top: 20px; 16 top: 20px;
17 -webkit-transform: translateZ(0); 17 transform: translateZ(0);
18 } 18 }
19 19
20 #subcontainer { 20 #subcontainer {
21 height: 500px 21 height: 500px
22 } 22 }
23 23
24 .child { 24 .child {
25 position: relative; 25 position: relative;
26 top: 5px; 26 top: 5px;
27 left: 5px; 27 left: 5px;
(...skipping 25 matching lines...) Expand all
53 </div> 53 </div>
54 </div> 54 </div>
55 <script> 55 <script>
56 if (window.internals) 56 if (window.internals)
57 window.internals.settings.setLayerSquashingEnabled(true); 57 window.internals.settings.setLayerSquashingEnabled(true);
58 58
59 // Scroll so that one of the grandchildren boxes is half clipped by the overflow :scroll div. 59 // Scroll so that one of the grandchildren boxes is half clipped by the overflow :scroll div.
60 var container = document.getElementById("container"); 60 var container = document.getElementById("container");
61 container.scrollTop = 65; 61 container.scrollTop = 65;
62 </script> 62 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698