Chromium Code Reviews

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-left-triangle-inline-content.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.
Jump to:
View unified diff |
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 }
10 #shape-inside {
11 font: 20px Ahem, sans-serif;
12 line-height: 20px;
13 width: 200px;
14 height: 200px;
15 position: absolute;
16 left: 0px;
17 top: 0px;
18 shape-inside: polygon(0px 0px, 200px 0px, 0px 200px);
19 }
20 #float {
21 width: 50px;
22 height: 50px;
23 float: left;
24 background-color: yellow;
25 }
26 </style>
27 </head>
28 <body>
29 <svg id="polygon-svg-shape" xmlns="http://www.w3.org/2000/svg">
30 <polygon points="0,0 200,0 0,200" fill="#636363"></polygon>
31 </svg>
32 <div id="shape-inside">A
33 <div id="float"></div> X X X X X X X X X X X X X X X X X X X X X X X X X
34 </div>
35 <p style="margin-top: 250px;">
36 There is a triangle shape-inside (represented by the matching filled SVG p olygon), the shape-inside contains a 50x50px yellow float left,
37 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
38 yellow rectangle and then wrap around it. The overflow should be pushed un der the triangle shape-inside.
39 </p>
40 <p>Bug <a href="http://webkit.org/b/102846">102846</a>: [CSS Shapes] Use the float height to determine position in shape-inside</p>
41 </body>
42 </html>
OLDNEW

Powered by Google App Engine