| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| <html> |
| <head> |
| <title>CSS 2.1 Test Suite: Replaced Elements</title> |
| <style type="text/css"> |
| p { color: navy; } |
| img { display: inline; } |
| span { color: blue; font: 15px Ahem; vertical-align: top; background: red; } |
| .b img, .b span { font-size: 4em; height: 1em; } |
| </style> |
| <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#min-max-widths" title="10.4 Minimum and maximum widths: 'min-width' and 'max-width'"> |
| <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height" title="10.6.2 Inline replaced elements, block-level replaced elements in normal flow, 'inline-block' replaced elements in normal flow and floating replaced elements"> |
| </head> |
| <body> |
| <p>There should be no red anywhere.</p> |
| <p class="a"> |
| There should be two identical squares at the end of this line: |
| <img alt="FAIL: Replaced content did not get replaced." src="support/swatch-blue.png"> |
| <span>X</span> |
| </p> |
| <p class="b"> |
| There should be two identical squares at the end of this line: |
| <img alt="FAIL: Replaced content did not get replaced." src="support/swatch-blue.png"> |
| <span>X</span> |
| </p> |
| </body> |
| </html> |