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

Side by Side Diff: LayoutTests/compositing/squashing/squash-above-fixed-3.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 <script src="../../resources/run-after-display.js"></script> 4 <script src="../../resources/run-after-display.js"></script>
5 <style> 5 <style>
6 6
7 #backgroundFixed { 7 #backgroundFixed {
8 -webkit-transform: translatez(0); 8 transform: translatez(0);
9 position: fixed; 9 position: fixed;
10 height: 400px; 10 height: 400px;
11 width: 400px; 11 width: 400px;
12 z-index: 1; 12 z-index: 1;
13 background-color: gray; 13 background-color: gray;
14 } 14 }
15 15
16 #container { 16 #container {
17 position: absolute; 17 position: absolute;
18 z-index: 2; 18 z-index: 2;
19 top: 100px; 19 top: 100px;
20 left: 100px; 20 left: 100px;
21 width: 960px; 21 width: 960px;
22 background-color: green; 22 background-color: green;
23 width: 100px; 23 width: 100px;
24 height: 4000px; 24 height: 4000px;
25 } 25 }
26 26
27 #innerFixed { 27 #innerFixed {
28 -webkit-transform: translatez(0); 28 transform: translatez(0);
29 background-color: blue; 29 background-color: blue;
30 position: fixed; 30 position: fixed;
31 top: 150px; 31 top: 150px;
32 left: 100px; 32 left: 100px;
33 width: 200px; 33 width: 200px;
34 height: 100px; 34 height: 100px;
35 } 35 }
36 36
37 #innerScrolling { 37 #innerScrolling {
38 background-color: lime; 38 background-color: lime;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 CASE 1, original layer tree: 123 CASE 1, original layer tree:
124 <pre id="Case1"></pre> 124 <pre id="Case1"></pre>
125 125
126 CASE 2, scrolling y by 10 pixels, both the "container" and "inner" should sc roll properly. 126 CASE 2, scrolling y by 10 pixels, both the "container" and "inner" should sc roll properly.
127 <pre id="Case2"></pre> 127 <pre id="Case2"></pre>
128 128
129 CASE 3, scrolling y further so that "inner" no longer overlaps the fixed-pos layer, then the stacking context of "container" includes the "innerScrolling" l ayer, and doubles in width: 129 CASE 3, scrolling y further so that "inner" no longer overlaps the fixed-pos layer, then the stacking context of "container" includes the "innerScrolling" l ayer, and doubles in width:
130 <pre id="Case3"></pre> 130 <pre id="Case3"></pre>
131 </div> 131 </div>
132 </body> 132 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698