|
1 <!DOCTYPE html> |
|
2 <html> |
|
3 <head> |
|
4 <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title> |
|
5 <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" /> |
|
6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> |
|
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/> |
|
8 <meta name="flags" content="dom" /> |
|
9 <style> |
|
10 #i { display: inline; border: 2px solid; } |
|
11 #i::after { display: block; content: "Three"; } |
|
12 </style> |
|
13 </head> |
|
14 <body> |
|
15 <div id="i"><script>document.body.offsetWidth</script>One<div>Two</div></div> |
|
16 </body> |
|
17 </html> |