@supports (display: flex) is not prefixed
See original GitHub issueThe result of gulp-autoprefixer on the following block
@supports (display: flex) {
div {
display: flex;
/* ... */
}
}
is
@supports (display: flex) {
div {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
/* ... */
}
}
So the display declaration is well prefixed but, if I’m not wrong, the @supports should be prefixed like this:
@supports (display: -webkit-box) or (display: -webkit-flex) or (display: -ms-flexbox) or (display: flex) {
div {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
/* ... */
}
}
Is it a bug ? Thank you in advance and sorry if I’m wrong.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Do vendor prefixes not work at all with flexbox? - Stack Overflow
Some browsers will require prefixes for flexbox to work (such as IE 10 and Safari 8), others don't need prefixes at all (like...
Read more >Backwards compatibility of flexbox - CSS - MDN Web Docs
Flexbox is very well supported across modern browsers, however there are a few issues that you might run into. In this guide we...
Read more >CSS Flexible Box Layout Module | Can I use... Support tables ...
Support includes all properties prefixed with flex , as well as display: ... 1 Only supports the old flexbox specification and does not...
Read more >Flexbox prefixes - CSS-Tricks
Hi guys,. My question is simply what prefixes to use for flexbox. I've had a good look around but I can't find anything...
Read more >Browser Compatibility and Vendor Prefixes
We just learned about flexbox pseudo-classes, and pseudo-elements. ... Like many new CSS features, not every browser supports them. But don't worry!
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeap. Seems like we have a bug here. I will look at in on next week (sorry, preparing for conference)
Ok Andrey, I will do that.