4 <title>CSS
2.1 Test Suite: Test for float placement rules
</title>
5 <link rel=
"author" title=
"Robert O'Callahan" href=
"mailto:robert@ocallahan.org" />
6 <link rel=
"author" title=
"Mozilla Corporation" href=
"http://mozilla.com/" />
7 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/visuren.html#float-position" />
8 <meta name=
"assert" content=
"A floating box must be placed as high as possible. " />
9 <meta name=
"flags" content=
"" />
12 .right { float:right; }
13 .left, .right { width:
50px; height:
50px; background:yellow; }
17 <body style=
"width:400px">
18 <p><span>Hello
<span class=
"left"></span></span>Kitty
19 <p><span>Hello
<span class=
"right"></span></span>Kitty
20 <p dir=
"rtl"><span>Hello
<span class=
"left"></span></span>Kitty
21 <p dir=
"rtl"><span>Hello
<span class=
"right"></span></span>Kitty
22 <p style=
"text-align:right;"><span>Hello
<span class=
"left"></span></span>Kitty
23 <p style=
"text-align:right;"><span>Hello
<span class=
"right"></span></span>Kitty