| 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 } | |
| 20 | |
| 21 #float-left { | |
| 22 float: left; | |
| 23 position: relative; | |
| 24 overflow: visible; | |
| 25 width: 140px; | |
| 26 height: 100px; | |
| 27 } | |
| 28 | |
| 29 #svg-shape { | |
| 30 position: absolute; | |
| 31 display:block; | |
| 32 top: 0px; | |
| 33 left: 0px; | |
| 34 width: 142px; | |
| 35 height: 102px; | |
| 36 } | |
| 37 </style> | |
| 38 | |
| 39 <body> | |
| 40 <p>The left edges of the five black squares should follow the right side of the
outer rounded rectangle boundary and each square should appear on a subsequent l
ine.</p> | |
| 41 <div id="container"> | |
| 42 <div id="float-left"> | |
| 43 <svg id="svg-shape" xmlns="http://www.w3.org/2000/"> | |
| 44 <rect x="20" y="20" width="100" height="60" fill="none" stroke="gree
n"></rect> | |
| 45 <rect x="1" y="1" width="140" height="100" rx="20" ry="20" fill="non
e" stroke="green"></rect> | |
| 46 </svg> | |
| 47 </div> | |
| 48 X<br/>X<br/>X<br/>X<br/>X | |
| 49 </div> | |
| 50 </body> | |
| OLD | NEW |