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

Side by Side Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-stacked-000.html

Issue 149513005: Stacked floats with shape-outside should allow inline content to interact with the non-outermost fl… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Replace nullptr with 0 to make linux build happy Created 6 years, 9 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/fast/shapes/shape-outside-floats/shape-outside-floats-stacked-000-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>
2 <style>
3 .container {
4 width: 200px;
5 height: 100px;
6 font: 100px/1 Ahem, sans-serif;
7 background-color: red;
8 margin-bottom: 50px;
9 color: green;
10 }
11 .float-left-long {
12 margin-right: 100px;
13 width: 100px;
14 height: 50px;
15 float: left;
16 background-color: green;
17 shape-outside: inset(0 100% 0 0);
18 }
19 .float-left-short {
20 width: 100px;
21 height: 50px;
22 float: left;
23 background-color: green;
24 clear: left;
25 }
26 .float-right-long {
27 margin-left: 100px;
28 width: 100px;
29 height: 50px;
30 float: right;
31 background-color: green;
32 shape-outside: inset(0 0 0 100%);
33 }
34 .float-right-short {
35 width: 100px;
36 height: 50px;
37 float: right;
38 background-color: green;
39 clear: right;
40 }
41 </style>
42 <body>
43 <p>If two floats affect the same line and the longer float has a shape that makes it short, then the other float should be respected as the offset for the l ine.</p>
44 <p>You should see two green rectanges. There should be no red.</p>
45 <div class="container">
46 <div class="float-left-long"></div>
47 <div class="float-left-short"></div>
48 X
49 </div>
50 <div class="container" style="text-align: right">
51 <div class="float-right-long"></div>
52 <div class="float-right-short"></div>
53 X
54 </div>
55 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-stacked-000-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698