W3C home > Mailing lists > Public > www-style@w3.org > April 2008

overflow and list-items

From: Arron Eicholz <Arron.Eicholz@microsoft.com>
Date: Fri, 4 Apr 2008 18:19:56 -0700
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <66D5CB5D6AB0694592FAF5487C50368B191517E49A@NA-EXMSG-C111.redmond.corp.microsoft.com>
When a 'li' element or any element set to 'display: list-item' has a setting for 'overflow' other than 'visible' what should happen to the marker box when it is set to 'list-style-position: outside'?

Should the marker be visible?

Should the marker scroll with the first text item even though the marker is not inside of the scrollable region?

If it does scroll, should it disappear as its position moves beyond the upper horizontal boundary of the scrollable region?

If it does not scroll, should the marker stay in the same original location?

body
{
   margin-left: 40px;
}
div
{
   display: list-item;
}
div, li
{
   border: 1px solid blue;
   overflow: scroll;
   height: 1in;
}

<ul>
   <li>FillerText<br />FillerText<br />FillerText<br />FillerText<br />FillerText<br />FillerText</li>
</ul>
<div>FillerText<br />FillerText<br />FillerText<br />FillerText<br />FillerText<br />FillerText</div>

--
Thanks,
Arron Eicholz
Received on Saturday, 5 April 2008 01:20:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:04 GMT