You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 languages (or maybe under some pseudo class / meta tag?) basically integrating this source file from MediaWiki/Wikipedia to the user-agent stylesheet.
This makes ordered list numbers aligned with JavaScript's (123).toLocaleString('fa') that returns ۱۲۳,
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.
The text was updated successfully, but these errors were encountered:
ebraminio
changed the title
Make some local counter styles the default for some of the language in user-agent stylesheet
Make some local counter styles the default for some of the languages
Jul 21, 2024
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 languages (or maybe under some pseudo class / meta tag?) basically integrating this source file from MediaWiki/Wikipedia to the user-agent stylesheet.
This makes ordered list numbers 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.The text was updated successfully, but these errors were encountered: