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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/floats-clear/floats-105.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" "http://www.w3.org/TR/xhtml11/ DTD/xhtml11.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>CSS Test: CSS Floats: Unexpected Presences, Part 2</title>
5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/float/005. xml" type="application/xhtml+xml"/>
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
8 <style type="text/css">
9 body * { margin: 4px; padding: 4px; border: 1px solid; display: block; }
10 .test { border-color: blue; width: 40em; }
11 .float { border-color: fuchsia; float: left; width: 5em; height: 5em; }
12 .first { border-color: purple; margin-left: 10em; }
13 .second { border-color: teal; width: 10em; }
14 </style>
15 </head>
16 <body>
17 <div class="test">
18 <div class="first"> This is the first block, with a big left margin. At the e nd
19 of this block is a left float which should be square. Text that
20 follows this box should flow to the right of the float or go below
21 it; no text should be on the left of the float. <div class="float"> This is
22 the square left float. </div> </div>
23 <div class="second"> This is the second block. It is sized so as to be just
24 wide enough to slightly overlap the float. Text shouldn't be able
25 to fit around the float without overflowing this box, so instead
26 all the text should just move below the float. </div>
27 </div>
28 </body>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698