Designating page direction
r12a opened this issue · comments
This is an issue originally raised by Nasun-urt and Huqitu in the mlreq draft. Moving the issue here for discussion and elaboration before contacting the CSS WG.
When Mongolian webpage is created, the page direction should be designated: CSS-MONGOLIAN-LAYOUT:Y. Designating the option means that all page elements should be arranged in accordance with the requirement of vertical column script. Meanwhile, there are the main requirements: script should conform to the habit of Mongolian writing -----arrangement from top to bottom and from left to right (see the descriptions in 2.2.3); textboxes, buttons and list order are all displayed in vertical column; pictures, videos and the other third party controls do not need to accord with the requirement of vertical column.
If i have understood correctly, setting CSS writing-mode: vertical-lr
at the top of a web page should produce the arrangements you list. See for example, fig. 2 at https://www.w3.org/International/articles/vertical-text/index.en#writing-mode. (The CSS is set on a div
in that example, but you would set it on the html
tag for a mongolian page.)
I'm therefore not sure that CSS needs a different property. (There are, however, bugs in browsers at the moment, especially for form fields, which mean that writing-mode is not properly applied to those elements. We have some tests about that, and we should add some text about the issues to the gap analysis doc.)