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 'width: auto' 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/visudet.html#inlineblock-width" /> |
michael@0 | 8 | <meta name="flags" content="" /> |
michael@0 | 9 | <style type="text/css"> |
michael@0 | 10 | body > div { width: 10em; } |
michael@0 | 11 | body > div > div { display: inline-block; background: green; color: white; } |
michael@0 | 12 | </style> |
michael@0 | 13 | </head> |
michael@0 | 14 | <body> |
michael@0 | 15 | <div>x <div>This is some text that is wider than 10em but has no words wider than 10em.</div> z</div> |
michael@0 | 16 | </body> |
michael@0 | 17 | </html> |