- From: John Daggett <jdaggett@mozilla.com>
- Date: Mon, 8 Jul 2013 23:35:00 -0700 (PDT)
- To: www-style list <www-style@w3.org>
The current definition of the 'digits' value for 'text-combine-horizontal' is: # digits # Within the element, each sequence of consecutive ASCII digits # (U+0030–U+0039) that has as many or fewer characters than the # integer given is treated as if it were in an anonymous inline box # with ‘text-combine-horizontal: all’. When the integer is omitted, # 2 is used. It seems to me the "each sequence of" wording can be interpreted as meaning that implementations should simply divide up numbers into sequences of n digits and then apply 'all' to each piece. Consider this example: .date { text-combine-horizontal: digits 2; } <span class="date">2004年6月24日</span> Should this produce three tatechuyoko runs ("20", "04", "24") or just one ("24")? I think we agree that only one is desired but the spec wording seems to allow for the three run case. Maybe this would be better? Within the element, each maximal sequence of consecutive ASCII digits... Regards, John Daggett
Received on Tuesday, 9 July 2013 06:35:28 UTC