W3C home > Mailing lists > Public > public-css-testsuite@w3.org > March 2008

Re: [CSS21] white-space default on :before and :after (was Re: ?Microsoft contributing test cases to the CSS WG)

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 07 Mar 2008 08:33:18 +0100
To: www-style@w3.org
Cc: <Chris.Wilson@microsoft.com>, <public-css-testsuite@w3.org>, <Arron.Eicholz@microsoft.com>
Message-ID: <65r1t3p3dfo98nf5hupbfvduti372mr7an@hive.bjoern.hoehrmann.de>

* L. David Baron wrote:
>To respond to myself here, the spec suggests *informatively* in two
>places that :before and :after should default to pre-line (although
>in one of them, for HTML only, which seems bizarre):
>but it never says so normatively.

In 2003 we resolved that white-space applies normally to ::before and
::after and some months later added the white-space rules to the
examples and the sample style sheet to avoid the impression that there
are special white-space rules for ::before and ::after. That of course
does not stop individual user agents to have special rules in their user
agent style sheet.

>If we actually want this behavior, it should be stated normatively
>(and then the tests would be correct).  If we don't, we should
>probably take out the examples.

Considering the confusion this has caused over the years, I do not think
simply taking the examples out would help to avoid further uncertainty,
we would simply trade one for the other.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 7 March 2008 07:33:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:13 UTC