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

[css3-writing-modes] computed value of text-combine-horizontal digits values

From: John Daggett <jdaggett@mozilla.com>
Date: Thu, 15 Aug 2013 20:11:17 -0700 (PDT)
To: www-style list <www-style@w3.org>
Message-ID: <1165036209.3444430.1376622677347.JavaMail.zimbra@mozilla.com>

While working on implementing support for 'text-combine-horizontal', I
noticed what seems to be a small problem with the definition of
computed value for 'text-combine-horizontal'.

The 'digits' value of 'text-combine-horizontal' is defined to take an
optional <integer> value.  If this is omitted, the value defaults to 2.


The computed value is given as "specified value" so I think that
implies that 'digits' and 'digits 2' need to be distinguished.  Since
internally there's no reason to make this distinction, I think it
would be better to define the computed in such a way that the computed
values of the property definitions below are equivalent:

  text-combine-horizontal: digits;    /* computed value: 'digits' */
  text-combine-horizontal: digits 2;  /* computed value: 'digits'? */

Not sure what the right wording is for this, I'll defer to those with 
better OM chops.


John Daggett
Received on Friday, 16 August 2013 03:11:43 UTC

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