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

Side by Side Diff: LayoutTests/fast/inline-block/003.html

Issue 879603002: Replace marquee in test to make it deterministic. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: And slimming paint. Created 5 years, 11 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 div{ display: inline-block; border:2px solid blue; width:300px; } 4 div{ display: inline-block; border:2px solid blue; width:300px; }
5 marquee { border:2px solid green; margin: 0; white-space: normal; } 5 block { border:2px solid green; margin: 0; white-space: normal; display: inline- block; width: 100% }
6 </style> 6 </style>
7 </head> 7 </head>
8 <body> 8 <body>
9 <p>The two divs below should be on the same line, since they are display: inline -block.</p> 9 <p>The two divs below should be on the same line, since they are display: inline -block.</p>
10 10
11 <center> 11 <center>
12 <div>This is div one.</div><div>This is div two.</div> 12 <div>This is div one.</div><div>This is div two.</div>
13 </center> 13 </center>
14 14
15 <p>The two marquees below should be on separate lines, since marquees fill the w idth of a containing 15 <p>The two divs below should be on separate lines, since they are wrapped in ele ments
16 block by default.</p> 16 with width: 100%.</p>
17 17
18 <p>This test uses white characters to make the result image deterministic. 18 <block><div>This is div one.</div></block>
19 (Otherwise, the result image changes depending on when the content_shell takes a snapshot.) 19 <block><div>This is div two.</div></block>
20 In order to run this test manually, change the color to black.</p>
21
22 <span>
23 <marquee><span style="color:white">This is div one.</span></marquee>
24 <marquee><span style="color:white">This is div two.</span></marquee>
25 </span>
26 20
27 </body> 21 </body>
28 </html> 22 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/platform/win/fast/inline-block/003-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698