Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title> |
michael@0 | 5 | <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" /> |
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#anonymous-block-level"/> |
michael@0 | 8 | <meta name="flags" content="dom" /> |
michael@0 | 9 | <style> |
michael@0 | 10 | #i { display: inline; border: 2px solid; } |
michael@0 | 11 | #i::after { display: block; content: "Three"; } |
michael@0 | 12 | </style> |
michael@0 | 13 | </head> |
michael@0 | 14 | <body> |
michael@0 | 15 | <div id="i"><script>document.body.offsetWidth</script><div>One</div>Two</div> |
michael@0 | 16 | </body> |
michael@0 | 17 | </html> |