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

Add computed table to padding-block/padding-inline #612

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

NotWoods
Copy link
Contributor

Partial fix for #477

Updates the padding-block and padding-inline properties to be marked as shorthands with the computed table. The spec lists them as shorthands for -start and -end so I felt it makes sense to put that in the table here.

This helps fix frenic/csstype#93 and I hoped to reopen discussion since the issues haven't been worked on for a year. Microsoft's CSS-in-JS library (and other CSS libraries) need shorthands to be clearly marked to avoid issues.

If this computed table is inaccurate I'd like to explore other alternatives. If it is, I can update other logical shorthand properties to match.

@teoli2003 teoli2003 merged commit ecb0c01 into mdn:main Oct 17, 2022
@NotWoods NotWoods deleted the padding-block-inline branch October 17, 2022 21:10
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.

Mark logical inline/block margins paddings as shorthands
2 participants