1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html><head>
3 <link rel="reference" href="block-in-inline-append-001-ref.xht">
4 <title>CSS Test: blocks inside inlines – append-to-empty-trailing-inline-1</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 type="text/javascript">
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
32
33 </body></html>