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

Side by Side Diff: LayoutTests/fast/overflow/position-fixed-transform-clipping.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> 1 <!DOCTYPE>
2 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 <title>Position fixed with transform clipping</title> 6 <title>Position fixed with transform clipping</title>
7 7
8 <style type="text/css" media="screen"> 8 <style type="text/css" media="screen">
9 body { 9 body {
10 height: 2000px; 10 height: 2000px;
11 margin: 0; 11 margin: 0;
12 } 12 }
13 .container { 13 .container {
14 position: fixed; 14 position: fixed;
15 width: 400px; 15 width: 400px;
16 height: 50px; 16 height: 50px;
17 border: 2px solid black; 17 border: 2px solid black;
18 overflow: hidden; 18 overflow: hidden;
19 } 19 }
20 20
21 .box { 21 .box {
22 width: 100%; 22 width: 100%;
23 height: 100%; 23 height: 100%;
24 background-color: green; 24 background-color: green;
25 -webkit-transform: translate(0, 0); 25 transform: translate(0, 0);
26 } 26 }
27 p { 27 p {
28 position: absolute; 28 position: absolute;
29 top: 100px; 29 top: 100px;
30 } 30 }
31 </style> 31 </style>
32 <script type="text/javascript" charset="utf-8"> 32 <script type="text/javascript" charset="utf-8">
33 window.addEventListener('load', function() { 33 window.addEventListener('load', function() {
34 window.scrollBy(0, 25); 34 window.scrollBy(0, 25);
35 }, false); 35 }, false);
36 </script> 36 </script>
37 </head> 37 </head>
38 <body> 38 <body>
39 39
40 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=29346">https://bugs.webkit .org/show_bug.cgi?id=29346</a><br> 40 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=29346">https://bugs.webkit .org/show_bug.cgi?id=29346</a><br>
41 Green box should fill the black border.</p> 41 Green box should fill the black border.</p>
42 <div class="container"> 42 <div class="container">
43 <div class="box"> 43 <div class="box">
44 </div> 44 </div>
45 </div> 45 </div>
46 46
47 </body> 47 </body>
48 </html> 48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698