Regression: -webkit-box-orient rules removed
See original GitHub issueWhile upgrading my dependencies on a project with some pretty old css (and which includes some webkit-specific hacks), I noticed an issue. Autoprefixer version 6.7.0 now entirely removes “-webkit-box-orient” rules. Version 6.6.1 did not have this issue.
.foo {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-box-align: stretch;
}
->
.foo {
display: -webkit-box;
-webkit-box-align: stretch;
}
Here’s the code I’ve tested with:
require('postcss')([require('postcss-cssnext')({browsers: 'chrome >= 42, safari >= 8'})]).process('.foo { display: -webkit-box; -webkit-box-orient: vertical; -webkit-box-align: stretch; }').css
Issue Analytics
- State:
- Created 7 years ago
- Reactions:25
- Comments:45 (19 by maintainers)
Top Results From Across the Web
webkit-box-orient: vertical; in sass is not compiled in gulp
The style -webkit-box-orient: vertical; is missing in css file. My gulp task for sass compilation is gulp.task('styles', function() { return ...
Read more >box-orient - CSS: Cascading Style Sheets - MDN Web Docs
The box-orient CSS property sets whether an element lays out its contents horizontally or vertically.
Read more >Fwd: Use -webkit-flex instead of -webkit-box (in the Chrome UI ...
Hi, I'm currently trying to eliminate all uses of -webkit-box in favor of the newer, cross-browser and not deprecated -webkit-flex.
Read more >Safari Technology Preview Release Notes - Apple Developer
Changed to align with CSS Fonts specification changes (r283130); Fixed shadowing of @font-palette-values rules (r283756); Handle CSSOM style mutation of font- ...
Read more >Timeline – WebKit
Removed extraneous JSC_FAST_CALL on definitions of inline functions. ... Reviewed by Eric Seidel. -webkit-box-orient:horizontal doesn't work on <button> tag
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
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
Possibly helpful for anyone reading up on this thread and problem, least intrusive option to prevent the removal of the line in question is to just disable the autoprefixer for this line/section
@ai
It works, thank you very much.