W3C home > Mailing lists > Public > www-style@w3.org > August 2009

Re: [CSS21] Issues with inline formatting model (particularly 10.8)

From: Anton Prowse <prowse@moonhenge.net>
Date: Tue, 18 Aug 2009 21:54:39 +0200
Message-ID: <4A8B06FF.8070108@moonhenge.net>
To: "www-style@w3.org" <www-style@w3.org>
Anton Prowse wrote:
> I have identified some issues with the specification of the inline
> formatting model in CSS21.

I've recently spotted another editorial issue.


9.4.2 Inline formatting context
(http://www.w3.org/TR/CSS21/visuren.html#inline-formatting) :

   # When several inline boxes cannot fit horizontally within a single
   # line box, they are distributed among two or more vertically-stacked
   # line boxes. Thus, a paragraph is a vertical stack of line boxes.
   # Line boxes are stacked with no vertical separation and they never
   # overlap.

Issue 12:  Contrary to the latter sentence, two line boxes /may/ have
vertical separation if the second is shifted downwards due to the
presence of floats:

9.5 Floats (http://www.w3.org/TR/CSS21/visuren.html#floats) :

   # Since a float is not in the flow, non-positioned block boxes created
   # before and after the float box flow vertically as if the float
   # didn't exist. However, line boxes created next to the float are
   # shortened to make room for the margin box of the float. If a
   # shortened line box is too small to contain any further content, then
   # it is shifted downward until either it fits or there are no more
   # floats present.


Cheers,
Anton Prowse
http://dev.moonhenge.net
Received on Tuesday, 18 August 2009 19:56:27 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:20 GMT