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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/floats-clear/clearance-006.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.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <title>CSS Test: Zero Clearance</title>
6 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.ne t/contact"/>
7 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/Browse rBugsSection/css21testsuite/" /> <!-- 2012-07-02 -->
8 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#flow-control"/>
9 <link rel="match" href="clearance-006-ref.xht" />
10
11 <meta name="flags" content=""/>
12 <meta name="assert" content="Zero clearance is not the same as no clearance."/ >
13 <style type="text/css">
14 div {
15 font: 20px/1em Ahem;
16 width: 5em;
17 }
18 .container {
19 border-top: solid green 1em;
20 border-bottom: solid red 1em;
21 height: 4em;
22 }
23 .before {
24 margin-bottom: 2em;
25 }
26 .float {
27 float: left;
28 height: 2em;
29 }
30 .clear {
31 clear: both;
32 margin-top: 2em;
33 height: 1em;
34 background: green;
35 }
36 </style>
37 </head>
38 <body>
39 <p>Test passes if there is no red.</p>
40 <div class="container">
41 <div class="before"></div>
42 <div class="float"></div>
43 <div class="clear"></div>
44 </div>
45 </body>
46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698