W3C home > Mailing lists > Public > www-style@w3.org > July 2010

[CSS21] 9.2.1.1 breaking inline boxes around block boxes

From: Anton Prowse <prowse@moonhenge.net>
Date: Sun, 25 Jul 2010 14:26:16 +0200
Message-ID: <4C4C2D68.1070306@moonhenge.net>
To: "www-style@w3.org" <www-style@w3.org>
9.2.1.1 (Anonymous block boxes) says:[1]

   # When an inline box contains a block box, the inline box (and its
   # inline ancestors within the same line box) are broken around the
   # block. The line boxes before the break and after the break are
   # enclosed in anonymous boxes, and the block box becomes a sibling of
   # those anonymous boxes.

Precisely which line boxes does the anonymous (block) boxes contain?  I
think this is trying to say that they contain as much inline content as
possible whilst ensuring that they contain /only/ inline content.  But
it's not very clear.

Also, the original inline box no longer exists, right?  There are two
new inline boxes, one on either side of the break (inside the anonymous
block boxes)?


[1] http://www.w3.org/TR/CSS2/visuren.html#anonymous-block-level

Cheers,
Anton Prowse
http://dev.moonhenge.net
Received on Sunday, 25 July 2010 12:27:48 GMT

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