Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>CSS 2.1 Test Suite: Test for vertical alignment on inline-block</title> |
michael@0 | 5 | <link rel="author" title="L. David Baron" href="http://dbaron.org/" /> |
michael@0 | 6 | <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> |
michael@0 | 7 | <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#display-prop" /> |
michael@0 | 8 | <meta name="assert" content="This value causes an element to generate a block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the element itself is formatted as an inline replaced element." /> |
michael@0 | 9 | <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" /> |
michael@0 | 10 | <meta name="assert" content="The baseline of an 'inline-block' is the baseline of its last line box in the normal flow, unless it has either no in-flow line boxes or if its 'overflow' property has a computed value other than 'visible', in which case the baseline is the bottom margin edge." /> |
michael@0 | 11 | <meta name="flags" content="" /> |
michael@0 | 12 | <style type="text/css"> |
michael@0 | 13 | body { background: white; color: black; } |
michael@0 | 14 | span { display: inline-block; margin: 3px 0; border: 4px solid white; border-width: 4px 0; padding: 9px 0; } |
michael@0 | 15 | span > span { display: block; visibility: hidden; } |
michael@0 | 16 | </style> |
michael@0 | 17 | </head> |
michael@0 | 18 | <body> |
michael@0 | 19 | <table border><tr><td> |
michael@0 | 20 | <p>a<span><span>x</span>bcd</span>e</p> |
michael@0 | 21 | </td></tr></table> |
michael@0 | 22 | </body> |
michael@0 | 23 | </html> |