Re: [css3-writing-modes] 'digits' value of 'text-combine-horizontal' needs tighter wording

On 07/08/2013 11:35 PM, John Daggett wrote:
>
> 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...

Fixed!

~fantasai

Received on Wednesday, 10 July 2013 04:46:30 UTC