Skip to content

Integrate postcss-flexbugs-fixes into build #19109

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

Merged
merged 3 commits into from
Jun 4, 2016
Merged

Integrate postcss-flexbugs-fixes into build #19109

merged 3 commits into from
Jun 4, 2016

Conversation

cvrebert
Copy link
Collaborator

@cvrebert cvrebert commented Feb 7, 2016

@mdo
Copy link
Member

mdo commented Feb 7, 2016

Seems fine to me. We'll want to document that IE bug a bit more though no? Is there no way to keep a hack inline for it?

@cvrebert
Copy link
Collaborator Author

cvrebert commented Feb 7, 2016

Is there no way to keep a hack inline for it?

@mdo Not that I'm aware of. The alternative is to be constantly vigilant when writing our CSS to:

(Or always use the longhand properties instead of the flex shorthand property.)

@cvrebert
Copy link
Collaborator Author

cvrebert commented Feb 7, 2016

Or you could declare IE10-11 unsupported for Flexbox. They have many Flexbox bugs; see https://github.com/philipwalton/flexbugs/blob/master/README.md

@mdo
Copy link
Member

mdo commented Feb 8, 2016

Hmm, we could to the first bullet you mention, but not the second (unless we disable our linter for unitless values). Maybe we try that instead to avoid an extra dependency?

@cvrebert
Copy link
Collaborator Author

cvrebert commented Feb 8, 2016

I suppose we could ask/PR SCSS-Lint to (1) add a new rule for the 1st bullet and (2) add the ability to exempt certain properties from the ZeroUnit rule. But that's 2 birds in the bush versus a bird in the hand.

@slavanga
Copy link

slavanga commented Feb 8, 2016

Please also keep in mind that a lot of people compile Bootstrap with apps like Codekit or Prepros. They won't be able to use postcss-flexbugs-fixes.

@cvrebert
Copy link
Collaborator Author

cvrebert commented Feb 8, 2016

I note that the same argument could have been made about Autoprefixer a while ago. Being chained to slow-moving GUI tools in the hyper-fast-paced web frontend ecosystem doesn't strike me as the wisest decision.

@cvrebert
Copy link
Collaborator Author

cvrebert commented Feb 8, 2016

Filed sds/scss-lint#702 and sds/scss-lint#703
So now we're at the mercy of someone being generous enough to implement those, if we go the SCSS-Lint route.

@mdo mdo removed this from the v4.0.0-alpha.3 milestone May 8, 2016
@cvrebert cvrebert added this to the v4.0.0-alpha.3 milestone Jun 4, 2016
@cvrebert
Copy link
Collaborator Author

cvrebert commented Jun 4, 2016

Going with this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants