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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-right-triangle-block-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. 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 }
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(200px 0px, 200px 200px, 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="200,0 200,200 0,200" fill="#636363"></polygon>
31 </svg>
32 <div id="shape-inside">X
33 <div id="float"></div><p>X X</p><p>XXXXXXX <p>X X X X X X X X X X X</p>
34 </div>
35 <p style="margin-top: 250px;">
36 There is a triangle shape-inside (represented by the matching filled SVG pol ygon), the shape-inside contains a 50x50px yellow float left,
37 the float should be at the very left and top position inside the triangle sh ape where it fits first. The block content with inline content
38 (paragraphs) should start before the yellow rectangle and then wrap around i t. The overflow should be pushed under the triangle shape-inside.
39 </p>
40 <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>
41 </body>
42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698