Consider toggling vendor prefixing on/off (stylis v3)
See original GitHub issueThis is regarding 2.0.0-15
.
Using flex boxes results in:
There is absolutely no reason to add these… and it is likely a performance hit (processing unknown CSS properties is just another cycle).
There is a boolean way to check whether a property is supported in the browser. See Verou’s article http://lea.verou.me/2009/02/check-if-a-css-property-is-supported/.
Possible performance issues aside, it is a nuisance from the DX perspective (as visible in the screenshot).
Issue Analytics
- State:
- Created 6 years ago
- Reactions:29
- Comments:48 (13 by maintainers)
Top Results From Across the Web
Is Vendor Prefixing Dead? - CSS-Tricks
Let's take a quick stroll down memory-lane to revisit how vendor prefixing CSS properties came to be. I hope I don't trigger PTSD...
Read more >Xcode 13 Release Notes | Apple Developer Documentation
Xcode's console now supports toggling line wrapping through the Editor > Wrap Lines menu ... This Python 3 script replaces the symbolicatecrash utility...
Read more >Class: Aws::S3::Client — AWS SDK for Ruby V3
The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object ...
Read more >Commands - Tasmota
1 = use frequency output for buzzer pin instead of on/off signal, ... 3 / blink = toggle power for BlinkCount times each...
Read more >“How-to” Guides - Spring
Thus, ServerProperties has prefix="server" and its configuration properties are ... of ${maven.token} ) to prevent conflicts with Spring-style placeholders.
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 FreeTop 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
Top GitHub Comments
Just to point out, this problem is not just a matter of aesthetics. Unwanted prefixes are a footgun: if you click to disable a property in the devtools, the browser may quietly fall back to some prefixed property. If you fail to notice this, it can lead to minutes or hours of pointless layout debugging. And even when you do notice it, it’s painstaking to make sure you catch each potential fallback property and disable them all. It’s effectively not even worth using this feature of the devtools, as it’s easier to make the change in your code and wait for it to rebuild and then change it back again.
Hey folks - just wanted to chime in regarding DX. I’m building an application that targets Electron (essentially I’m only building for the /very/ latest version of Chromium), and I’d really like if I could turn off all vendor prefixing. I don’t need it and it makes things look messy in the inspector, and harder to change at runtime (because removing a property causes Chrome to fall back to it’s second choice prefixed property.)