[CSS21] breaking inline boxes around block boxes (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

Anton Prowse

Received on Sunday, 25 July 2010 12:27:48 UTC