[CSS3 Lists] Simplifying list styles

Hi

I've cursed before over the sheer number of list-styles in the CSS 3 Lists 
module. I've just been back and implemented a few more of the more essential 
styles and noticed a few opportunities for simplification.

First of all I think it is inconceivable and undesirable to define every 
single alphabet in CSS 3. Instead I propose we do exactly the same that have 
been done with quotes. 
We define a "list-style-alphabet" property where web designers can specify a 
specific alphabet they might need, and in list-style-type we add an 
"alphabet" style that uses the defined list-style-alphabet.

The definition of list-style-alphabet could be:
list-style-alphabet: [<string]+ | lower-latin | upper-latin | lower-greek | 
none

The same could be done with all decimal styles. The default decimal style 
would the current latin one, but others could easily be defined:
list-style-decimal: [<string]+ | latin | arabic-indic | persian-urdu | none

As for the ideographic, it could be simplified with a
list-style-ideographic: [traditional-chinese | simple-chinese | japanese] 
[formal | informal]

The definition of these properties could also be advised to be set 
automatically by the user agent when LANG is set, just as with quotes.

Left in list-style-type would now only be the CSS 2.1 values, and the few new  
algorithmic: ethopian, syriac, tamil

As one last comment, I would really wish ::marker was moved to CSS 2.1, just 
to replace the already deprecated display : marker.


`Allan

Received on Saturday, 28 May 2005 15:36:10 UTC