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

Side by Side Diff: LayoutTests/compositing/overflow/overflow-scaled-descendant-overlapping.html

Issue 190723007: Fix tests to be compatible with Android scale initialization. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove substantive change, change only tests Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!-- This checks the overlap test between render layers inside clipped 3 <!-- This checks the overlap test between render layers inside clipped
4 containers and other render layers when page scaling is used. See 4 containers and other render layers when page scaling is used. See
5 https://bugs.webkit.org/show_bug.cgi?id=76850 --> 5 https://bugs.webkit.org/show_bug.cgi?id=76850 -->
6 <script> 6 <script>
7 window.onload = function() { 7 window.onload = function() {
8 if (window.testRunner) 8 if (window.testRunner)
9 testRunner.dumpAsTextWithPixelResults(); 9 testRunner.dumpAsTextWithPixelResults();
10 if (window.eventSender) 10 if (window.eventSender)
11 window.eventSender.setPageScaleFactor(0.5, 0, 0); 11 window.eventSender.setPageScaleFactor(0.5, 0, 0);
12 } 12 }
13 </script> 13 </script>
14 14
15 <style type="text/css"> 15 <style type="text/css">
16 ::-webkit-scrollbar {
17 width: 0px;
18 height: 0px;
19 }
20 body {
21 width: 4000px;
22 height: 4000px;
23 }
16 .box { 24 .box {
17 width: 100px; 25 width: 100px;
18 height: 100px; 26 height: 100px;
19 } 27 }
20 28
21 .positioned { 29 .positioned {
22 position: absolute; 30 position: absolute;
23 left: 400px; 31 left: 400px;
24 } 32 }
25 33
(...skipping 14 matching lines...) Expand all
40 background-color: red; 48 background-color: red;
41 } 49 }
42 </style> 50 </style>
43 51
44 <div class="positioned test box"></div> 52 <div class="positioned test box"></div>
45 53
46 <div class="positioned clip box"> 54 <div class="positioned clip box">
47 <div class="transformed indicator box"></div> 55 <div class="transformed indicator box"></div>
48 </div> 56 </div>
49 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698