- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 15 Apr 2011 22:01:58 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-lists In directory hutz:/tmp/cvs-serv5557 Modified Files: Overview.html Overview.src.html Log Message: Fixed the treatment of 'none' in 'list-style'. Also rearranged the section slightly for better flow. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.html,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- Overview.html 6 Apr 2011 23:47:19 -0000 1.18 +++ Overview.html 15 Apr 2011 22:01:55 -0000 1.19 @@ -31,13 +31,13 @@ <h1>CSS Lists and Counters Module Level 3</h1> - <h2 class="no-num no-toc" id=longstatus-date>W3C Working Draft 6 April + <h2 class="no-num no-toc" id=longstatus-date>W3C Working Draft 15 April 2011</h2> <dl> <dt>This version: - <dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-lists-20110406">http://www.w3.org/TR/2011/WD-css3-lists-20110406</a></dd> --> + <dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-lists-20110415">http://www.w3.org/TR/2011/WD-css3-lists-20110415</a></dd> --> <a href="http://dev.w3.org/csswg/css3-lists">http://dev.w3.org/csswg/css3-lists</a> @@ -1898,9 +1898,35 @@ <pre> UL { list-style: upper-roman inside } /* Any UL */ UL > UL { list-style: circle outside } /* Any UL child of a UL */ -</pre> + </pre> </div> + <p>Using a value of ‘<a href="#none"><code + class=css>none</code></a>’ in the shorthand is potentially + ambiguous, as ‘<a href="#none"><code + class=css>none</code></a>’ is a valid value for both ‘<a + href="#list-style-image"><code + class=property>list-style-image</code></a>’ and ‘<a + href="#list-style-type"><code + class=property>list-style-type</code></a>’; to resolve this + ambiguity, a value of ‘<a href="#none"><code + class=css>none</code></a>’ in the shorthand must be applied to + whichever of the two properties aren't otherwise set by the shorthand. + + <pre class=css-example> +list-style: none disc; +/* Sets the image to ''none'' and the type to ''disc''. */ + +list-style: none url(bullet.png); +/* Sets the image to ''url(bullet.png)'' and the type to ''none''. */ + +list-style: none; +/* Sets both image and type to ''none''. */ + +list-style: none disc url(bullet.png); +/* Syntax error */ + </pre> + <p>Although authors may specify ‘<a href="#list-style"><code class=property>list-style</code></a>’ information directly on list item elements (e.g., LI in HTML), they should do so with care. The @@ -1961,45 +1987,7 @@ <p>Inheritance will transfer the ‘<a href="#list-style"><code class=property>list-style</code></a>’ values from OL and UL elements to LI elements. This is the recommended way to specify list style - information. - - <div class=example> - <p> A URI value may be combined with any other value, as in:</p> - - <pre> -UL { list-style: url("http://png.com/ellipse.png") disc } -</pre> - - <p> In the example above, the ‘<code - class=property>disc</code>’ will be used when the image is - unavailable.</p> - </div> - - <p>A value of ‘<a href="#none"><code class=css>none</code></a>’ - for the ‘<a href="#list-style"><code - class=property>list-style</code></a>’ property sets both ‘<a - href="#list-style-type"><code - class=property>list-style-type</code></a>’ and ‘<a - href="#list-style-image"><code - class=property>list-style-image</code></a>’ to ‘<a - href="#none"><code class=css>none</code></a>’, because it sets the - ‘<a href="#list-style-type"><code - class=property>list-style-type</code></a>’ to ‘<a - href="#none"><code class=css>none</code></a>’ (that is the first - value in the list), and the initial value of the ‘<a - href="#list-style-image"><code - class=property>list-style-image</code></a>’ property, which isn't - listed in that declaration, is ‘<a href="#none"><code - class=css>none</code></a>’. For this reason, - - <pre>LI { list-style: none; }</pre> - - <p>will ensure that no list-item marker is displayed on LI elements, except - if a value is explicitly given to the ‘<code - class=property>content</code>’ property of the ‘<code - class=css>::marker</code>’ pseudo-element. In general, the best way - to ensure that no marker is rendered is to not set the ‘<code - class=property>display</code>’ property to list-item.</p> + information.</p> <!-- ====================================================================== --> <h2 id=marker-pseudoelement><span class=secno>9. </span> Markers: The @@ -2845,7 +2833,7 @@ @counter-style fullwidth-decimal { type: numeric; - glyphs: "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"; + glyphs: "0" "1" "2" "3" "4" "5" "6" "7" "8" "9"; } @counter-style gujarati { @@ -2905,7 +2893,7 @@ @counter-style new-base-60 { type: numeric; - glyphs: "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "L", "M", "N", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"; + glyphs: "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "A" "B" "C" "D" "E" "F" "G" "H" "J" "K" "L" "M" "N" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z" "_" "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "m" "n" "o" "p" "q" "r" "s" "t" "u" "v" "w" "x" "y" "z"; } @counter-style octal { @@ -2958,25 +2946,25 @@ @counter-style afar { type: alphabetic; - glyphs: "ሀ", "ለ", "ሐ", "መ", "ረ", "ሰ", "በ", "ተ", "ነ", "አ", "ከ", "ወ", "ዐ", "የ", "ደ", "ዸ", "ገ", "ጸ", "ፈ"; + glyphs: "ሀ" "ለ" "ሐ" "መ" "ረ" "ሰ" "በ" "ተ" "ነ" "አ" "ከ" "ወ" "ዐ" "የ" "ደ" "ዸ" "ገ" "ጸ" "ፈ"; suffix "/"; } @counter-style agaw { type: alphabetic; - glyphs: "ሀ", "ለ", "ሐ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "ቐ", "በ", "ቨ", "ተ", "ቸ", "ነ", "ኘ", "ጀ", "ገ", "ጘ", "ጠ", "ጨ", "ጰ", "ጸ", "ፈ", "ፐ"; + glyphs: "ሀ" "ለ" "ሐ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "ቐ" "በ" "ቨ" "ተ" "ቸ" "ነ" "ኘ" "ጀ" "ገ" "ጘ" "ጠ" "ጨ" "ጰ" "ጸ" "ፈ" "ፐ"; suffix "/"; } @counter-style ari { type: alphabetic; - glyphs: "ሀ", "ለ", "መ", "ረ", "ሰ", "ሸ", "በ", "ቨ", "ተ", "ቸ", "ነ", "ጀ", "ገ", "ጨ", "ፀ", "ፐ"; + glyphs: "ሀ" "ለ" "መ" "ረ" "ሰ" "ሸ" "በ" "ቨ" "ተ" "ቸ" "ነ" "ጀ" "ገ" "ጨ" "ፀ" "ፐ"; suffix "/"; } @counter-style blin { type: alphabetic; - glyphs: "ሀ", "ለ", "ሐ", "መ", "ሰ", "ሸ", "ረ", "ቀ", "ቐ", "በ", "ተ", "ነ", "ጀ", "ገ", "ጘ", "ጠ", "ጨ", "ፈ", "ቸ", "ኘ", "ጸ", "ጰ", "ፐ"; + glyphs: "ሀ" "ለ" "ሐ" "መ" "ሰ" "ሸ" "ረ" "ቀ" "ቐ" "በ" "ተ" "ነ" "ጀ" "ገ" "ጘ" "ጠ" "ጨ" "ፈ" "ቸ" "ኘ" "ጸ" "ጰ" "ፐ"; suffix "/"; } @@ -2994,53 +2982,43 @@ @counter-style dizi { type: alphabetic; - glyphs: "ሀ", "ለ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ተ", "ቸ", "ነ", "ኘ", "ጀ", "ገ", "ጠ", "ጨ", "ጸ", "ፀ", "ፈ"; + glyphs: "ሀ" "ለ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ተ" "ቸ" "ነ" "ኘ" "ጀ" "ገ" "ጠ" "ጨ" "ጸ" "ፀ" "ፈ"; suffix "/"; } @counter-style fullwidth-lower-alpha { type: alphabetic; - glyphs: "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"; + glyphs: "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s" "t" "u" "v" "w" "x" "y" "z"; suffix: "."; } @counter-style fullwidth-upper-alpha { type: alphabetic; - glyphs: "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"; + glyphs: "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z"; suffix: "."; } @counter-style gedeo { type: alphabetic; - glyphs: "ሀ", "ለ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ተ", "ቸ", "ነ", "ጀ", "ገ", "ጠ", "ጨ", "ጰ", "ጸ", "ፈ", "ፐ"; + glyphs: "ሀ" "ለ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ተ" "ቸ" "ነ" "ጀ" "ገ" "ጠ" "ጨ" "ጰ" "ጸ" "ፈ" "ፐ"; suffix "/"; } @counter-style gumuz { type: alphabetic; - glyphs: "ሀ", "ሐ", "ለ", "ሐ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ቨ", "ተ", "ቸ", "ነ", "ኘ", "ገ", "ጨ", "ጰ", "ፀ", "ፐ"; + glyphs: "ሀ" "ሐ" "ለ" "ሐ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ቨ" "ተ" "ቸ" "ነ" "ኘ" "ገ" "ጨ" "ጰ" "ፀ" "ፐ"; suffix "/"; } @counter-style hadiyya { type: alphabetic; - glyphs: "ሀ", "ለ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ተ", "ቸ", "ነ", "ጀ", "ገ", "ጠ", "ጨ", "ጰ", "ፈ", "ፐ"; + glyphs: "ሀ" "ለ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ተ" "ቸ" "ነ" "ጀ" "ገ" "ጠ" "ጨ" "ጰ" "ፈ" "ፐ"; suffix "/"; } -@counter-style hangul-consonant { - type: alphabetic; - glyphs: "ㄱ" "ㄴ" "ㄷ" "ㄹ" "ㅁ" "ㅂ" "ㅅ" "ㅇ" "ㅈ" "ㅊ" "ㅋ" "ㅌ" "ㅍ" "ㅎ"; -} - -@counter-style hangul { - type: alphabetic; - glyphs: "가" "나" "다" "라" "마" "바" "사" "아" "자" "차" "카" "타" "파" "하"; -} - @counter-style harari { type: alphabetic; - glyphs: "ሐ", "ለ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ተ", "ቸ", "ነ", "ኘ", "ጀ", "ገ", "ጠ", "ጨ", "ፈ"; + glyphs: "ሐ" "ለ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ተ" "ቸ" "ነ" "ኘ" "ጀ" "ገ" "ጠ" "ጨ" "ፈ"; suffix "/"; } @@ -3058,7 +3036,7 @@ @counter-style kaffa { type: alphabetic; - glyphs: "ሀ", "ለ", "ሐ", "መ", "ሠ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ተ", "ቸ", "ኀ", "ነ", "ጀ", "ገ", "ጠ", "ጨ", "ጰ", "ፈ", "ፐ"; + glyphs: "ሀ" "ለ" "ሐ" "መ" "ሠ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ተ" "ቸ" "ኀ" "ነ" "ጀ" "ገ" "ጠ" "ጨ" "ጰ" "ፈ" "ፐ"; suffix "/"; } @@ -3076,25 +3054,35 @@ @counter-style kebena { type: alphabetic; - glyphs: "ሀ", "ለ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ተ", "ቸ", "ነ", "ጀ", "ገ", "ጠ", "ጨ", "ጰ", "ፈ", "ፐ"; + glyphs: "ሀ" "ለ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ተ" "ቸ" "ነ" "ጀ" "ገ" "ጠ" "ጨ" "ጰ" "ፈ" "ፐ"; suffix "/"; } @counter-style kembata { type: alphabetic; - glyphs: "ሀ", "ለ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ቨ", "ተ", "ቸ", "ነ", "ጀ", "ገ", "ጠ", "ጨ", "ጰ", "ፈ"; + glyphs: "ሀ" "ለ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ቨ" "ተ" "ቸ" "ነ" "ጀ" "ገ" "ጠ" "ጨ" "ጰ" "ፈ"; suffix "/"; } @counter-style konso { type: alphabetic; - glyphs: "ሀ", "ለ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ተ", "ቸ", "ነ", "ኘ", "ጀ", "ፈ", "ፐ"; + glyphs: "ሀ" "ለ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ተ" "ቸ" "ነ" "ኘ" "ጀ" "ፈ" "ፐ"; suffix "/"; } +@counter-style korean-consonant { + type: alphabetic; + glyphs: "ㄱ" "ㄴ" "ㄷ" "ㄹ" "ㅁ" "ㅂ" "ㅅ" "ㅇ" "ㅈ" "ㅊ" "ㅋ" "ㅌ" "ㅍ" "ㅎ"; +} + +@counter-style korean-syllable { + type: alphabetic; + glyphs: "가" "나" "다" "라" "마" "바" "사" "아" "자" "차" "카" "타" "파" "하"; +} + @counter-style kunama { type: alphabetic; - glyphs: "ሀ", "ለ", "መ", "ረ", "ሰ", "ሸ", "በ", "ተ", "ቸ", "ነ", "ኘ", "ጀ", "ገ"; + glyphs: "ሀ" "ለ" "መ" "ረ" "ሰ" "ሸ" "በ" "ተ" "ቸ" "ነ" "ኘ" "ጀ" "ገ"; suffix "/"; } @@ -3105,13 +3093,13 @@ @counter-style lower-belorussian { type: alphabetic; - glyphs: "а", "б", "в", "г", "д", "е", "ё", "ж", "з", "і", "й", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ў", "ф", "х", "ц", "ч", "ш", "ы", "ь", "э", "ю", "я"; + glyphs: "а" "б" "в" "г" "д" "е" "ё" "ж" "з" "і" "й" "к" "л" "м" "н" "о" "п" "р" "с" "т" "у" "ў" "ф" "х" "ц" "ч" "ш" "ы" "ь" "э" "ю" "я"; suffix: ")"; } @counter-style lower-bulgarian { type: alphabetic; - glyphs: "а", "б", "в", "г", "д", "е", "ж", "з", "и", "й", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "ъ", "ь", "ю", "я"; + glyphs: "а" "б" "в" "г" "д" "е" "ж" "з" "и" "й" "к" "л" "м" "н" "о" "п" "р" "с" "т" "у" "ф" "х" "ц" "ч" "ш" "щ" "ъ" "ь" "ю" "я"; suffix: ")"; } @@ -3127,7 +3115,7 @@ @counter-style lower-macedonian { type: alphabetic; - glyphs: "а", "б", "в", "г", "д", "ѓ", "е", "ж", "з", "ѕ", "и", "ј", "к", "л", "љ", "м", "н", "њ", "о", "п", "р", "с", "т", "ќ", "у", "ф", "х", "ц", "ч", "џ", "ш"; + glyphs: "а" "б" "в" "г" "д" "ѓ" "е" "ж" "з" "ѕ" "и" "ј" "к" "л" "љ" "м" "н" "њ" "о" "п" "р" "с" "т" "ќ" "у" "ф" "х" "ц" "ч" "џ" "ш"; suffix: ")"; } @@ -3138,77 +3126,77 @@ @counter-style lower-oromo-qubee { type: alphabetic; - glyphs: "a", "aa", "b", "c", "d", "e", "ee", "f", "g", "h", "i", "ii", "j", "k", "l", "m", "n", "o", "oo", "p", "q", "r", "s", "t", "u", "uu", "v", "w", "x", "y", "z", "ch", "dh", "kh" n"y", "ph", "sh"; + glyphs: "a" "aa" "b" "c" "d" "e" "ee" "f" "g" "h" "i" "ii" "j" "k" "l" "m" "n" "o" "oo" "p" "q" "r" "s" "t" "u" "uu" "v" "w" "x" "y" "z" "ch" "dh" "kh" n"y" "ph" "sh"; } @counter-style lower-russian { type: alphabetic; - glyphs: "а", "б", "в", "г", "д", "е", "ж", "з", "и", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "э", "ю", "я"; + glyphs: "а" "б" "в" "г" "д" "е" "ж" "з" "и" "к" "л" "м" "н" "о" "п" "р" "с" "т" "у" "ф" "х" "ц" "ч" "ш" "щ" "э" "ю" "я"; suffix: ")"; } @counter-style lower-russian-full { type: alphabetic; - glyphs: "а", "б", "в", "г", "д", "е", "ё", "ж", "з", "и", "й", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "ъ", "ы", "ь", "э", "ю", "я"; + glyphs: "а" "б" "в" "г" "д" "е" "ё" "ж" "з" "и" "й" "к" "л" "м" "н" "о" "п" "р" "с" "т" "у" "ф" "х" "ц" "ч" "ш" "щ" "ъ" "ы" "ь" "э" "ю" "я"; suffix: ")"; } @counter-style lower-serbo-croatian { type: alphabetic; - glyphs: "а", "б", "в", "г", "д", "ђ", "е", "ж", "з", "и", "ј", "к", "л", "љ", "м", "н", "њ", "о", "п", "р", "с", "т", "ћ", "у", "ф", "х", "ц", "ч", "џ", "ш"; + glyphs: "а" "б" "в" "г" "д" "ђ" "е" "ж" "з" "и" "ј" "к" "л" "љ" "м" "н" "њ" "о" "п" "р" "с" "т" "ћ" "у" "ф" "х" "ц" "ч" "џ" "ш"; suffix: ")"; } @counter-style lower-ukrainian { type: alphabetic; - glyphs: "а", "б", "в", "г", "д", "е", "є", "ж", "з", "и", "і", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "ю", "я"; + glyphs: "а" "б" "в" "г" "д" "е" "є" "ж" "з" "и" "і" "к" "л" "м" "н" "о" "п" "р" "с" "т" "у" "ф" "х" "ц" "ч" "ш" "ю" "я"; suffix: ")"; } @counter-style lower-ukrainian-full { type: alphabetic; - glyphs: "а", "б", "в", "г", "ґ", "д", "е", "є", "ж", "з", "и", "і", "ї", "й", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "ь", "ю", "я"; + glyphs: "а" "б" "в" "г" "ґ" "д" "е" "є" "ж" "з" "и" "і" "ї" "й" "к" "л" "м" "н" "о" "п" "р" "с" "т" "у" "ф" "х" "ц" "ч" "ш" "щ" "ь" "ю" "я"; suffix: ")"; } @counter-style meen { type: alphabetic; - glyphs: "ሀ", "ለ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ተ", "ቸ", "ኀ", "ነ", "ኘ", "ጀ", "ገ", "ጠ", "ጨ", "ጰ", "ፐ", "ፀ"; + glyphs: "ሀ" "ለ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ተ" "ቸ" "ኀ" "ነ" "ኘ" "ጀ" "ገ" "ጠ" "ጨ" "ጰ" "ፐ" "ፀ"; suffix "/"; } @counter-style oromo { type: alphabetic; - glyphs: "ሀ", "ለ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ተ", "ቸ", "ነ", "ኘ", "አ", "ከ", "ወ", "የ", "ደ", "ዸ", "ጀ", "ገ", "ጠ", "ጨ", "ጰ", "ጸ", "ፈ"; + glyphs: "ሀ" "ለ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ተ" "ቸ" "ነ" "ኘ" "አ" "ከ" "ወ" "የ" "ደ" "ዸ" "ጀ" "ገ" "ጠ" "ጨ" "ጰ" "ጸ" "ፈ"; suffix "/"; } @counter-style saho { type: alphabetic; - glyphs: "ሀ", "ለ", "ሐ", "መ", "ረ", "ሰ", "ቀ", "በ", "ተ", "ነ", "ገ", "ጠ", "ጨ", "ጰ", "ጸ", "ፈ"; + glyphs: "ሀ" "ለ" "ሐ" "መ" "ረ" "ሰ" "ቀ" "በ" "ተ" "ነ" "ገ" "ጠ" "ጨ" "ጰ" "ጸ" "ፈ"; suffix "/"; } @counter-style sidama { type: alphabetic; - glyphs: "ሀ", "ለ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ተ", "ቸ", "ነ", "ኘ", "አ", "ከ", "ወ", "የ", "ደ", "ዸ", "ጀ", "ገ", "ጠ", "ጨ", "ጰ", "ጸ", "ፈ"; + glyphs: "ሀ" "ለ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ተ" "ቸ" "ነ" "ኘ" "አ" "ከ" "ወ" "የ" "ደ" "ዸ" "ጀ" "ገ" "ጠ" "ጨ" "ጰ" "ጸ" "ፈ"; suffix "/"; } @counter-style silti { type: alphabetic; - glyphs: "ሀ", "ለ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ተ", "ቸ", "ነ", "ኘ", "ጀ", "ገ", "ጠ", "ጨ", "ጰ", "ፈ"; + glyphs: "ሀ" "ለ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ተ" "ቸ" "ነ" "ኘ" "ጀ" "ገ" "ጠ" "ጨ" "ጰ" "ፈ"; suffix "/"; } @counter-style thai-alphabetic { type: alphabetic; - glyphs: "ก", "ข", "ค", "ง", "จ", "ฉ", "ช", "ซ", "ฌ", "ญ", "ฎ", "ฏ", "ฐ", "ฑ", "ฒ", "ณ", "ด", "ต", "ถ", "ท", "ธ", "น", "บ", "ป", "ผ", "ฝ", "พ", "ฟ", "ภ", "ม", "ย", "ร", "ล", "ว", "ศ", "ษ", "ส", "ห", "ฬ", "อ", "ฮ"; + glyphs: "ก" "ข" "ค" "ง" "จ" "ฉ" "ช" "ซ" "ฌ" "ญ" "ฎ" "ฏ" "ฐ" "ฑ" "ฒ" "ณ" "ด" "ต" "ถ" "ท" "ธ" "น" "บ" "ป" "ผ" "ฝ" "พ" "ฟ" "ภ" "ม" "ย" "ร" "ล" "ว" "ศ" "ษ" "ส" "ห" "ฬ" "อ" "ฮ"; } @counter-style tigre { type: alphabetic; - glyphs: "ሀ", "ለ", "ሐ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ተ", "ቸ", "ነ", "አ", "ከ", "ወ", "ዐ", "ዘ", "የ", "ደ", "ጀ", "ገ", "ጠ", "ጨ", "ጰ", "ጸ", "ፈ", "ፐ"; + glyphs: "ሀ" "ለ" "ሐ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ተ" "ቸ" "ነ" "አ" "ከ" "ወ" "ዐ" "ዘ" "የ" "ደ" "ጀ" "ገ" "ጠ" "ጨ" "ጰ" "ጸ" "ፈ" "ፐ"; suffix "/"; } @@ -3219,12 +3207,12 @@ @counter-style upper-belorussian { type: alphabetic; - glyphs: "А", "Б", "В", "Г", "Д", "Е", "Ё", "Ж", "З", "І", "Й", "К", "Л", "М", "Н", "О", "П", "Р", "С", "Т", "У", "Ў", "Ф", "Х", "Ц", "Ч", "Ш", "Ы", "Ь", "Э", "Ю", "Я"; + glyphs: "А" "Б" "В" "Г" "Д" "Е" "Ё" "Ж" "З" "І" "Й" "К" "Л" "М" "Н" "О" "П" "Р" "С" "Т" "У" "Ў" "Ф" "Х" "Ц" "Ч" "Ш" "Ы" "Ь" "Э" "Ю" "Я"; } @counter-style upper-bulgarian { type: alphabetic; - glyphs: "А", "Б", "В", "Г", "Д", "Е", "Ж", "З", "И", "Й", "К", "Л", "М", "Н", "О", "П", "Р", "С", "Т", "У", "Ф", "Х", "Ц", "Ч", "Ш", "Щ", "Ъ", "Ь", "Ю", "Я"; + glyphs: "А" "Б" "В" "Г" "Д" "Е" "Ж" "З" "И" "Й" "К" "Л" "М" "Н" "О" "П" "Р" "С" "Т" "У" "Ф" "Х" "Ц" "Ч" "Ш" "Щ" "Ъ" "Ь" "Ю" "Я"; } @counter-style upper-greek { @@ -3239,7 +3227,7 @@ @counter-style upper-macedonian { type: alphabetic; - glyphs: "А", "Б", "В", "Г", "Д", "Ѓ", "Е", "Ж", "З", "Ѕ", "И", "Ј", "К", "Л", "Љ", "М", "Н", "Њ", "О", "П", "Р", "С", "Т", "Ќ", "У", "Ф", "Х", "Ц", "Ч", "Џ", "Ш"; + glyphs: "А" "Б" "В" "Г" "Д" "Ѓ" "Е" "Ж" "З" "Ѕ" "И" "Ј" "К" "Л" "Љ" "М" "Н" "Њ" "О" "П" "Р" "С" "Т" "Ќ" "У" "Ф" "Х" "Ц" "Ч" "Џ" "Ш"; } @counter-style upper-norwegian { @@ -3249,43 +3237,43 @@ @counter-style upper-oromo-qubee { type: alphabetic; - glyphs: "A", "AA", "B", "C", "D", "E", "EE", "F", "G", "H", "I", "II", "J", "K", "L", "M", "N", "O", "OO", "P", "Q", "R", "S", "T", "U", "UU", "V", "W", "X", "Y", "Z", "CH", "DH", "KH", "NY", "PH", "SH"; + glyphs: "A" "AA" "B" "C" "D" "E" "EE" "F" "G" "H" "I" "II" "J" "K" "L" "M" "N" "O" "OO" "P" "Q" "R" "S" "T" "U" "UU" "V" "W" "X" "Y" "Z" "CH" "DH" "KH" "NY" "PH" "SH"; } @counter-style upper-russian { type: alphabetic; - glyphs: "А", "Б", "В", "Г", "Д", "Е", "Ж", "З", "И", "К", "Л", "М", "Н", "О", "П", "Р", "С", "Т", "У", "Ф", "Х", "Ц", "Ч", "Ш", "Щ", "Э", "Ю", "Я"; + glyphs: "А" "Б" "В" "Г" "Д" "Е" "Ж" "З" "И" "К" "Л" "М" "Н" "О" "П" "Р" "С" "Т" "У" "Ф" "Х" "Ц" "Ч" "Ш" "Щ" "Э" "Ю" "Я"; } @counter-style upper-russian-full { type: alphabetic; - glyphs: "А", "Б", "В", "Г", "Д", "Е", "Ё", "Ж", "З", "И", "Й", "К", "Л", "М", "Н", "О", "П", "Р", "С", "Т", "У", "Ф", "Х", "Ц", "Ч", "Ш", "Щ", "Ъ", "Ы", "Ь", "Э", "Ю", "Я"; + glyphs: "А" "Б" "В" "Г" "Д" "Е" "Ё" "Ж" "З" "И" "Й" "К" "Л" "М" "Н" "О" "П" "Р" "С" "Т" "У" "Ф" "Х" "Ц" "Ч" "Ш" "Щ" "Ъ" "Ы" "Ь" "Э" "Ю" "Я"; } @counter-style upper-serbo-croatian { type: alphabetic; - glyphs: "А", "Б", "В", "Г", "Д", "Ђ", "Е", "Ж", "З", "И", "Ј", "К", "Л", "Љ", "М", "Н", "Њ", "О", "П", "Р", "С", "Т", "Ћ", "У", "Ф", "Х", "Ц", "Ч", "Џ", "Ш"; + glyphs: "А" "Б" "В" "Г" "Д" "Ђ" "Е" "Ж" "З" "И" "Ј" "К" "Л" "Љ" "М" "Н" "Њ" "О" "П" "Р" "С" "Т" "Ћ" "У" "Ф" "Х" "Ц" "Ч" "Џ" "Ш"; } @counter-style upper-ukrainian { type: alphabetic; - glyphs: "А", "Б", "В", "Г", "Д", "Е", "Є", "Ж", "З", "И", "І", "К", "Л", "М", "Н", "О", "П", "Р", "С", "Т", "У", "Ф", "Х", "Ц", "Ч", "Ш", "Ю", "Я"; + glyphs: "А" "Б" "В" "Г" "Д" "Е" "Є" "Ж" "З" "И" "І" "К" "Л" "М" "Н" "О" "П" "Р" "С" "Т" "У" "Ф" "Х" "Ц" "Ч" "Ш" "Ю" "Я"; } @counter-style upper-ukrainian-full { type: alphabetic; - glyphs: "А", "Б", "В", "Г", "Ґ", "Д", "Е", "Є", "Ж", "З", "И", "І", "Ї", "Й", "К", "Л", "М", "Н", "О", "П", "Р", "С", "Т", "У", "Ф", "Х", "Ц", "Ч", "Ш", "Щ", "Ь", "Ю", "Я"; + glyphs: "А" "Б" "В" "Г" "Ґ" "Д" "Е" "Є" "Ж" "З" "И" "І" "Ї" "Й" "К" "Л" "М" "Н" "О" "П" "Р" "С" "Т" "У" "Ф" "Х" "Ц" "Ч" "Ш" "Щ" "Ь" "Ю" "Я"; } @counter-style wolaita { type: alphabetic; - glyphs: "ሀ", "ለ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ተ", "ቸ", "ነ", "ኘ", "ሰ", "ገ", "ጠ", "ጨ", "ጰ", "ጸ", "ፀ", "ፈ", "ፐ"; + glyphs: "ሀ" "ለ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ተ" "ቸ" "ነ" "ኘ" "ሰ" "ገ" "ጠ" "ጨ" "ጰ" "ጸ" "ፀ" "ፈ" "ፐ"; suffix "/"; } @counter-style yemsa { type: alphabetic; - glyphs: "ሀ", "ለ", "መ", "ረ", "ሰ", "ሸ", "ቀ", "በ", "ቨ", "ተ", "ቸ", "ነ", "ኘ", "ጀ", "ገ", "ጘ", "ጠ", "ጨ", "ጰ", "ፈ", "ፐ"; + glyphs: "ሀ" "ለ" "መ" "ረ" "ሰ" "ሸ" "ቀ" "በ" "ቨ" "ተ" "ቸ" "ነ" "ኘ" "ጀ" "ገ" "ጘ" "ጠ" "ጨ" "ጰ" "ፈ" "ፐ"; suffix "/"; } @@ -3309,7 +3297,7 @@ @counter-style circled-decimal { type: non-repeating 0; - glyphs: "⓪" "①" "②" "③" "④" "⑤" "⑥" "⑦" "⑧" "⑨" "⑩" "⑪" "⑫" "⑬" "⑭" "⑮" "⑯" "⑰" "⑱" "⑲" "⑳" ; + glyphs: "⓪" "①" "②" "③" "④" "⑤" "⑥" "⑦" "⑧" "⑨" "⑩" "⑪" "⑫" "⑬" "⑭" "⑮" "⑯" "⑰" "⑱" "⑲" "⑳"; suffix: ""; } @@ -3325,6 +3313,18 @@ suffix: ""; } +@counter-style circled-korean-consonants { + type: non-repeating 1; + glyphs: "㉠" "㉡" "㉢" "㉣" "㉤" "㉥" "㉦" "㉧" "㉨" "㉩" "㉪" "㉫" "㉬" "㉭"; + suffix: ""; +} + +@counter-style circled-korean-syllables { + type: non-repeating 1; + glyphs: "㉮" "㉯" "㉰" "㉱" "㉲" "㉳" "㉴" "㉵" "㉶" "㉷" "㉸" "㉹" "㉺" "㉻"; + suffix: ""; +} + @counter-style decimal-leading-zero { type: non-repeating -9; glyphs: "-09" "-08" "-07" "-06" "-05" "-04" "-03" "-02" "-01" "00" "01" "02" "03" "04" "05" "06" "07" "08" "09"; @@ -3361,26 +3361,38 @@ suffix: ""; } -@counter-style parenthesised-decimal { +@counter-style parenthesized-decimal { type: non-repeating 1; glyphs: "⑴" "⑵" "⑶" "⑷" "⑸" "⑹" "⑺" "⑻" "⑼" "⑽" "⑾" "⑿" "⒀" "⒁" "⒂" "⒃" "⒄" "⒅" "⒆" "⒇"; suffix: ""; } -@counter-style parenthesised-lower-latin { +@counter-style parenthesized-lower-latin { type: non-repeating 1; glyphs: "⒜" "⒝" "⒞" "⒟" "⒠" "⒡" "⒢" "⒣" "⒤" "⒥" "⒦" "⒧" "⒨" "⒩" "⒪" "⒫" "⒬" "⒭" "⒮" "⒯" "⒰" "⒱" "⒲" "⒳" "⒴" "⒵"; suffix: ""; } +@counter-style parenthesized-hangul-consonants { + type: non-repeating 1; + glyphs: "㈀" "㈁" "㈂" "㈃" "㈄" "㈅" "㈆" "㈇" "㈈" "㈉" "㈊" "㈋" "㈌" "㈍"; + suffixcounter +} + +@: "";-style parenthesized-hangul-syllable { + type: non-repeating 1; + glyphs: "㈎" "㈏" "㈐" "㈑" "㈒" "㈓" "㈔" "㈕" "㈖" "㈗" "㈘" "㈙" "㈚"; + suffix: ""; +} + @counter-style persian-abjad { type: non-repeating 1; - glyphs: "ا", "ب", "ج", "د", "ه", "و", "ز", "ح", "ط", "ی", "ک", "ل", "م", "ن", "س", "ع", "ف", "ص", "ق", "ر", "ش", "ت", "ث", "خ", "ذ", "ض", "ظ", "غ"; + glyphs: "ا" "ب" "ج" "د" "ه" "و" "ز" "ح" "ط" "ی" "ک" "ل" "م" "ن" "س" "ع" "ف" "ص" "ق" "ر" "ش" "ت" "ث" "خ" "ذ" "ض" "ظ" "غ"; } @counter-style persian-alphabetic { type: non-repeating 1; - glyphs: "ا", "ب", "پ", "ت", "ث", "ج", "چ", "ح", "خ", "د", "ذ", "ر", "ز", "ژ", "س", "ش", "ص", "ض", "ط", "ظ", "ع", "غ", "ف", "ق", "ک", "گ", "ل", "م", "ن", "و", "ه", "ی"; + glyphs: "ا" "ب" "پ" "ت" "ث" "ج" "چ" "ح" "خ" "د" "ذ" "ر" "ز" "ژ" "س" "ش" "ص" "ض" "ط" "ظ" "ع" "غ" "ف" "ق" "ک" "گ" "ل" "م" "ن" "و" "ه" "ی"; } Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v retrieving revision 1.54 retrieving revision 1.55 diff -u -d -r1.54 -r1.55 --- Overview.src.html 14 Apr 2011 00:50:59 -0000 1.54 +++ Overview.src.html 15 Apr 2011 22:01:56 -0000 1.55 @@ -1249,9 +1249,29 @@ <pre> UL { list-style: upper-roman inside } /* Any UL */ UL > UL { list-style: circle outside } /* Any UL child of a UL */ -</pre> + </pre> </div> + <p>Using a value of ''none'' in the shorthand + is potentially ambiguous, as ''none'' is a valid value for both 'list-style-image' + and 'list-style-type'; to resolve this ambiguity, a value of ''none'' in the + shorthand must be applied to whichever of the two properties aren't otherwise + set by the shorthand.</p> + + <pre class='css-example'> +list-style: none disc; +/* Sets the image to ''none'' and the type to ''disc''. */ + +list-style: none url(bullet.png); +/* Sets the image to ''url(bullet.png)'' and the type to ''none''. */ + +list-style: none; +/* Sets both image and type to ''none''. */ + +list-style: none disc url(bullet.png); +/* Syntax error */ + </pre> + <p>Although authors may specify 'list-style' information directly on list item elements (e.g., LI in HTML), they should do so with care. The following rules look similar, but the first declares a descendant selector and the second a (more specific) child selector.</p> @@ -1307,25 +1327,6 @@ <p>Inheritance will transfer the 'list-style' values from OL and UL elements to LI elements. This is the recommended way to specify list style information.</p> - <div class="example"> - <p> A URI value may be combined with any other value, as in:</p> - - <pre> -UL { list-style: url("http://png.com/ellipse.png") disc } -</pre> - <p> In the example above, the 'disc' will be used when the image is unavailable.</p> - </div> - - <p>A value of ''none'' for the 'list-style' property sets both 'list-style-type' - and 'list-style-image' to ''none'', because it sets the 'list-style-type' to ''none'' - (that is the first value in the list), and the initial value of the 'list-style-image' - property, which isn't listed in that declaration, is ''none''. For this reason,</p> - - <pre>LI { list-style: none; }</pre> - - <p>will ensure that no list-item marker is displayed on LI elements, except if a value is explicitly - given to the 'content' property of the ''::marker'' pseudo-element. In general, the best way to ensure that no marker - is rendered is to not set the 'display' property to list-item.</p> <!-- ====================================================================== -->
Received on Friday, 15 April 2011 22:02:03 UTC