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

Side by Side Diff: LayoutTests/css3/blending/mix-blend-mode-isolation-2-stacking-contexts.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 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 window.addEventListener('load', function () { 6 window.addEventListener('load', function () {
7 document.getElementById('layers').textContent = window.internals.layerTreeA sText(document); 7 document.getElementById('layers').textContent = window.internals.layerTreeA sText(document);
8 document.getElementById('test').style.display = 'none'; 8 document.getElementById('test').style.display = 'none';
9 }, false); 9 }, false);
10 } 10 }
11 </script> 11 </script>
12 <style> 12 <style>
13 .stacking-context { 13 .stacking-context {
14 position: absolute; 14 position: absolute;
15 z-index: -1; 15 z-index: -1;
16 } 16 }
17 .accelerated { 17 .accelerated {
18 -webkit-transform: rotateX(0deg); 18 transform: rotateX(0deg);
19 } 19 }
20 .blended { 20 .blended {
21 mix-blend-mode: multiply; 21 mix-blend-mode: multiply;
22 } 22 }
23 </style> 23 </style>
24 </head> 24 </head>
25 <body> 25 <body>
26 <div id="test"> 26 <div id="test">
27 <!--This test makes sure that isolation property is set only to 27 <!--This test makes sure that isolation property is set only to
28 the first ascendant layer being a stacking context --> 28 the first ascendant layer being a stacking context -->
29 <div class="stacking-context" style="background-color:red"> 29 <div class="stacking-context" style="background-color:red">
30 <div class="stacking-context" style="background-color: green"> 30 <div class="stacking-context" style="background-color: green">
31 <img class="accelerated blended" src="resources/reference.png"> 31 <img class="accelerated blended" src="resources/reference.png">
32 </div> 32 </div>
33 </div> 33 </div>
34 <div class="accelerated stacking-context" style="background-color:red"> 34 <div class="accelerated stacking-context" style="background-color:red">
35 <div class="stacking-context" style="background-color: green"> 35 <div class="stacking-context" style="background-color: green">
36 <img class="accelerated blended" src="resources/reference.png"> 36 <img class="accelerated blended" src="resources/reference.png">
37 </div> 37 </div>
38 </div> 38 </div>
39 </div> 39 </div>
40 <pre id="layers">Layer tree goes here when testing.</pre> 40 <pre id="layers">Layer tree goes here when testing.</pre>
41 </body> 41 </body>
42 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698