blob: c505e72328fe28942077d004f4a0f3c11324c88c [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD//XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: Column-width applied to 'display: inline-block' - Reference</title>
<link rel="author" title="Codeaurora" href="http://www.codeaurora.org/" />
<link rel="help" href="http://www.w3.org/TR/css3-multicol/#cw"/>
<style type="text/css">
#parent
{
font: 20px/1 monospace;
position: relative;
}
#reference, #ref2
{
position: absolute;
top: 0;
height: 6em;
width: 11em;
}
#reference
{
color: green;
}
#reference div
{
position: absolute;
width: 5em;
}
#ref2
{
color: red;
}
#ref2 div
{
position: absolute;
width: 5em;
}
#right
{
right: 0;
}
</style>
</head>
<body>
<p>Test passes if there is no red visible on the page.</p>
<div id="parent">
<div id="ref2">
<div>AAAAAAAAA BBBBBBBBB CCCCCCCCC DDDDDDDDD EEEEEEEEE FFFFFFFFF</div>
<div id="right">GGGGGGGGG HHHHHHHHH IIIIIIIII JJJJJJJJJ KKKKKKKKK LLLLLLLLL</div>
</div>
<div id="reference">
<div>AAAAAAAAA BBBBBBBBB CCCCCCCCC DDDDDDDDD EEEEEEEEE FFFFFFFFF</div>
<div id="right">GGGGGGGGG HHHHHHHHH IIIIIIIII JJJJJJJJJ KKKKKKKKK LLLLLLLLL</div>
</div>
</div>
</body>
</html>