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

Re: [css3-lists] Alignment of list markers

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 9 Jun 2011 22:52:25 -0700
Message-Id: <3F42E066-D35C-4F66-A433-0F6F53E4ADD6@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
On Jun 9, 2011, at 11:04 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:

>>> I don't see too much wrong with making them inlines.  They'll still
>>> act properly when positioned with 'outside', so sure.
>> Cool. That is less magic than having 'position' also change the initial 'display' value, right? (floats are magic in that regard).
> Yes.  (Also, wow, I never realized that 'float' changes the initial
> value for 'display'.  That's wack.)

I suppose it is because you can't set 'width' on an inline, so a floated span of  text would end up being as wide as all the  text, all on one line. So it is a bit of white magic until you want to float a table-cell. 

Similarly, positioning an element makes it 'float:none'. Magic!
Received on Friday, 10 June 2011 05:52:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:50:02 UTC