-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added examples for myanmar lists in css3
- Loading branch information
Showing
2 changed files
with
275 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Page Title</title> | ||
<style type="text/css"> | ||
body {font-family:Padauk, Tharlon;} | ||
h1:before { | ||
content: counter(chapt, -moz-myanmar) "။" ; | ||
content: counter(chapt, myanmar) "။" ; | ||
padding-right: 0.5em; | ||
} | ||
h1 { | ||
counter-increment: chapt; | ||
counter-reset: section; | ||
} | ||
h2:before { | ||
content: counter(chapt, -moz-myanmar) "." counter(section, -moz-myanmar) "။" ; | ||
content: counter(chapt, myanmar) "." counter(section, myanmar) "။" ; | ||
padding-right: 0.5em; | ||
} | ||
h2 { | ||
counter-increment: section; | ||
margin: 1.0em; | ||
} | ||
|
||
|
||
h3:before { | ||
content: counter(chapt, -moz-myanmar) "." counter(section, -moz-myanmar) "." counter(subsection, -moz-myanmar) "။" ; | ||
content: counter(chapt, myanmar) "." counter(section, myanmar) "." counter(subsection, myanmar) "။" ; | ||
padding-right: 0.5em; | ||
} | ||
h3 { | ||
counter-increment: subsection; | ||
margin: 1.0em; | ||
} | ||
|
||
|
||
</style> | ||
</head> | ||
<body> | ||
<h1>အင်္ဂလိပ်</h1> | ||
<h2>ဩစတြေးလျှ အင်္ဂလိပ်</h2> | ||
<h2>ကနေဒါ အင်္ဂလိပ်</h2> | ||
<h2>ဗြိတိသျှ အင်္ဂလိပ်</h2> | ||
<h1>ကိုးရီးယား</h1> | ||
<h1>တရုတ်</h1> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,226 @@ | ||
<!DOCTYPE html> | ||
|
||
<html lang="en"> | ||
<head> | ||
<title>Testing Burmese lists</title> | ||
<meta charset="utf-8"> | ||
<style> | ||
body {font: 1.0em sans-serif;} | ||
*:lang(my) {font: 1.0em Padauk,Tharlon;} | ||
/* CSS Counter Styles support */ | ||
/* http://dev.w3.org/csswg/css-counter-styles/ */ | ||
|
||
@counter-style myanmar-digits { | ||
system: numeric; | ||
symbols: '\1040' '\1041' '\1042' '\1043' '\1044' '\1045' '\1046' '\1047' '\1048' '\1049'; | ||
/* symbols: '၀' '၁' '၂' '၃' '၄' '၅' '၆' '၇' '၈' '၉'; */ | ||
prefix: "("; | ||
suffix: ") "; | ||
} | ||
|
||
@counter-style myanmar-consonant { | ||
system: alphabetic; | ||
symbols: '\1000' '\1001' '\1002' '\1003' '\1004' '\1005' '\1006' '\1007' '\1008' '\100A' '\100B' '\100C' '\100D' '\100E' '\100F' '\1010' '\1011' '\1012' '\1013' '\1014' '\1015' '\1016' '\1017' '\1018' '\1019' '\101A' '\101B' '\101C' '\101D' '\101E' '\101F' '\1020' '\1021'; | ||
/* symbols: က ခ ဂ ဃ င စ ဆ ဇ ဈ ည ဋ ဌ ဍ ဎ တ ထ ဒ ဓ န ပ ဖ ဗ ဘ မ ယ ရ လ ဝ သ ဟ ဠ အ; */ | ||
prefix: "("; | ||
suffix: ") "; | ||
} | ||
|
||
@counter-style dash { | ||
system: cyclic; | ||
symbols: \2013; | ||
/* – */ | ||
suffix: " "; | ||
} | ||
|
||
|
||
ol {list-style: -moz-myanmar; list-style: myanmar; list-style: myanmar-digits;} | ||
ul {list-style: dash;} | ||
/* ol>ol {list-style: -moz-myanmar; list-style: myanmar; list-style: myanmar-consonant;} */ | ||
ol ol {list-style: -moz-myanmar; list-style: myanmar; list-style: myanmar-consonant;} | ||
ol ol ol {list-style: -moz-myanmar; list-style: myanmar; list-style: myanmar-digits;} | ||
</style> | ||
|
||
</head> | ||
<body> | ||
<h1>Testing Burmese lists – Numeric list</h1> | ||
<h2>Langauge names</h2> | ||
|
||
<p><strong>Expected behaviour:</strong> List markers are Myanmar digits.</p> | ||
<ol> | ||
<li>Arabic – <span lang="my">အာရေဗီ</span> | ||
<ol> | ||
<li>Modern Standard Arabic – <span lang="my">အရေဗီ(ပုံမှန်)</span></li> | ||
</ol> | ||
</li> | ||
<li>Abkhazian – <span lang="my">အက်ခါဇူအနျ</span></li> | ||
<li>Afrikaans – <span lang="my">အာဖရိကန်းစ်</span></li> | ||
<li>Albanian – <span lang="my">အယ်လ်ဘေးနီးယန်း</span></li> | ||
<li>Amharic – <span lang="my">အန်ဟာရစျချ</span></li> | ||
<li>Armenian – <span lang="my">အာမေနီအန်</span></li> | ||
<li>Assamese – <span lang="my">အက္စမီစ်</span></li> | ||
<li>Azerbaijani – <span lang="my">အော်ဇောဘိုင်ဂျောနီ</span></li> | ||
<li>Balinese – <span lang="my">ဘာလီ</span></li> | ||
<li>Basaa – <span lang="my">ဘာဆာ</span></li> | ||
<li>Basque – <span lang="my">ဘစ်က္ကီ</span></li> | ||
<li>Belarusian – <span lang="my">ဘီလာရု</span></li> | ||
<li>Bengali – <span lang="my">ဘင်္ဂါလီ</span></li> | ||
<li>Bosnian – <span lang="my">ဘော့စ်နီးယား</span></li> | ||
<li>Bulgarian – <span lang="my">ဘူဂေးရီးယား</span></li> | ||
<li>Burmese – <span lang="my">ဗမာ</span></li> | ||
<li>Catalan – <span lang="my">ကာတာလန်</span></li> | ||
<li>Chechen – <span lang="my">ချေချင်း</span></li> | ||
<li>Cherokee – <span lang="my">ချာရိုကီ</span></li> | ||
<li>Chinese – <span lang="my">တရုတ်</span> | ||
<ol> | ||
<li>Simplified Chinese – <span lang="my">ရိုးရှင်းသော တရုတ်</span></li> | ||
<li>Traditional Chinese – <span lang="my">ရှေးရိုးစဉ်လာ တရုတ်</span></li> | ||
</ol> | ||
</li> | ||
<li>Cree – <span lang="my">ခရီး</span></li> | ||
<li>Croatian – <span lang="my">ခရိုအေရှန်</span></li> | ||
<li>Czech – <span lang="my">ချက်</span></li> | ||
<li>Dakota – <span lang="my">ဒါကိုတာ</span></li> | ||
<li>Danish – <span lang="my">ဒိန်းမတ်</span></li> | ||
<li>Delaware – <span lang="my">ဒီလာဝဲ</span></li> | ||
<li>Dutch – <span lang="my">ဒတ်ချ်</span></li> | ||
<li>Dzongkha – <span lang="my">ဒွန်ကာ</span></li> | ||
<li>Eastern Frisian – <span lang="my">အရှေ့ပိုင်း ဖရီစီရန်</span></li> | ||
<li>English – <span lang="my">အင်္ဂလိပ်</span> | ||
<ol> | ||
<li>American English – <span lang="my">အမေရိကန် အင်္ဂလိပ်</span></li> | ||
<li>Australian English – <span lang="my">ဩစတြေးလျှ အင်္ဂလိပ်</span></li> | ||
<li>British English – <span lang="my">ဗြိတိသျှ အင်္ဂလိပ်</span></li> | ||
<li>Canadian English – <span lang="my">ကနေဒါ အင်္ဂလိပ်</span></li> | ||
<li>U.K. English – <span lang="my">အင်္ဂလိပ်(ယူကေ)</span></li> | ||
<li>U.S. English – <span lang="my">အင်္ဂလိပ်(ယူအက်စ်)</span></li> | ||
</ol> | ||
</li> | ||
<li>Esperanto – <span lang="my">အက္စပရန္တို</span></li> | ||
<li>Estonian – <span lang="my">အက်စ်တိုးနီးရန်း</span></li> | ||
<li>Faroese – <span lang="my">ဖာရိုအိစ်</span></li> | ||
<li>Fijian – <span lang="my">ဖီဂျီ</span></li> | ||
<li>Filipino – <span lang="my">ဖိလစ်ပီနို</span></li> | ||
<li>Finnish – <span lang="my">ဖင်နစ်ရှ်</span></li> | ||
<li>Flemish – <span lang="my">ဖလီမစ်ရှ်</span></li> | ||
<li>French – <span lang="my">ပြင်သစ်</span> | ||
<ol> | ||
<li>Canadian French – <span lang="my">ကနေဒါ ပြင်သစ်</span></li> | ||
<li>Swiss French – <span lang="my">ဆွစ် ပြင်သစ်</span></li> | ||
</ol> | ||
</li> | ||
<li>Galician – <span lang="my">ဂါလာစီယံ</span></li> | ||
<li>Georgian – <span lang="my">ဂျော်ဂျီယန်</span></li> | ||
<li>German – <span lang="my">ဂျာမန်</span> | ||
<ol> | ||
<li>Swiss German – <span lang="my">ဆွစ် ဂျာမန်</span></li> | ||
<li>Austrian German – <span lang="my">ဩစတြီးယ ဂျာမန်</span></li> | ||
</ol> | ||
</li> | ||
<li>Guarani – <span lang="my">ဂူအာရာနီ</span></li> | ||
<li>Gujarati – <span lang="my">ဂူဂျာရသီ</span></li> | ||
<li>Haitian – <span lang="my">ဟာအီတီအန်</span></li> | ||
<li>Hausa – <span lang="my">ဟာဥစာ</span></li> | ||
<li>Hawaiian – <span lang="my">ဟာဝေယံ</span></li> | ||
<li>Hebrew – <span lang="my">ဟီးဘရူး</span></li> | ||
<li>Hindi – <span lang="my">ဟိန္ဒီ</span></li> | ||
<li>Hungarian – <span lang="my">ဟန်ဂေရီ</span></li> | ||
<li>Icelandic – <span lang="my">အိုင်စ်လန္ဒီ</span></li> | ||
<li>Igbo – <span lang="my">အစ္ဂဘို</span></li> | ||
<li>Indonesian – <span lang="my">အင်ဒိုနီးရှား</span></li> | ||
<li>Irish – <span lang="my">အိုင်းရစ်</span></li> | ||
<li>Italian – <span lang="my">အီတလီ</span></li> | ||
<li>Japanese – <span lang="my">ဂျပန်</span></li> | ||
<li>Javanese – <span lang="my">ဂျာဗားနီးစ်</span></li> | ||
<li>Kachin – <span lang="my">ကချင်</span></li> | ||
<li>Kannada – <span lang="my">ကန္နာဒါ</span></li> | ||
<li>Kashmiri – <span lang="my">ကက်ရှ်မီရီ</span></li> | ||
<li>Kazakh – <span lang="my">ခါဇါခ်</span></li> | ||
<li>Khasi – <span lang="my">ခါစီ</span></li> | ||
<li>Kongo – <span lang="my">ကွန်ဂို</span></li> | ||
<li>Korean – <span lang="my">ကိုးရီးယား</span></li> | ||
<li>Kurdish – <span lang="my">ကဒ်</span></li> | ||
<li>Kyrgyz – <span lang="my">ခရူဂစ်</span></li> | ||
<li>Lao – <span lang="my">လာအို</span></li> | ||
<li>Latin – <span lang="my">လက်တင်</span></li> | ||
<li>Latvian – <span lang="my">လက္ဘီအံ</span></li> | ||
<li>Lithuanian – <span lang="my">လစ္သူအာနီယံ</span></li> | ||
<li>Luxembourgish – <span lang="my">လူဇင်ဘတ်က်</span></li> | ||
<li>Macedonian – <span lang="my">မာစီဒိုနီယံ</span></li> | ||
<li>Malagasy – <span lang="my">အာလာဂါစီ</span></li> | ||
<li>Malay – <span lang="my">မလေး</span></li> | ||
<li>Malayalam – <span lang="my">မလေးရာလမ်</span></li> | ||
<li>Maltese – <span lang="my">မောလ္တီစ်</span></li> | ||
<li>Manchu – <span lang="my">မန်ချူး</span></li> | ||
<li>Manipuri – <span lang="my">မနိပူရီ</span></li> | ||
<li>Maori – <span lang="my">မောင်းရီ</span></li> | ||
<li>Marathi – <span lang="my">မာရသီ</span></li> | ||
<li>Mongolian – <span lang="my">မွန်ဂိုလီးယန်း</span></li> | ||
<li>Nepali – <span lang="my">နီပါလီ</span></li> | ||
<li>Northern Frisian – <span lang="my">မြောက်ပိုင်း ဖရီစီရန်</span></li> | ||
<li>Norwegian – <span lang="my">နော်ဝေး</span> | ||
<ol> | ||
<li>Norwegian Bokmål – <span lang="my">ဘွတ်မော်လ်</span></li> | ||
<li>Norwegian Nynorsk – <span lang="my">နော်ဝေး နီးနော်စ်ခ်</span></li> | ||
</ol> | ||
</li> | ||
<li>Oriya – <span lang="my">အိုရီရာ</span></li> | ||
<li>Pali – <span lang="my">ပါဠိ</span></li> | ||
<li>Pashto – <span lang="my">ပါရှ်တို</span></li> | ||
<li>Persian – <span lang="my">ပါရှန်</span></li> | ||
<li>Polish – <span lang="my">ပိုလန်</span></li> | ||
<li>Portuguese – <span lang="my">ပေါ်တူဂီ</span> | ||
<ol> | ||
<li>Brazilian Portuguese – <span lang="my">ဘရာဇီး ပေါ်တူဂီ</span></li> | ||
</ol> | ||
</li> | ||
<li>Punjabi – <span lang="my">ပန်ချာပီ</span></li> | ||
<li>Quechua – <span lang="my">ခက်ချ်ဝါ</span></li> | ||
<li>Romanian – <span lang="my">ရိုမေနီယား</span></li> | ||
<li>Romansh – <span lang="my">ရောမ</span></li> | ||
<li>Russian – <span lang="my">ရုရှ</span></li> | ||
<li>Sanskrit – <span lang="my">သင်္သကရိုက်</span></li> | ||
<li>Scots – <span lang="my">စကော့</span></li> | ||
<li>Serbian – <span lang="my">ဆားဗီးယန်း</span></li> | ||
<li>Shan – <span lang="my">ရှမ်း</span></li> | ||
<li>Sichuan Yi – <span lang="my">စီချွမ် ရီ</span></li> | ||
<li>Sindhi – <span lang="my">စင်ဒီ</span></li> | ||
<li>Sinhala – <span lang="my">ဆင်ဟာလ</span></li> | ||
<li>Slovak – <span lang="my">စလိုဗက်</span></li> | ||
<li>Slovenian – <span lang="my">စလိုဗေးနီးယမ်း</span></li> | ||
<li>Somali – <span lang="my">ဆိုမာလီ</span></li> | ||
<li>Southern Sami – <span lang="my">တောင်ပိုင်း ဆာမိ</span></li> | ||
<li>Spanish – <span lang="my">စပိန်</span> | ||
<ol> | ||
<li>European Spanish – <span lang="my">စပိန်(ဥရောပ)</span></li> | ||
<li>Latin American Spanish – <span lang="my">လက်တင်အမေရိက စပိန်</span></li> | ||
</ol> | ||
</li> | ||
<li>Standard Moroccan Tamazight – <span lang="my">မိုရိုကန် တွမ်မဇိုတ် စံ</span></li> | ||
<li>Sundanese – <span lang="my">ဆူဒန်</span></li> | ||
<li>Swahili – <span lang="my">ဆြာဟီလီ</span></li> | ||
<li>Swedish – <span lang="my">ဆွီဒင်</span></li> | ||
<li>Tajik – <span lang="my">တာဂွီခ်</span></li> | ||
<li>Tamil – <span lang="my">တမီးလ်</span></li> | ||
<li>Tatar – <span lang="my">တတာ</span></li> | ||
<li>Telugu – <span lang="my">တီလီဂု</span></li> | ||
<li>Thai – <span lang="my">ထိုင်း</span></li> | ||
<li>Tibetan – <span lang="my">တိဘက်</span></li> | ||
<li>Tigrinya – <span lang="my">တီဂ်ရင်ရာ</span></li> | ||
<li>Tongan – <span lang="my">တွန်ဂါ</span></li> | ||
<li>Turkish – <span lang="my">တာကစ်</span></li> | ||
<li>Turkmen – <span lang="my">တခ္မင်</span></li> | ||
<li>Ukrainian – <span lang="my">ယူကရိန်း</span></li> | ||
<li>Urdu – <span lang="my">အော်ဒူ</span></li> | ||
<li>Uyghur – <span lang="my">ဝီဂါ</span></li> | ||
<li>Uzbek – <span lang="my">ဦးဇ်ဘက်</span></li> | ||
<li>Vietnamese – <span lang="my">ဗီယက်နမ်</span></li> | ||
<li>Welsh – <span lang="my">ဝေလ</span></li> | ||
<li>Western Frisian – <span lang="my">အနောက်ပိုင်း ဖရီစီရန်</span></li> | ||
<li>Wolof – <span lang="my">ဝူလိုဖ်</span></li> | ||
<li>Xhosa – <span lang="my">ဇိုစာ</span></li> | ||
<li>Yoruba – <span lang="my">ရိုရုဘာ</span></li> | ||
<li>Zulu – <span lang="my">ဇူလူ</span></li> | ||
</ol> | ||
</body> | ||
</html> |