W3C home > Mailing lists > Public > www-style@w3.org > June 2015

Re: [css-display] feedback on box-suppress

From: Brad Kemper <brad.kemper@gmail.com>
Date: Wed, 24 Jun 2015 01:51:30 -0700
Cc: "www-style@w3.org" <www-style@w3.org>
Message-Id: <F4232B0E-463C-4636-A466-5F99D8DF5872@gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>


> On Jun 24, 2015, at 1:42 AM, Brad Kemper <brad.kemper@gmail.com> wrote:
> 
> C) Do we really need display-list as a separate property? Can't we just say that this:
>    x { display: list-item }
> 
> ...is equivalent to this:
>    x { display: block }
>    x::marker { display: inline }

Or this, actually, to follow my other proposed syntax, without the needing to use the shorthand:

x::marker { display-box: show }

> Thus, having a display [or rather display-box] of not 'none' on the ::marker would make it a list item. Bam. Now it gets 'disc' as the initial 'list-style-type' and a bullet as the marker content. This seems simpler me, and easier to mentally track what's going on, and how 'display: list-item' interacts with ::marker.

Received on Wednesday, 24 June 2015 08:52:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:55 UTC