W3C home > Mailing lists > Public > www-style@w3.org > December 2012

[CSS21] inline span with clear

From: Philippe Wittenbergh <ph.wittenbergh@l-c-n.com>
Date: Wed, 26 Dec 2012 21:38:14 +0900
Message-Id: <79E5A417-5EF4-4553-A0C0-1FD4D8F08BE3@l-c-n.com>
To: W3C CSS Mailing List <www-style@w3.org>
The last example in the spec uses an inline element (span) and applies the clear property to it. – the example then goes to show the span clearing the floated block:

However, higher up on the same page, the spec states, for the ‘applies to’ line: ‘block-level elements’ (a <span> is an inline element):

I think the example is wrong. Current Gecko, WebKit, Presto and iirc IE 9+ all agree and do not apply any clearance.

Philippe Wittenbergh
Received on Wednesday, 26 December 2012 12:38:39 UTC

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