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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-rounded-rectangle-padding.html

Issue 200633005: [CSS Shapes] Remove deprecated shapes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test expectations 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: rectangle(0px, 0px, 400px, 400px, 150px, 150px);
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 rounded rectangle should just contain a cross of five green squa res.</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" rx="100" ry="100" strok e="blue" fill="none"/>
29 </svg>
30 X XXX X
31 </div>
32 </body>
33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698