Re: [csswg-drafts] Why there's no horizontal-rtl and horizontal-ltr values in the "Writing mode" property? (#10731)

> > As I view it, is not congruent or consistent that in vertical you can specify ltr and rtl and in horizontal not
> 
> In vertical, `-rl` vs `-lr` are about whether the lines of text stack from right to left or from left to right, as different languages need that (Chinese and Japanese vs Mongolian or Manchurian). Horizontal only has `-tb` to say that lines stack the other way (from top to bottom) because no (modern) language has lines that stack up from bottom to top, so a `-bt` value would serve no purpose, even if it would make the system more complete.
> 
> In both horizontal and vertical (both `-rl` and `-lr` variants), whether the flow of text within the line is English-like, which is usually called left-to-right (even though in the vertical case case the line's "left" is at the top) or Arabic-like, which is usually called right to left (even though in the vertical case the line's "right" is at the bottom) is controlled by `direction`, not by `writing-mode`.

Thank you I understand now ;)

-- 
GitHub Notification of comment by tomasts248
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10731#issuecomment-2290521172 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 15 August 2024 03:56:32 UTC