- From: Simon Sapin <simon.sapin@kozea.fr>
- Date: Wed, 10 Oct 2012 09:32:34 +0200
- To: www-style@w3.org
Le 10/10/2012 01:39, Tab Atkins Jr. a écrit : > To address this, fantasai and I have drafted a 'speak-as' descriptor > for @counter-style, with values that correspond to the three > categories that Daniel split the list styles into, plus a fallback > value.<http://dev.w3.org/csswg/css-counter-styles-3/#counter-style-speak-as> > > Thoughts? Review? Okay to keep in the draft? Hi, I don’t know enough about Speech to comment on a higher level (like if this is the right solution to the problem), but I see two small issues with the current text. First, 'speak-as' should explicitly behave like 'fallback' when using <counter-style-name>. Two scenarios need to be defined: what if there is no counter style with that name, and what if we end up in a loop. Second, the property mixes pre-defined keywords and user-defined idents with the same syntax. This has several consequences: What if I have a counter style named "bullet"? This is not a problem with list-style-type: re-defining an existing style (even built-in) is well-defined. But with 'speak-as' the two kinds of idents are of a more different nature. Also, can future levels add pre-defined keywords? (What about existing content what that keyword was a <counter-style-name>?) Finally, whatever we decide language-wide on case sensitivity for idents will apply here. -- Simon Sapin
Received on Wednesday, 10 October 2012 07:33:07 UTC