soyturk / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Calc with + removing space (v. 2.1.7) #330

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Are you sure this is not a problem with your configuration? (ask on the
Google Group)

Minify commit/version: 2.1.7
PHP version: PHP/5.6.3

What steps will reproduce the problem?
1. Setup minify style.css
2. Html: Make div 2 inside div 1 (evt overflow hidden).
3. Use for div 2: width: calc(100% + 70px);

Expected output: width:calc(100% + 70px);

Actual output: width:calc(100%+70px);

Original issue reported on code.google.com by error.un...@gmail.com on 3 May 2015 at 11:44

GoogleCodeExporter commented 9 years ago
This commit fix that issue:
https://github.com/KTOmega/minify/commit/3553016a243cdc2366f1dd1b322e94d11185bc7
c

file lib/Minify/CSS/Compressor.php

Original comment by tfs...@gmail.com on 21 May 2015 at 9:17