W3C home > Mailing lists > Public > www-style@w3.org > March 2003

Re: Anonymous :blocks

From: Etan Wexler <ewexler@stickdog.com>
Date: Sun, 09 Mar 2003 23:37:52 -0800
To: Roger Larsson <roger.larsson@incrementa.se>, www-style@w3.org
Message-id: <BA9180D0.4A8%ewexler@stickdog.com>

Roger Larsson wrote to <mailto:www-style@w3.org> on 9 March 2003 in
"Anonymous :blocks" (<mid:3E6BD3B8.1080101@incrementa.se>):

> The CSS 2.1 specification states that every inline element has to be
> put inside an anonymous block if there is at least one block sibling.

Right, but there is no requirement that each inline element be in a separate
anonymous block [AB]:

    if a block box (such as that generated for the DIV above) has
    another block box inside it (such as the P above), then we
    force it to have only block boxes inside it, by wrapping any
    inline boxes in an anonymous block box.

I grant that this can be read with varying interpretations, but I think that
your presumption would be supported far better by changing "an anonymous
block box" to "anonymous block boxes". Consider that one anonymous block box
is generated for and contains all contiguous inline boxes.

Editors: Bert Bos, Tantek Çelik, Ian Hickson, Håkon Wium Lie.
Subsection "Anonymous block boxes" of section 9.2.1 in "Cascading Style
Sheets, level 2 revision 1".
W3C Working Draft.
28 January 2003.
Received on Monday, 10 March 2003 02:38:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:06 UTC