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

Side by Side Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-edge-case-expected.html

Issue 286813002: [CSS Shapes] line height grows around polygon and incorrectly causes text to wrap to next line (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix prefixes and whitespace Created 6 years, 7 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>
2 <html>
3 <head>
4 <style>
5 #content {
6 font: 50px/1 Ahem, sans-serif;
7 -webkit-font-smoothing: antialiased;
8 color: green;
9 width: 300px;
10 border: 1px solid black;
11 }
12 #right-shape {
13 float: right;
14 width: 50px;
15 height: 50px;
16 background-color: blue;
17 }
18 #left-shape {
19 float: left;
20 width: 50px;
21 height: 50px;
22 background-color: blue;
23 }
24 </style>
25 </head>
26 <body>
27 <p>The blue squares on the left and right should be surrounded by three green squares.</p>
28 <div id="content">
29 <div style="text-align: right">
30 X<br>
31 <div id="right-shape"></div>
32 X<br>X
33 </div>
34 X<br>
35 <div id="left-shape"></div>
36 X<br>X
37 </div>
38 </body>
39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698