Skip to content

Use logical CSS properties for margin, padding, border #1488

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

Closed
wants to merge 1 commit into from
Closed

Use logical CSS properties for margin, padding, border #1488

wants to merge 1 commit into from

Conversation

crawfxrd
Copy link
Contributor

@crawfxrd crawfxrd commented Mar 15, 2021

Replace phyiscal properties (top/bottom/left/right) with logical properties (start/end) that can be used in non-LTR contexts (e.g.,
content in Arabic or Hebrew).

Based on the CSS Logical Properties and Values Level 1 specification, currently an Editor's Draft.

Referencing MDN, all major browsers except Internet Explorer support the margin, padding, and border properties.

Ref: #1486

Replace phyiscal properties (top/bottom/left/right) with logical
properties (start/end) that can be used in non-LTR contexts (e.g.,
content in Arabic or Hebrew).

Based on the CSS Logical Properties and Values Level 1 specification,
currently an Editor's Draft [1].

Referencing MDN, all major browsers except Internet Explorer support the
margin, padding, and border properties.

[1]: https://drafts.csswg.org/css-logical/

Signed-off-by: Tim Crawford <[email protected]>
@crawfxrd
Copy link
Contributor Author

Replaced by #1489

@crawfxrd crawfxrd closed this Mar 17, 2021
@crawfxrd crawfxrd deleted the css-logical branch March 17, 2021 05:39
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

Successfully merging this pull request may close these issues.

1 participant