Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>CSS 2.1 Test Suite: Test for 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 | span { display: inline-block; } |
michael@0 | 14 | </style> |
michael@0 | 15 | </head> |
michael@0 | 16 | <body> |
michael@0 | 17 | <p>a<span>b</span>c</p> |
michael@0 | 18 | </body> |
michael@0 | 19 | </html> |