OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <title>CSS Reference File</title> |
| 5 <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"> |
| 6 </head> |
| 7 <style> |
| 8 body { |
| 9 margin: 0; |
| 10 } |
| 11 .container { |
| 12 position: relative; |
| 13 font: 15px Ahem, sans-serif; |
| 14 line-height: 20px; |
| 15 width: 200px; |
| 16 height: 200px; |
| 17 color: green; |
| 18 } |
| 19 .ellipse { |
| 20 z-index: -1; |
| 21 width: 160px; |
| 22 height: 80px; |
| 23 border-radius: 80px; |
| 24 background-color: blue; |
| 25 overflow: hidden; |
| 26 } |
| 27 #left-ellipse-outline { |
| 28 position: absolute; |
| 29 top: 20px; |
| 30 left: 0px; |
| 31 } |
| 32 .left-ellipse-float-line { |
| 33 float: left; |
| 34 clear: left; |
| 35 height: 20px; |
| 36 } |
| 37 </style> |
| 38 <body> |
| 39 <p>The test passes if all of the squares are green. There should be no r
ed.</p> |
| 40 <div class="container"> |
| 41 X<br/> |
| 42 <div id="left-ellipse-outline"></div> |
| 43 <!-- generated left-rounded-rect-float-line divs will be inserted
here --> |
| 44 X<br/> |
| 45 X<br/> |
| 46 X<br/> |
| 47 X<br/> |
| 48 X |
| 49 </div> |
| 50 |
| 51 <script src="../support/rounded-rectangle.js"></script> |
| 52 <script src="../support/subpixel-utils.js"></script> |
| 53 <script> |
| 54 genLeftRoundedRectFloatShapeOutsideRefTest({ |
| 55 roundedRect: {x: 0, y: 20, width: 160, height: 80, rx: 80, ry: 40}, |
| 56 containerWidth: 200, |
| 57 containerHeight: 200, |
| 58 lineHeight: 20, |
| 59 floatElementClassSuffix: "ellipse-float-line", |
| 60 insertElementIdSuffix: "ellipse-outline" |
| 61 }); |
| 62 </script> |
| 63 </body> |
| 64 </html> |
| 65 |
OLD | NEW |