multicol-span-all-button-003-ref.html (905B)
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:fixed 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 8 <style> 9 button { 10 width: 400px; 11 padding: 1em; 12 overflow: hidden; 13 position: absolute; 14 } 15 .inner { 16 column-count: 3; 17 column-rule: 6px solid; 18 } 19 h3 { 20 column-span: all; 21 outline: 1px solid blue; 22 } 23 a { 24 position: fixed; 25 width: 1em; 26 height: 1em; 27 background-color: blue; 28 } 29 </style> 30 31 <button> 32 <div class="inner"> 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 </div> 37 </button> 38 </html>