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

Side by Side Diff: LayoutTests/fast/gradients/gradient-after-transparent-border.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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 <head> 3 <head>
4 <style> 4 <style>
5 .square { 5 .square {
6 width: 100px; 6 width: 100px;
7 height: 100px; 7 height: 100px;
8 float: left; 8 float: left;
9 margin: 50px; 9 margin: 50px;
10 } 10 }
11 11
12 .transparent-border { 12 .transparent-border {
13 background-color:red; 13 background-color:red;
14 border-bottom: 10px solid rgba(1, 52, 193, 0.5); 14 border-bottom: 10px solid rgba(1, 52, 193, 0.5);
15 } 15 }
16 16
17 .gradient { 17 .gradient {
18 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(0,0,255,1)), to (rgba(0,255,0,1))); 18 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(0,0,255,1)), to (rgba(0,255,0,1)));
19 } 19 }
20 </style> 20 </style>
21 <script> 21 <script>
22 if (window.testRunner) 22 if (window.testRunner)
23 testRunner.dumpAsText(true); 23 testRunner.dumpAsTextWithPixelResults();
24 </script> 24 </script>
25 </head><body> 25 </head><body>
26 <p>Test for Bug 51240: PASS if the second box is painted as an opaque blue-to-gr een square.</p> 26 <p>Test for Bug 51240: PASS if the second box is painted as an opaque blue-to-gr een square.</p>
27 <div class="square transparent-border"></div> 27 <div class="square transparent-border"></div>
28 <div class="square gradient"></div> 28 <div class="square gradient"></div>
29 </body></html> 29 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698