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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/floats-clear/float-005.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
3 <html xmlns="http://www.w3.org/1999/xhtml">
4
5 <head>
6
7 <title>CSS Test: float - non-positioned block box created after a float</title >
8
9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB ugsSection/css21testsuite/" />
10 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
11 <link rel="match" href="float-005-ref.xht" />
12
13 <meta content="ahem" name="flags" />
14 <meta content="A non-positioned block box created after a float box should flo w vertically as if the float did not exist. The line boxes created next to the f loat should be shortened to make room for that preceding floated box." name="ass ert" />
15
16 <style type="text/css"><![CDATA[
17 div#left-floated-square
18 {
19 color: blue;
20 float: left;
21 font: 100px/1 Ahem;
22 }
23
24 div#non-positioned-block-square-after
25 {
26 background-color: black;
27 height: 200px;
28 width: 200px;
29 }
30 ]]></style>
31
32 </head>
33
34 <body>
35
36 <p>Test passes if a blue square fills the upper left corner of a bigger black square.</p>
37
38 <div id="left-floated-square">X</div>
39
40 <div id="non-positioned-block-square-after"></div>
41
42 </body>
43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698