multicol-span-all-button-002.html (1214B)
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 button 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-button-002-ref.html"> 9 <meta name="assert" content="This test checks the page is rendered correctly for a overflow:hidden and position:absolute button multi-column container with a column-span:all child and position:absolute boxes."> 10 11 <style> 12 button { 13 column-count: 3; 14 column-rule: 6px solid; 15 width: 400px; 16 padding: 1em; 17 overflow: hidden; 18 position: absolute; 19 } 20 h3 { 21 column-span: all; 22 outline: 1px solid blue; 23 } 24 a { 25 position: absolute; 26 width: 1em; 27 height: 1em; 28 background-color: blue; 29 } 30 </style> 31 32 <button> 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 </button> 37 </html>