W3C home > Mailing lists > Public > www-style@w3.org > July 2011

Re: [css3-lists] inline list items

From: Anton Prowse <prowse@moonhenge.net>
Date: Sun, 03 Jul 2011 11:48:39 +0200
Message-ID: <4E103AF7.2080201@moonhenge.net>
To: "www-style@w3.org" <www-style@w3.org>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, fantasai <fantasai.lists@inkedblade.net>
On 09/06/2011 20:48, Tab Atkins Jr. wrote:
> On Wed, Jun 8, 2011 at 8:08 PM, fantasai<fantasai.lists@inkedblade.net>  wrote:
>> I propose adding 'display: inline-list-item' to CSS3 Lists
>> to handle the rather common case of inline lists.
>>
>> This value would be exactly like 'inline' except that the
>> element also generates a list marker, which is itself also
>> formatted exactly like an inline box. If 'list-item-position'
>> is 'inside', then the marker is inside the principal inline
>> box. If 'list-item-position' is 'outside', then the marker
>> is immediately before the principal inline box, such that
>> the element generates two sibling inline boxes.
>
> I like the idea, with the caveat that this whole thing is silly and we
> really just need to split 'display' into subproperties.
>
> I don't like 'outside' making the ::marker a sibling to the list-item,
> because it's a child for normal list-items.  I'd prefer they act the
> same with respect to the element-tree.  Obviously, though, positioned
> markers don't make much sense for inline list items.  I'd be okay with
> just making the ::marker for inline list items ignore
> 'list-style-position' and always treat the ::marker as an inline
> child.

FWIW I agree with fantasai's proposal and Tab's comments.  It is 
anomalous that there's no inline list-item, as becomes obvious when you 
construct a matrix of what "split display into subproperties" implies 
(as I did when reviewing the new box terminology introduced into CSS21).

Cheers,
Anton Prowse
http://dev.moonhenge.net
Received on Sunday, 3 July 2011 09:49:43 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:42 GMT