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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-partial-fill-002.html

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix Zoltan's comments 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: 150px;
8 height: 100px;
9 shape-inside: polygon(0px 0px, 150px 0px, 150px 100px, 100px 100px, 100p x 50px, 50px 50px, 50px 100px, 0px 100px);
10 font: 50px/1 Ahem, sans-serif;
11 color: green;
12 }
13
14 .shape-outline {
15 position: absolute;
16 top: 0px;
17 left: 0px;
18 width: 150px;
19 height: 100px;
20 }
21 </style>
22 </head>
23 <body>
24 <p>The green rectangles should appear within the blue outline.</p>
25 <div class="shape-inside">
26 <svg class="shape-outline" xmlns="http://www.w3.org/2000/svg">
27 <polygon stroke="blue" fill="none" points="0,0 150,0 150,100 100,100 100,50 50,50 50,100 0,100"/>
28 </svg>
29 XXX X
30 </div>
31 <p>This is the same test as the one above, except that the shape-inside's co ntent has trailing whitespace.</p>
32 <div class="shape-inside">
33 <svg class="shape-outline" xmlns="http://www.w3.org/2000/svg">
34 <polygon stroke="blue" fill="none" points="0,0 150,0 150,100 100,100 100,50 50,50 50,100 0,100"/>
35 </svg>
36 XXX X
37
38 </div>
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698