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

Side by Side Diff: LayoutTests/css2.1/20110323/floats-001.html

Issue 343663004: Floats following inlines break to next line unncessarily (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/css2.1/20110323/floats-001-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st rict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Floats, shifting left until it touches container edge</ title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="reviewer" title="GĂ©rard Talbot" href="http://www.gtalbot.org/ BrowserBugsSection/css21testsuite/"> <!-- 2012-07-02 -->
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats">
8 <link rel="match" href="reference/floats-001-ref.htm">
9
10 <meta name="flags" content="">
11 <meta name="assert" content="A left floated box shifts left until its ou ter edge touches the containing block edge.">
12 <style type="text/css">
13 #div1
14 {
15 border: solid 5px black;
16 height: 1in;
17 width: 2in;
18 }
19 div div
20 {
21 display: inline-block;
22 height: 1in;
23 width: 1in;
24 }
25 #div3
26 {
27 background-color: blue;
28 float: left;
29 }
30 </style>
31 </head>
32 <body>
33 <p>Test passes if the blue square is on the left inner edge of the hollo w black rectangle.</p>
34 <div id="div1">
35 <div id="div2"></div>
36 <div id="div3"></div>
37 </div>
38 </body>
39 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css2.1/20110323/floats-001-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698