multicol-span-all-009-ref.html (794B)
1 <!DOCTYPE html> 2 <html> 3 <meta charset="utf-8"> 4 <title>CSS Multi-column Layout Test Reference: Test the multicol element is the containing block of absolute elements</title> 5 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 6 <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> 7 8 <style> 9 body { 10 column-count: 1; 11 column-rule: 6px solid; 12 width: 400px; 13 outline: 1px solid black; 14 transform: scale(1); 15 } 16 h3 { 17 /* "column-count: 1" makes this behave like a real spanner. */ 18 outline: 1px solid blue; 19 } 20 .out-of-flow { 21 position: absolute; 22 top: 0; 23 right: 0; 24 } 25 </style> 26 27 <body> 28 <article id="column"> 29 <h3>spanner</h3> 30 <div class="out-of-flow">out-of-flow</div> 31 </article> 32 </body> 33 </html>