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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-overflow.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 #container {
6 font: 20px Ahem, sans-serif;
7 -webkit-font-smoothing: none;
8 line-height: 20px;
9 position: relative;
10 width: 200px;
11 height: 200px;
12 border: 2px solid blue;
13 }
14 #shape-inside { shape-inside: polygon(50px 0px, 150px 0px, 150px 50px, 50px 50px); }
15 #border {
16 position: absolute;
17 left: 49px;
18 width: 100px;
19 height: 50px;
20 margin-top: -2px;
21 border: 1px solid green;
22 }
23 </style>
24 </head>
25 <body>
26 <div id="container">
27 <div id="shape-inside">
28 <div id="border"></div>
29 X X X X X X X X X X X X
30 </div>
31 </div>
32 <p>Requires Ahem font. The content should wrap inside the green rectangle, a nd the overflow should wrap inside the blue rectangle.</p>
33 </body>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698