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

Update validators for properties 'justify-content' and 'align-content' #18

Closed
kingoleg opened this issue May 11, 2017 · 1 comment
Closed
Milestone

Comments

@kingoleg
Copy link

According to https://drafts.csswg.org/css-align-3/#typedef-content-position justify-content can be left or right

< content-position >
This set is used by justify-content and align-content to align the box’s contents within itself.

< content-position > = center | start | end | flex-start | flex-end | left | right;

But currently I get "Update the invalid value of property "justify-content". Expected format: flex-start | flex-end | center | space-between | space-around" for justify-content: left;

@racodond
Copy link
Owner

Thanks for your feedback @kingoleg!
Validator is based on https://drafts.csswg.org/css-flexbox-1/#propdef-justify-content for now.
https://drafts.csswg.org/css-align-3/#typedef-content-position is a bit more complex... I'll work on it.

@racodond racodond added this to the 4.4 milestone May 11, 2017
@racodond racodond changed the title Accept more values for justify-content Update validators for properties'justify-content' and 'align-content' May 11, 2017
@racodond racodond changed the title Update validators for properties'justify-content' and 'align-content' Update validators for properties 'justify-content' and 'align-content' May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants