- From: Christoph Päper <christoph.paeper@crissov.de>
- Date: Mon, 5 Dec 2011 12:36:14 +0100
- To: www-style list <www-style@w3.org>
Christoph Päper: > scope: [ phrase || word || [ partial | [ initial || medial || final]# ] > || character || base || diacritic ]# That descriptor would result in something like this for the reverse of your “modernize-s” example: @text-transform oldstyle { convert: "s" to "ſ"; scope: initial, medial, base; } @text-transform oldstyle { convert: "ſs ss ſz sz" to "ß"; scope: final; } Perhaps it’s better to name the scope inline: @text-transform oldstyle { convert: initial medial base "s" to "ſ", final "ſs ss ſz sz" to "ß"; } (This particular example should rather be handled by smart fonts, methinks, since long s like final sigma should never have gotten Unicode positions of their own.) PS: CSS properties and descriptors are usually nouns, not verbs, therefore ‘convert’ is not an optimal choice.
Received on Monday, 5 December 2011 11:36:45 UTC