Chromium Code Reviews

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-right-triangle-block-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.
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 width: 200px;
10 height: 200px;
11 }
12 #shape-inside {
13 font: 20px Ahem, sans-serif;
14 line-height: 20px;
15 -webkit-font-smoothing: none;
16 position: absolute;
17 left: 0px;
18 top: 0px;
19 text-align: right;
20 }
21 #float {
22 width: 50px;
23 height: 50px;
24 float: left;
25 margin-left: 50px;
26 background-color: yellow;
27 }
28 #overflow {
29 width: 200px;
30 margin-top: 40px;
31 text-align: left;
32 }
33 </style>
34 </head>
35 <body>
36 <svg id="polygon-svg-shape" xmlns="http://www.w3.org/2000/svg">
37 <polygon points="0,0 200,0 200,200" fill="#636363"></polygon>
38 </svg>
39 <div id="shape-inside">
40 <div id="float"></div>
41 <br/>X&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>
42 X X X&nbsp;<br/><br/>
43 XXXX<br/><br/>
44 X&nbsp;<br/>
45 <div id="overflow">X X X X X X</div>
46 </div>
47 <p style="margin-top: 250px;">
48 There is a triangle shape-inside (represented by the matching filled SVG p olygon), the shape-inside contains a 50x50px yellow float left,
49 the float should be at the very left and top position inside the triangle shape where it fits first. The block content with inline content
50 (paragraphs) should wrap around the float inside the shape. The overflow s hould be pushed under the triangle shape-inside.
51 </p>
52 <p>Bug <a href="http://webkit.org/b/121616">121616</a>: [CSS Shapes] Support block content with inline content around floats in shape-inside</p>
53 </body>
54 </html>
OLDNEW

Powered by Google App Engine