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

[css3-text] @text-transform order

From: Koji Ishii <kojiishi@gluesoft.co.jp>
Date: Sun, 18 Dec 2011 13:57:53 -0500
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <A592E245B36A8949BDB0A302B375FB4E0D242ABBA6@MAILR001.mail.lan>
How would we define the order to apply multiple @text-transform rules?

@text-transform a { "abc" to "cde"; }
@text-transform b { "abc" to "fgh"; }
<span style="text-transform: a b;">a</style>

Would it be "h" or "f"? I guess UA applies rules from left to right and therefore "h"?

Is it technically feasible to use the same rule for built-in values?

<span style="text-transform: a b uppercase;">a</style>
=> becomes "H"
<span style="text-transform: uppercase a b;">a</style>
=> becomes "A"

I also think prohibiting combinations could be an option for Level 3.


Received on Sunday, 18 December 2011 18:59:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:08 UTC