relative-child-overflowing-container.html (620B)
1 <!DOCTYPE html> 2 <title>Relative child wider than the column container should overflow the container</title> 3 <link rel="help" href="https://drafts.csswg.org/css-multicol/"> 4 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 5 6 <style> 7 .multicol { 8 width: 0px; 9 column-count: 2; 10 column-gap: 0px; 11 } 12 13 .relative-layer { 14 position: relative; 15 } 16 17 .child { 18 width: 100px; 19 height: 200px; 20 background: green; 21 } 22 </style> 23 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 24 <div class="multicol"> 25 <div class="relative-layer"> 26 <div class="child"></div> 27 </div> 28 </div>