<!DOCTYPE html> | |
<html> | |
<head> | |
<title>MultiColumn: Reference test for overflow into column gaps in column boxes</title> | |
<link rel="help" href="http://www.w3.org/TR/css3-multicol/#overflow-inside-multicol-elements"/> | |
<style> | |
#parent | |
{ | |
font: 20px/1 monospace; | |
position: relative; | |
} | |
#reference | |
{ | |
height: 6em; | |
width: 11em; | |
position: absolute; | |
} | |
#reference div | |
{ | |
position: absolute; | |
top: 0; | |
background: green; | |
height: 6em; | |
} | |
#right | |
{ | |
right: 0; | |
} | |
</style> | |
</head> | |
<body> | |
<p>Test passes if there is no red visible on the page.</p> | |
<div id="parent"> | |
<div id="reference"> | |
<div style="width:5.5em;"></div> | |
<div id="right" style="width:5em;"></div> | |
</div> | |
</div> | |
</body> | |
</html> |