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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-left-triangle-inline-content-expected.html

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove now unused segmentIsEmpty 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #polygon-svg-shape {
6 position: absolute;
7 left: 0px;
8 top: 0px;
9 width: 200px;
10 height: 200px;
11 }
12 #shape-inside {
13 font: 20px Ahem, sans-serif;
14 line-height: 20px;
15 position: absolute;
16 left: 0px;
17 top: 0px;
18 padding-top: 20px;
19 }
20 #float {
21 position: absolute;
22 left: 0px;
23 top: 0px;
24 width: 50px;
25 height: 50px;
26 float: left;
27 margin-top: 50px;
28 background-color: yellow;
29 }
30 #side-of-float {
31 position: absolute;
32 top: 70px;
33 left: 50px;
34 width: 20px;
35 }
36 #below-float {
37 width: 200px;
38 margin-top: 70px;
39
40 }
41 #overflow {
42 width: 200px;
43 margin-top: 10px;
44 }
45 </style>
46 </head>
47 <body>
48 <svg id="polygon-svg-shape" xmlns="http://www.w3.org/2000/svg">
49 <polygon points="0,0 200,200 0,200" fill="#636363"></polygon>
50 </svg>
51 <div id="shape-inside">
52 X
53 <div id="float"></div>
54 <div id="side-of-float">X X</div>
55 <div id="below-float">X X X <br/> X X X <br/> X X X X <br/> X X X X</div >
56 <div id="overflow">X X X X X X</div>
57 </div>
58
59 <p style="margin-top: 250px;">
60 There is a triangle shape-inside (represented by the matching filled SVG p olygon), the shape-inside contains a 50x50px yellow float left,
61 the float should be at the very left and top position inside the triangle shape where it fits first. The inline content should start before the
62 yellow rectangle and then wrap around it. The overflow should be pushed un der the triangle shape-inside.
63 </p>
64 <p>Bug <a href="http://webkit.org/b/102846">102846</a>: [CSS Shapes] Use the float height to determine position in shape-inside</p>
65 </body>
66 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698