multicol-span-all-fieldset-002.html (1243B)
1 <!DOCTYPE html> 2 <html> 3 <meta charset="utf-8"> 4 <title>CSS Multi-column Layout Test: Test a overflow:hidden and position:absolute multi-column container on fieldset works with a column-span:all child and position:absolute boxes</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/#column-span"> 8 <link rel="match" href="multicol-span-all-fieldset-002-ref.html"> 9 <meta name="assert" content="This test checks the page is rendered correctly for a overflow:hidden and position:absolute fieldset multi-column container with a column-span:all child and position:absolute boxes."> 10 11 <style> 12 fieldset { 13 column-count: 3; 14 column-rule: 6px solid; 15 width: 400px; 16 overflow: hidden; 17 position: absolute; 18 } 19 h3 { 20 column-span: all; 21 outline: 1px solid blue; 22 } 23 a { 24 position: absolute; 25 width: 1em; 26 height: 1em; 27 background-color: blue; 28 } 29 </style> 30 31 <fieldset> 32 <legend>Legend<a></a></legend> 33 <div>block1</div><div>block2</div><a></a> 34 <h3>spanner<a></a></h3> 35 <div>block3</div><div>block4</div><a></a> 36 </fieldset> 37 </html>