Skip to content
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

Use CSS Logical Properties and Values? #258

Open
xfq opened this issue Oct 17, 2021 · 2 comments
Open

Use CSS Logical Properties and Values? #258

xfq opened this issue Oct 17, 2021 · 2 comments

Comments

@xfq
Copy link
Member

xfq commented Oct 17, 2021

Our specs use a lot of physical directions and dimensions, like this one. I think we can change them to logical properties and values. In this way, when the document is translated into languages with a different writing direction, the original style can be better preserved without modification.

I can craft a PR if you think this is a good idea.

@fantasai
Copy link
Contributor

I think the only language for which that would be required is Mongolian. Do we have a Mongolian translation of anything yet?

The benefit of leaving it as-is is greater backwards-compatibility, so unless we need to, it's probably best to leave things physical for now.

@r12a
Copy link

r12a commented Feb 16, 2022

@fantasai what about changing the margin-left, border-left, etc properties, since we do have Arabic translations? It would save them some work, and show that we're eating our own dogfood.

@xfq xfq mentioned this issue Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants