OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <title>CSS RefTest Reference</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="author" title="Hans Muller" href="mailto:hmuller@adobe.com"> | |
6 <meta name="flags" content="ahem"> | |
7 <style> | |
8 #container-border { | |
9 border: 1px solid black; | |
10 margin: 10px; | |
11 width: 200px; | |
12 } | |
13 | |
14 #container { | |
15 font: 20px/1 Ahem, sans-serif; | |
16 line-height: 20px; | |
17 width: 200px; | |
18 height: 300px; | |
19 text-align: right; | |
20 } | |
21 | |
22 #float-right { | |
23 float: right; | |
24 position: relative; | |
25 overflow: visible; | |
26 width: 120px; | |
27 height: 100px; | |
28 } | |
29 | |
30 #svg-shape { | |
31 position: absolute; | |
32 display:block; | |
33 top: 0px; | |
34 right: -20px; | |
35 width: 142px; | |
36 height: 102px; | |
37 } | |
38 </style> | |
39 | |
40 <body> | |
41 <p>The right edges of the five black squares should follow the left side of the
outer rounded rectangle boundary and each square should appear on a subsequent l
ine.</p> | |
42 <div id="container"> | |
43 <div id="float-right"> | |
44 <svg id="svg-shape" xmlns="http://www.w3.org/2000/"> | |
45 <rect x="20" y="20" width="100" height="60" fill="none" stroke="gree
n"></rect> | |
46 <rect x="1" y="1" width="140" height="100" rx="20" ry="20" fill="non
e" stroke="green"></rect> | |
47 </svg> | |
48 </div> | |
49 X<br/>X<br/>X<br/>X<br/>X | |
50 </div> | |
51 </body> | |
OLD | NEW |