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

Side by Side Diff: LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-001.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 <title>CSS Test: inset rectangle shape-outside on floats</title>
3 <link rel="author" title="Adobe" href="http://html.adobe.com/">
4 <link rel="author" title="Bem Jones-Bey" href="mailto:bjonesbe@adobe.com">
5 <link rel="help" href="http://dev.w3.org/csswg/css-shapes-1/#shape-outside-prope rty">
6 <link rel="match" href="shape-outside-floats-inset-rectangle-001-ref.html">
7 <meta name="flags" content="ahem">
8 <style>
9 .container {
10 font: 20px/1 Ahem, sans-serif;
11 width: 500px;
12 height: 200px;
13 border: 1px solid black;
14 }
15
16 .rounded-rect {
17 width: 320px;
18 height: 160px;
19 background-color: blue;
20 overflow: hidden;
21 border-radius: 60px;
22 shape-outside: inset-rectangle(0px, 0px, 0px, 0px, 60px, 60px); /* top,right ,bottom,left,rx,ry */
23 }
24 </style>
25 <body>
26 <p>The black squares should trace the right side of the rounded rectangle's blue outline.</p>
27 <div class="container">
28 X<br/>
29 <div style="float: left" class="rounded-rect"></div>
30 X<br/>
31 X<br/>
32 X<br/>
33 X<br/>
34 X<br/>
35 X<br/>
36 X<br/>
37 X<br/>
38 X
39 </div>
40
41 <p>The black squares should trace the left side of the rounded rectangle's blue outline.</p>
42 <div class="container" style="text-align: right">
43 X<br/>
44 <div style="float: right" class="rounded-rect"></div>
45 X<br/>
46 X<br/>
47 X<br/>
48 X<br/>
49 X<br/>
50 X<br/>
51 X<br/>
52 X<br/>
53 X
54 </div>
55 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698