w3c / mlreq

Mongolian Layout Requirements
https://www.w3.org/International/mlreq/
23 stars 12 forks source link

Upright list counters not supported #36

Open r12a opened 4 years ago

r12a commented 4 years ago

This issue is applicable to Chinese, Japanese, Korean, and Mongolian.

A common way to orient counters for lists in vertical text is to have an upright number with a dot alongside it.

vertical-lists

The expected way to achieve this in HTML would be to use the following CSS: li::marker { text-combine-upright: all; }, however this cannot be used because not all browsers support text-combine-upright applied to counters.

A workaround might be to use fullwidth characters for counters, such as ①, ②, ③ etc., but use of such a workaround requires the availability of custom built counter styles, and not all browsers currently support the CSS Counter Styles specification. So that doesn't work either.

It is a significant nuisance for content authoring to not be able to produce upright counters for lists.

For more details, see this GitHub issue, which is being used to track this gap.

r12a commented 4 years ago

The first comment in this issue contains text that will automatically appear in the Mongolian gap-analysis document as a subsection with the same title as this issue. Any edits made to that comment will be immediately available in the document. Proposals for changes or discussion of the content can be made in comments below this point.