blob: 50035715d67a45fa3cd75175784d746e99d16387 [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: list-item' - 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
{
color: red;
font: 20px/1 monospace;
margin-left: 2em;
position: relative;
}
#reference, #ref2
{
height: 6em;
width: 11em;
position: absolute;
top: 0;
}
#reference
{
color: green;
}
#reference div
{
position: absolute;
width: 5em;
}
#ref2
{
color: red;
}
#ref2 div
{
position: absolute;
width: 5em;
}
#right
{
right: 0;
}
#marker
{
display: list-item;
}
</style>
</head>
<body>
<p>Test passes if there is a marker to the left of the first line of text and 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 id="marker">AAAAAAAAA BBBBBBBBB CCCCCCCCC DDDDDDDDD EEEEEEEEE FFFFFFFFF</div>
<div id="right">GGGGGGGGG HHHHHHHHH IIIIIIIII JJJJJJJJJ KKKKKKKKK LLLLLLLLL</div>
</div>
</div>
</body>
</html>