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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/platform/win/fast/inline-block/003-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/inline-block/003.html
diff --git a/LayoutTests/fast/inline-block/003.html b/LayoutTests/fast/inline-block/003.html
index 2944ca4324c3d7742185470073a917e9428c0386..f65adcb7788470d92879da3e87c525ed79a1b1f7 100644
--- a/LayoutTests/fast/inline-block/003.html
+++ b/LayoutTests/fast/inline-block/003.html
@@ -2,7 +2,7 @@
<head>
<style>
div{ display: inline-block; border:2px solid blue; width:300px; }
-marquee { border:2px solid green; margin: 0; white-space: normal; }
+block { border:2px solid green; margin: 0; white-space: normal; display: inline-block; width: 100% }
</style>
</head>
<body>
@@ -12,17 +12,11 @@ marquee { border:2px solid green; margin: 0; white-space: normal; }
<div>This is div one.</div><div>This is div two.</div>
</center>
-<p>The two marquees below should be on separate lines, since marquees fill the width of a containing
-block by default.</p>
+<p>The two divs below should be on separate lines, since they are wrapped in elements
+with width: 100%.</p>
-<p>This test uses white characters to make the result image deterministic.
-(Otherwise, the result image changes depending on when the content_shell takes a snapshot.)
-In order to run this test manually, change the color to black.</p>
-
-<span>
-<marquee><span style="color:white">This is div one.</span></marquee>
-<marquee><span style="color:white">This is div two.</span></marquee>
-</span>
+<block><div>This is div one.</div></block>
+<block><div>This is div two.</div></block>
</body>
</html>
« 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