Skip to content

Commit

Permalink
Added examples for myanmar lists in css3
Browse files Browse the repository at this point in the history
  • Loading branch information
andjc committed Mar 26, 2015
1 parent fb750b0 commit af86710
Show file tree
Hide file tree
Showing 2 changed files with 275 additions and 0 deletions.
49 changes: 49 additions & 0 deletions examples/css_only/my-headings-counter.html
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>
226 changes: 226 additions & 0 deletions examples/css_only/my-lists-mixed.html
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 &ndash; Numeric list</h1>
<h2>Langauge names</h2>

<p><strong>Expected behaviour:</strong> List markers are Myanmar digits.</p>
<ol>
<li>Arabic &ndash; <span lang="my">အာရေဗီ</span>
<ol>
<li>Modern Standard Arabic &ndash; <span lang="my">အရေဗီ(ပုံမှန်)</span></li>
</ol>
</li>
<li>Abkhazian &ndash; <span lang="my">အက်ခါဇူအနျ</span></li>
<li>Afrikaans &ndash; <span lang="my">အာဖရိကန်းစ်</span></li>
<li>Albanian &ndash; <span lang="my">အယ်လ်ဘေးနီးယန်း</span></li>
<li>Amharic &ndash; <span lang="my">အန်ဟာရစျချ</span></li>
<li>Armenian &ndash; <span lang="my">အာမေနီအန်</span></li>
<li>Assamese &ndash; <span lang="my">အက္စမီစ်</span></li>
<li>Azerbaijani &ndash; <span lang="my">အော်ဇောဘိုင်ဂျောနီ</span></li>
<li>Balinese &ndash; <span lang="my">ဘာလီ</span></li>
<li>Basaa &ndash; <span lang="my">ဘာဆာ</span></li>
<li>Basque &ndash; <span lang="my">ဘစ်က္ကီ</span></li>
<li>Belarusian &ndash; <span lang="my">ဘီလာရု</span></li>
<li>Bengali &ndash; <span lang="my">ဘင်္ဂါလီ</span></li>
<li>Bosnian &ndash; <span lang="my">ဘော့စ်နီးယား</span></li>
<li>Bulgarian &ndash; <span lang="my">ဘူဂေးရီးယား</span></li>
<li>Burmese &ndash; <span lang="my">ဗမာ</span></li>
<li>Catalan &ndash; <span lang="my">ကာတာလန်</span></li>
<li>Chechen &ndash; <span lang="my">ချေချင်း</span></li>
<li>Cherokee &ndash; <span lang="my">ချာရိုကီ</span></li>
<li>Chinese &ndash; <span lang="my">တရုတ်</span>
<ol>
<li>Simplified Chinese &ndash; <span lang="my">ရိုးရှင်းသော တရုတ်</span></li>
<li>Traditional Chinese &ndash; <span lang="my">ရှေးရိုးစဉ်လာ တရုတ်</span></li>
</ol>
</li>
<li>Cree &ndash; <span lang="my">ခရီး</span></li>
<li>Croatian &ndash; <span lang="my">ခရိုအေရှန်</span></li>
<li>Czech &ndash; <span lang="my">ချက်</span></li>
<li>Dakota &ndash; <span lang="my">ဒါကိုတာ</span></li>
<li>Danish &ndash; <span lang="my">ဒိန်းမတ်</span></li>
<li>Delaware &ndash; <span lang="my">ဒီလာဝဲ</span></li>
<li>Dutch &ndash; <span lang="my">ဒတ်ချ်</span></li>
<li>Dzongkha &ndash; <span lang="my">ဒွန်ကာ</span></li>
<li>Eastern Frisian &ndash; <span lang="my">အရှေ့ပိုင်း ဖရီစီရန်</span></li>
<li>English &ndash; <span lang="my">အင်္ဂလိပ်</span>
<ol>
<li>American English &ndash; <span lang="my">အမေရိကန် အင်္ဂလိပ်</span></li>
<li>Australian English &ndash; <span lang="my">ဩစတြေးလျှ အင်္ဂလိပ်</span></li>
<li>British English &ndash; <span lang="my">ဗြိတိသျှ အင်္ဂလိပ်</span></li>
<li>Canadian English &ndash; <span lang="my">ကနေဒါ အင်္ဂလိပ်</span></li>
<li>U.K. English &ndash; <span lang="my">အင်္ဂလိပ်(ယူကေ)</span></li>
<li>U.S. English &ndash; <span lang="my">အင်္ဂလိပ်(ယူအက်စ်)</span></li>
</ol>
</li>
<li>Esperanto &ndash; <span lang="my">အက္စပရန္တို</span></li>
<li>Estonian &ndash; <span lang="my">အက်စ်တိုးနီးရန်း</span></li>
<li>Faroese &ndash; <span lang="my">ဖာရိုအိစ်</span></li>
<li>Fijian &ndash; <span lang="my">ဖီဂျီ</span></li>
<li>Filipino &ndash; <span lang="my">ဖိလစ်ပီနို</span></li>
<li>Finnish &ndash; <span lang="my">ဖင်နစ်ရှ်</span></li>
<li>Flemish &ndash; <span lang="my">ဖလီမစ်ရှ်</span></li>
<li>French &ndash; <span lang="my">ပြင်သစ်</span>
<ol>
<li>Canadian French &ndash; <span lang="my">ကနေဒါ ပြင်သစ်</span></li>
<li>Swiss French &ndash; <span lang="my">ဆွစ် ပြင်သစ်</span></li>
</ol>
</li>
<li>Galician &ndash; <span lang="my">ဂါလာစီယံ</span></li>
<li>Georgian &ndash; <span lang="my">ဂျော်ဂျီယန်</span></li>
<li>German &ndash; <span lang="my">ဂျာမန်</span>
<ol>
<li>Swiss German &ndash; <span lang="my">ဆွစ် ဂျာမန်</span></li>
<li>Austrian German &ndash; <span lang="my">ဩစတြီးယ ဂျာမန်</span></li>
</ol>
</li>
<li>Guarani &ndash; <span lang="my">ဂူအာရာနီ</span></li>
<li>Gujarati &ndash; <span lang="my">ဂူဂျာရသီ</span></li>
<li>Haitian &ndash; <span lang="my">ဟာအီတီအန်</span></li>
<li>Hausa &ndash; <span lang="my">ဟာဥစာ</span></li>
<li>Hawaiian &ndash; <span lang="my">ဟာဝေယံ</span></li>
<li>Hebrew &ndash; <span lang="my">ဟီးဘရူး</span></li>
<li>Hindi &ndash; <span lang="my">ဟိန္ဒီ</span></li>
<li>Hungarian &ndash; <span lang="my">ဟန်ဂေရီ</span></li>
<li>Icelandic &ndash; <span lang="my">အိုင်စ်လန္ဒီ</span></li>
<li>Igbo &ndash; <span lang="my">အစ္ဂဘို</span></li>
<li>Indonesian &ndash; <span lang="my">အင်ဒိုနီးရှား</span></li>
<li>Irish &ndash; <span lang="my">အိုင်းရစ်</span></li>
<li>Italian &ndash; <span lang="my">အီတလီ</span></li>
<li>Japanese &ndash; <span lang="my">ဂျပန်</span></li>
<li>Javanese &ndash; <span lang="my">ဂျာဗားနီးစ်</span></li>
<li>Kachin &ndash; <span lang="my">ကချင်</span></li>
<li>Kannada &ndash; <span lang="my">ကန္နာဒါ</span></li>
<li>Kashmiri &ndash; <span lang="my">ကက်ရှ်မီရီ</span></li>
<li>Kazakh &ndash; <span lang="my">ခါဇါခ်</span></li>
<li>Khasi &ndash; <span lang="my">ခါစီ</span></li>
<li>Kongo &ndash; <span lang="my">ကွန်ဂို</span></li>
<li>Korean &ndash; <span lang="my">ကိုးရီးယား</span></li>
<li>Kurdish &ndash; <span lang="my">ကဒ်</span></li>
<li>Kyrgyz &ndash; <span lang="my">ခရူဂစ်</span></li>
<li>Lao &ndash; <span lang="my">လာအို</span></li>
<li>Latin &ndash; <span lang="my">လက်တင်</span></li>
<li>Latvian &ndash; <span lang="my">လက္ဘီအံ</span></li>
<li>Lithuanian &ndash; <span lang="my">လစ္သူအာနီယံ</span></li>
<li>Luxembourgish &ndash; <span lang="my">လူဇင်ဘတ်က်</span></li>
<li>Macedonian &ndash; <span lang="my">မာစီဒိုနီယံ</span></li>
<li>Malagasy &ndash; <span lang="my">အာလာဂါစီ</span></li>
<li>Malay &ndash; <span lang="my">မလေး</span></li>
<li>Malayalam &ndash; <span lang="my">မလေးရာလမ်</span></li>
<li>Maltese &ndash; <span lang="my">မောလ္တီစ်</span></li>
<li>Manchu &ndash; <span lang="my">မန်ချူး</span></li>
<li>Manipuri &ndash; <span lang="my">မနိပူရီ</span></li>
<li>Maori &ndash; <span lang="my">မောင်းရီ</span></li>
<li>Marathi &ndash; <span lang="my">မာရသီ</span></li>
<li>Mongolian &ndash; <span lang="my">မွန်ဂိုလီးယန်း</span></li>
<li>Nepali &ndash; <span lang="my">နီပါလီ</span></li>
<li>Northern Frisian &ndash; <span lang="my">မြောက်ပိုင်း ဖရီစီရန်</span></li>
<li>Norwegian &ndash; <span lang="my">နော်ဝေး</span>
<ol>
<li>Norwegian Bokmål &ndash; <span lang="my">ဘွတ်မော်လ်</span></li>
<li>Norwegian Nynorsk &ndash; <span lang="my">နော်ဝေး နီးနော်စ်ခ်</span></li>
</ol>
</li>
<li>Oriya &ndash; <span lang="my">အိုရီရာ</span></li>
<li>Pali &ndash; <span lang="my">ပါဠိ</span></li>
<li>Pashto &ndash; <span lang="my">ပါရှ်တို</span></li>
<li>Persian &ndash; <span lang="my">ပါရှန်</span></li>
<li>Polish &ndash; <span lang="my">ပိုလန်</span></li>
<li>Portuguese &ndash; <span lang="my">ပေါ်တူဂီ</span>
<ol>
<li>Brazilian Portuguese &ndash; <span lang="my">ဘရာဇီး ပေါ်တူဂီ</span></li>
</ol>
</li>
<li>Punjabi &ndash; <span lang="my">ပန်ချာပီ</span></li>
<li>Quechua &ndash; <span lang="my">ခက်ချ်ဝါ</span></li>
<li>Romanian &ndash; <span lang="my">ရိုမေနီယား</span></li>
<li>Romansh &ndash; <span lang="my">ရောမ</span></li>
<li>Russian &ndash; <span lang="my">ရုရှ</span></li>
<li>Sanskrit &ndash; <span lang="my">သင်္သကရိုက်</span></li>
<li>Scots &ndash; <span lang="my">စကော့</span></li>
<li>Serbian &ndash; <span lang="my">ဆားဗီးယန်း</span></li>
<li>Shan &ndash; <span lang="my">ရှမ်း</span></li>
<li>Sichuan Yi &ndash; <span lang="my">စီချွမ် ရီ</span></li>
<li>Sindhi &ndash; <span lang="my">စင်ဒီ</span></li>
<li>Sinhala &ndash; <span lang="my">ဆင်ဟာလ</span></li>
<li>Slovak &ndash; <span lang="my">စလိုဗက်</span></li>
<li>Slovenian &ndash; <span lang="my">စလိုဗေးနီးယမ်း</span></li>
<li>Somali &ndash; <span lang="my">ဆိုမာလီ</span></li>
<li>Southern Sami &ndash; <span lang="my">တောင်ပိုင်း ဆာမိ</span></li>
<li>Spanish &ndash; <span lang="my">စပိန်</span>
<ol>
<li>European Spanish &ndash; <span lang="my">စပိန်(ဥရောပ)</span></li>
<li>Latin American Spanish &ndash; <span lang="my">လက်တင်အမေရိက စပိန်</span></li>
</ol>
</li>
<li>Standard Moroccan Tamazight &ndash; <span lang="my">မိုရိုကန် တွမ်မဇိုတ် စံ</span></li>
<li>Sundanese &ndash; <span lang="my">ဆူဒန်</span></li>
<li>Swahili &ndash; <span lang="my">ဆြာဟီလီ</span></li>
<li>Swedish &ndash; <span lang="my">ဆွီဒင်</span></li>
<li>Tajik &ndash; <span lang="my">တာဂွီခ်</span></li>
<li>Tamil &ndash; <span lang="my">တမီးလ်</span></li>
<li>Tatar &ndash; <span lang="my">တတာ</span></li>
<li>Telugu &ndash; <span lang="my">တီလီဂု</span></li>
<li>Thai &ndash; <span lang="my">ထိုင်း</span></li>
<li>Tibetan &ndash; <span lang="my">တိဘက်</span></li>
<li>Tigrinya &ndash; <span lang="my">တီဂ်ရင်ရာ</span></li>
<li>Tongan &ndash; <span lang="my">တွန်ဂါ</span></li>
<li>Turkish &ndash; <span lang="my">တာကစ်</span></li>
<li>Turkmen &ndash; <span lang="my">တခ္မင်</span></li>
<li>Ukrainian &ndash; <span lang="my">ယူကရိန်း</span></li>
<li>Urdu &ndash; <span lang="my">အော်ဒူ</span></li>
<li>Uyghur &ndash; <span lang="my">ဝီဂါ</span></li>
<li>Uzbek &ndash; <span lang="my">ဦးဇ်ဘက်</span></li>
<li>Vietnamese &ndash; <span lang="my">ဗီယက်နမ်</span></li>
<li>Welsh &ndash; <span lang="my">ဝေလ</span></li>
<li>Western Frisian &ndash; <span lang="my">အနောက်ပိုင်း ဖရီစီရန်</span></li>
<li>Wolof &ndash; <span lang="my">ဝူလိုဖ်</span></li>
<li>Xhosa &ndash; <span lang="my">ဇိုစာ</span></li>
<li>Yoruba &ndash; <span lang="my">ရိုရုဘာ</span></li>
<li>Zulu &ndash; <span lang="my">ဇူလူ</span></li>
</ol>
</body>
</html>

0 comments on commit af86710

Please sign in to comment.