W3C home > Mailing lists > Public > www-style@w3.org > December 2013

[css3-text] anonymous inline of collapsible white space are *not* always removed

From: Slobber Chopz <slobberchopz@gmail.com>
Date: Tue, 19 Nov 2013 08:00:52 +0000
Message-ID: <CAHKzXSqoeUE3MkrRv2E7iNa++CtDBPqwas8Ha8DmahVQfe6udg@mail.gmail.com>
To: www-style@w3.org
In the css3 draft: http://www.w3.org/TR/css3-text/#white-space-processing  it
states that:

    "Note that anonymous inlines consisting entirely of collapsible white
space are removed from the rendering tree. See [CSS21] section 9.2.2.1"

and below it defines 'collapsible white space' to be:

    "If ‘white-space’ is set to ‘normal’, ‘nowrap’, or ‘pre-line’, white
space characters are considered collapsible..."

but according to the referenced css21 section 9.2.2.1:

    "White space content that would subsequently be collapsed away
according to the 'white-space' property does not generate any anonymous
inline boxes."

Note "that would subsequently be collapsed away", it is not enough to be
"collapsible" and *maybe* subsequently collapsed. (This interpretation &
behavior is definitely accepted, for example in webkit/chrome.)
Received on Friday, 6 December 2013 12:32:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:17 UTC