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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/floats-clear/floats-016.xht

Issue 2818213003: Import css21/floats-clear W3C CSS Test Suite (Closed)
Patch Set: update TestExpectations Created 3 years, 8 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
(Empty)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>CSS Test: Floated elements stacked with blocks and inline element s</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" / >
7 <meta name="flags" content="" />
8 <meta name="assert" content="Floated elements are rendered in front of n on-positioned in-flow blocks but behind in-flow inline boxes when a normal flow box is next to a floated element with negative margins." />
9 <style type="text/css">
10 #container
11 {
12 margin: 0.5in;
13 }
14 #inline
15 {
16 background: yellow;
17 margin-left: -0.5in;
18 }
19 #float, #block
20 {
21 height: 1in;
22 width: 1in;
23 }
24 #float
25 {
26 background: orange;
27 float: left;
28 }
29 #block
30 {
31 background: blue;
32 margin: -0.25in;
33 }
34 </style>
35 </head>
36 <body>
37 <p>Test passes if the boxes are partially stacked on top of each other, and they are stacked in the following order from bottom to top: blue, orange, ye llow.</p>
38 <div id="container">
39 <span id="inline">Filler Text</span>
40 <div id="float">Filler Text</div>
41 <div id="block">Filler Text</div>
42 </div>
43 </body>
44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698