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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-padding-001.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 #shape-inside {
6 position: relative;
7 width: 500px;
8 height: 500px;
9 shape-inside: polygon(0px 0px, 400px 0px, 400px 400px, 0px 400px);
10 shape-padding: 50px;
11 font: 100px/1 Ahem, sans-serif;
12 color: green;
13 }
14
15 #shape-outline {
16 position: absolute;
17 top: 0px;
18 left: 0px;
19 width: 500px;
20 height: 500px;
21 }
22 </style>
23 </head>
24 <body>
25 <p>The blue outline should be filled by 9 green squares.</p>
26 <div id="shape-inside">
27 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg">
28 <rect x="50" y="50" width="300" height="300" stroke="blue" fill="non e"/>
29 </svg>
30 XXX XXX XXX
31 </div>
32 </body>
33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698