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

splitting text-combine-horizontal into 2 properties

From: Florian Rivoal <florianr@opera.com>
Date: Tue, 16 Aug 2011 07:23:03 +0900
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.vz90gpzl4p7avi@eeeflorian>
Hi,

I am thinking it might be worth splitting the text-combine-horizontal  
property in two. Keep the current one with 'none', 'all', and the various  
character classes, and split the squeezing switches into another one, like  
this (the name is silly, don't pay attention to it):

text-combine-squeeze-style: auto | compress | [no-compress || use-glyphs]

The reason for the split is that within a document, you're likely to want  
the squeeze style to be consistent, because that's a
purely stylistic matter, but as the other values are used to select what  
you want to combine, you'll have several rules. example:

* { text-combine-squeeze-style: use-glyphs; }
.date { text-combine-horizontal: ascii-digits 2; }
.acronym { text-combine-horizontal: latin 3; text-transform: fullwidth; }
.forced-tcy { text-combine-horizontal: all; }

What do you all think?

  - Florian
Received on Monday, 15 August 2011 22:22:59 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:43 GMT