Re: i18n-ISSUE-362: [css-counter-styles] In the document language

On 2015/09/25 02:03, Richard Ishida wrote:
> 3.9 Speech Synthesis: the speak-as descriptor
> http://dev.w3.org/csswg/css-counter-styles/#counter-style-speak-as
>
>
> I guess that 'in the document language' actually means in the language
> most recently declared

That sounds like tag soup parsing. What we want to say is that it's the 
language that applies to the element in question.

A simple example of what I mean:

<ol lang='en'>
   <li>First</li>
   <li lang='fr'>Second</li>
   <li>Third</li>
</ol>

If this is rendered as:

1. First
2. Second
3. Third

and the numbers are spoken as numbers, then I'd expect this to be read:

'one' First
'deux' Second
'three' Third

and not:

'one' First
'deux' Second
'trois' Third

which would be what "the language most recently declared" would imply.

Another question: Are there languages where we need to be able to 
distinguish between reading numbers as ordinals and as cardinals? Or 
languages where there are other distinctions between numbers that may 
have to be made?

Regards,    Martin.



> for the text where the counter appears, which may
> not be the same as that declared for the document as a whole.
>
> if that is indeed what is meant, i such we make an editorial change to
> replace 'in the document language' with something more precise.
>
> (btw, bullets is the only value that doesn't say 'in the document
> language", but i think it or its replacement is equally applicable here.
> If the list is in French, the French word for the UA defined phrase
> needs to be used.)
>
> ri
>
> .
>

Received on Friday, 25 September 2015 01:37:57 UTC