- From: ebraminio via GitHub <sysbot+gh@w3.org>
- Date: Sun, 21 Jul 2024 11:30:48 +0000
- To: public-i18n-archive@w3.org
ebraminio has just created a new issue for https://github.com/w3c/predefined-counter-styles:
== Make some local counter styles the default for some of the language in user-agent stylesheet ==
I think it could be great if user-agent stylesheet could make some of the defined counter styles as the default for some of the language (or maybe under some pseudo class / meta tag?) basically integrating integrating [this](https://github.com/wikimedia/mediawiki/blob/d848066/resources/src/mediawiki.skinning/i18n-ordered-lists.less#L4)
This makes ordered list number aligned with JavaScript's `(123).toLocaleString('fa')` that returns `۱۲۳`,
Testcase:
data:text/html,<html dir=rtl lang=fa><ol><li>1<li>2<li>3</ol>
data:text/html,<html dir=rtl lang=fa><ol><li>1<li>2<li>3</ol><style>ol:lang(fa) li { list-style-type: persian; }</style>
Expected:
Both to be same
Actual:
User-agent stylesheet doesn't contain that language specific styles.
Maybe like the way charset or dark mode is supported `<meta name="color-scheme" content="light dark">` to be exposed only under some special meta tag, and maybe not.
Please view or discuss this issue at https://github.com/w3c/predefined-counter-styles/issues/65 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 21 July 2024 11:30:49 UTC