[CSS21] inline span with clear

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:
http://www.w3.org/TR/CSS2/visuren.html#comp-float

However, higher up on the same page, the spec states, for the ‘applies to’ line: ‘block-level elements’ (a <span> is an inline element):
http://www.w3.org/TR/CSS21/visuren.html#flow-control

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


Philippe
--
Philippe Wittenbergh
http://l-c-n.com

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