W3C home > Mailing lists > Public > www-style@w3.org > November 1999

Re: Yet another error in float

From: Matthew Brealey <thelawnet@yahoo.com>
Date: Mon, 29 Nov 1999 05:45:30 -0800 (PST)
Message-ID: <19991129134530.22354.rocketmail@web902.mail.yahoo.com>
To: www-style <www-style@w3.org>
Cc: Ethan Fremen <mindlace@majordomo.net>
--- Ethan Fremen <mindlace@majordomo.net> wrote:
> Matthew Brealey wrote:
> > But "if 'float' has a value other than 'none',
> > 'display' is set to 'block' and the box is
> >      floated", and so list-item, table, etc become
> > block elements, which can't be right.
> > 
> Er, that is right, because if it's floating, then
> everything else has to wrap around it, so it needs
> to be a block.

No it isn't:
1. A list item (display: list-item)
If 'display' is set to 'block', it becomes
A list item (no marker glyph)

It may be a block, but it is not 'block' (it is stated
in the spec that things in quotes refer to property
values), so 'block' means display: block, which is
mutually exclusive with display: list-item.

If it said that the element becomes a block-type
element or something similar, this interpretation
would be admissible, but at present it is not.

From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS))
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
Received on Monday, 29 November 1999 08:45:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:52 UTC