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:
http://lists.w3.org/Archives/Public/www-archive/2008Oct/att-0018/text-transform-generated-content.html

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'

-David

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:15 GMT