block-in-inline-append-001.xht (1104B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> 2 <title>CSS Test: blocks inside inlines – append-to-empty-trailing-inline-1</title> 3 <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" /> 4 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> 5 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level" /> 6 <link rel="match" href="block-in-inline-append-001-ref.xht"/> 7 <meta name="flags" content="dom" /> 8 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 9 <meta http-equiv="Content-Style-Type" content="text/css" /> 10 <style type="text/css"> 11 12 body > span { outline: 1px dotted black; } 13 body > span > span { display: block; width: 10em; } 14 15 </style> 16 17 <script type="text/javascript"> 18 function boom() 19 { 20 var n = document.getElementById("a"); 21 n.parentNode.appendChild(n.cloneNode(true)); 22 } 23 </script> 24 25 </head> 26 <body onload="boom();"> 27 28 <span><span id="a">A</span></span> 29 30 31 32 </body></html>