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

"justifyContent: space-evenly" gets prefixed to an invalid result #162

Open
TheBosZ opened this issue Aug 29, 2018 · 2 comments
Open

"justifyContent: space-evenly" gets prefixed to an invalid result #162

TheBosZ opened this issue Aug 29, 2018 · 2 comments

Comments

@TheBosZ
Copy link

TheBosZ commented Aug 29, 2018

The result of

{
  justifyContent: 'space-evenly'
}

Gets turned into

{
  WebkitBoxPack: "space-evenly",
  justifyContent: "space-evenly"
}

"-webkit-box-pack" doesn't allow the value of "space-evenly": https://developer.mozilla.org/en-US/docs/Web/CSS/box-pack

@robinweser
Copy link
Owner

Hmm. As the value doesn't exist in general, what would you use as a fallback value? We can add justify as well. Otherwise it simply doesn't matter as the browser won't be able to do anything with that invalid value.

@TheBosZ
Copy link
Author

TheBosZ commented Sep 5, 2018

Personally, I think it should be dropped as a "prefixed" style since -webkit-box-pack is not directly compatible with justify-content.

It's not a huge deal, I just noticed it when Webstorm marked it as an error in my generated stylesheet.

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

2 participants