Option to disable units optimization
See original GitHub issuePlease, provide an option to disable unit optimization. There is some cases when it breaks the code:
font-size: calc(100% + 0px);
This code adds 1px to font-size, tested in latest Google Chrome and Firefox. When gone through clean-css it becomes this:
font-size: calc(100% + 0);
Of course now it’s not working. I know it’s a non-standard behavior but I prefer to use it anyway.
Issue Analytics
- State:
- Created 8 years ago
- Comments:5
Top Results From Across the Web
Option to disable units optimization · Issue #521 · clean-css/clean ...
Please, provide an option to disable unit optimization. There is some cases when it breaks the code: font-size: calc(100% + 0px); This code...
Read more >Optimize Options (Using the GNU Compiler Collection (GCC))
Most optimizations are completely disabled at -O0 or if an -O level is not set on the command line, even if individual optimization...
Read more >gcc disable optimization for a function - Plastic & Products Marketing
The gcc option -O enables different levels of optimization. ... like Interprocedural Optimization (IPO), are not enabled or disabled during translation unit ......
Read more >Add an option to disable debugging/enable optimization when ...
There should be an option to fully enable optimization when building an application as to automatically remove performance impacts caused by diagram.
Read more >2.4.1.2. Disabling or Enabling Physical Synthesis Optimization
To disable or enable physical synthesis optimization : Click Assignments > Settings > Compiler Settings. To enable retiming, combinational ...
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
Sure. I’m using CSSMin for grunt which is using the latest clean-css. If I where to have
flex: 1 0 0%
in my source after running the task would outputflex: 1 0 0
. Although this is normally desired it creates an issue for IE 10-11. More information about the bug can be found at this repo. To get around the bug I can write out the flex properties individually, however I prefer to be able to use shorthand where ever I can. I can try to get more info if you need anything else.@azinasili fixed in 3.3.2