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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-right-triangle.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 <html>
2 <head>
3 <style>
4 #polygon-svg-shape {
5 position: absolute;
6 left: 0px;
7 top: 0px;
8 }
9 #shape-inside {
10 position: absolute;
11 left: 0px;
12 top: 0px;
13 shape-inside: polygon(0px 0px, 200px 0px, 200px 200px);
14 }
15 #float {
16 width: 50px;
17 height: 50px;
18 float: left;
19 background-color: yellow;
20 }
21 </style>
22 </head>
23 <body>
24 <svg id="polygon-svg-shape" xmlns="http://www.w3.org/2000/svg">
25 <polygon points="0,0 200,0 200,200" fill="#636363"></polygon>
26 </svg>
27 <div id="shape-inside">
28 <div id="float"></div>
29 </div>
30 <p style="margin-top: 200px;">
31 There is a triangle shape-inside (represented by the matching filled SVG p olygon), the shape-inside contains a 50x50px yellow float left,
32 the float should be at the very left and top position inside the triangle shape where it fits first.
33 </p>
34 <p>Bug <a href="http://webkit.org/b/102846">102846</a>: [CSS Shapes] Use the float height to determine position in shape-inside</p>
35 </body>
36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698