|
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 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
|
10 <meta http-equiv="Content-Style-Type" content="text/css"> |
|
11 <style type="text/css"> |
|
12 |
|
13 body > span { outline: 1px dotted black; } |
|
14 body > span > span { display: block; width: 10em; } |
|
15 |
|
16 </style> |
|
17 |
|
18 <script> |
|
19 function boom() |
|
20 { |
|
21 var n = document.getElementById("a"); |
|
22 n.parentNode.appendChild(n.cloneNode(true)); |
|
23 } |
|
24 </script> |
|
25 |
|
26 </head> |
|
27 <body onload="boom();"> |
|
28 |
|
29 <span><span id="a">A</span></span> |
|
30 |
|
31 </body> |
|
32 </html> |