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

Side by Side Diff: LayoutTests/fast/transforms/transform-inside-overflow-scroll.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 <style> 3 <style>
4 #scroll { 4 #scroll {
5 width: 200px; 5 width: 200px;
6 height: 200px; 6 height: 200px;
7 overflow: scroll; 7 overflow: scroll;
8 border: 1px solid black; 8 border: 1px solid black;
9 } 9 }
10 10
11 #transform { 11 #transform {
12 width: 100px; 12 width: 100px;
13 height: 100px; 13 height: 100px;
14 background-color: green; 14 background-color: green;
15 -webkit-transform: translateY(150px); 15 transform: translateY(150px);
16 } 16 }
17 </style> 17 </style>
18 </head> 18 </head>
19 19
20 <body> 20 <body>
21 21
22 <p id="result"> 22 <p id="result">
23 FAIL. The transform has not been applied to the scrollHeight. 23 FAIL. The transform has not been applied to the scrollHeight.
24 </p> 24 </p>
25 25
26 <div id="scroll"> 26 <div id="scroll">
27 <div id="transform"></div> 27 <div id="transform"></div>
28 </div> 28 </div>
29 29
30 <script> 30 <script>
31 if (window.testRunner) 31 if (window.testRunner)
32 testRunner.dumpAsText(); 32 testRunner.dumpAsText();
33 var scroll = document.getElementById("scroll"); 33 var scroll = document.getElementById("scroll");
34 var scrollHeight = scroll.scrollHeight; 34 var scrollHeight = scroll.scrollHeight;
35 if (scrollHeight > 200) { 35 if (scrollHeight > 200) {
36 var result = document.getElementById("result"); 36 var result = document.getElementById("result");
37 result.innerHTML = "SUCCESS! The transform was applied to the scroll Height!"; 37 result.innerHTML = "SUCCESS! The transform was applied to the scroll Height!";
38 } 38 }
39 </script> 39 </script>
40 </body> 40 </body>
41 </html> 41 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/transforms/transform-hit-test-flipped.html ('k') | LayoutTests/fast/transforms/transform-on-inline.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698