-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support direction
property (right-to-left layout)
#213
Comments
Here's more information about writing modes: https://drafts.csswg.org/css-writing-modes/#text-flow Right-to-left will probably not be enough. We also have to consider vertical layouts. |
There are really two CSS properties of concern here:
We probably eventually want to implement both, but we should probably start with For For By doing things this way I think we can keep the |
Supporting this will likely require the addition of "flow-relative" equivalents of the following style properties:
It will also require all of the above styles (both the new and the old ones) to have an "unset" state (e.g. be wrapped in |
direction: rtl
)
I have made this issue just about |
direction: rtl
) direction
property (right-to-left layout)
What problem does this solve or what need does it fill?
The CSS layout specifications allow for reversed layout dependent on the direction property. This allows UI layouts to reflect the layout conventions of users of RTL languages (which conventionally start from the right) in addition to users of LTR langauges that usually expect layouts which start from the left.
What solution would you like?
Note: A PR for this has been started: #736
direction
style withLtr
andRtl
variantsAdditional context
More context on MDN
The text was updated successfully, but these errors were encountered: