- From: Håkon Wium Lie <howcome@opera.com>
- Date: Fri, 16 Dec 2011 18:34:20 +0100
- To: Brad Kemper <brad.kemper@gmail.com>
- Cc: MURATA Makoto <eb2m-mrt@asahi-net.or.jp>, www-style@w3.org
Also sprach Brad Kemper:
> > @text-transform german-lowercase { convert: "ẞ" to "ß" }
> I think for your german-lowercase you need a way to combine it with
> predefined lowercase. Rather than having a separate
> 'convert-predefined' though, I would rather see it worked into the
> "multiple transformations", like this:
>
> @text-transform german-lowercase { convert: lowercase, "ẞ" to "ß" }
That's neat, I like it. The alternative -- to specify multiple values
on 'text-transform' -- is clunkier:
@text-transform german-lowercase { convert: "ẞ" to "ß" }
text-transform: lowercase german-lowercase;
> Then you could also use that syntax for a"convert previously-defined" effect too:
>
> @text-transform latin-only-uppercase { convert-range: "a","z" to "A","Z"; }
Why not just:
@text-transform latin-only-uppercase { convert: "a-z" to "A-Z"; }
It's shorter and we don't need to introduce another descriptor. (Which
leaves us with only one descriptor, but that's ok)
> @text-transform latin-german-lowercase { convert: latin-only-uppercase, "ẞ" to "ß" }
>
> And lastly, space separating the characters into character groups
> seems like a good idea, even if it requires a little more effort in
> defining the spec (not that bad, I feel, Christopher already did
> good there, with his "greedy" matching in author order). It makes
> it a little more readable, allows conversions of "one to some"and
> "some to one" (the following example is from Christoph Päper's
> earlier e-mail), and would seem to make it easier to extend in
> future versions.
>
> convert: "Th th Dh dh" to
> "Þ þ Ð ð";
Agreed, this looks good.
> All of that still seems very simple to spec and accomplish. I would
> also love to be able to describe even a super-basic version of
> title case, but maybe boundary-based text-transforms could wait for
> a future level, if it would slow down this level to include it.
Yes, I think it should wait.
-h&kon
Håkon Wium Lie CTO °þe®ª
howcome@opera.com http://people.opera.com/howcome
Received on Friday, 16 December 2011 17:35:03 UTC