multicol-span-all-009.html (1135B)
1 <!DOCTYPE html> 2 <html> 3 <meta charset="utf-8"> 4 <title>CSS Multi-column Layout Test: 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 <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#the-multi-column-model"> 8 <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span"> 9 <link rel="match" href="multicol-span-all-009-ref.html"> 10 <meta name="assert" content="This test checks the multicol element, not the column boxes divided by column-span, is the containing block of absolute elements."> 11 12 <style> 13 article { 14 column-count: 3; 15 column-rule: 6px solid; 16 width: 400px; 17 outline: 1px solid black; 18 transform: scale(1); 19 } 20 h3 { 21 column-span: all; 22 outline: 1px solid blue; 23 } 24 .out-of-flow { 25 position: absolute; 26 top: 0; 27 right: 0; 28 } 29 </style> 30 31 <body> 32 <article id="column"> 33 <h3>spanner</h3> 34 <div class="out-of-flow">out-of-flow</div> 35 </article> 36 </body> 37 </html>