W3C home > Mailing lists > Public > www-style@w3.org > October 2008

[CSS21] text-transform on generated content?

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 19 Oct 2008 23:14:44 +0200
To: www-style@w3.org
Message-ID: <20081019211444.GA15971@pickering.dbaron.org>

I can't find anything in CSS 2.1 that says whether 'text-transform'
applies to the content generated by the 'content' property on
:before or :after.  Yet Mozilla, WebKit, and Opera all seem to do
the same thing (make it apply) on:

Should the spec explicitly say that this behavior is correct and
other behaviors are wrong?

In particular:
 * text-transform does apply to generated content
 * generated content does not introduce word boundaries for
   'text-transform: capitalize'


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Sunday, 19 October 2008 21:15:24 UTC

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