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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-circle.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 /* The size of a square that just fits within a circle of radius r is r * sq rt(2). In this
6 case that's the size of one Ahem character: 100 * sqrt(2) == 141.42.
7 */
8 #shape-inside {
9 position: relative;
10 width: 400px;
11 height: 400px;
12 shape-inside: circle(100px at 200px 200px);
13 font: 141.42px/1 Ahem, sans-serif;
14
15 color: green;
16 }
17
18 #shape-outline {
19 position: absolute;
20 top: 0px;
21 left: 0px;
22 width: 400px;
23 height: 400px;
24 }
25 </style>
26 </head>
27 <body>
28 <div id="shape-inside">
29 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg">
30 <circle cx="200" cy="200" r="100" stroke="blue" fill="none"/>
31 </svg>
32 X
33 </div>
34 </body>
35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698