[SPIP] ~v3.2.3-->v3.2.4
[lhc/web/www.git] / www / plugins-dist / compresseur / lib / csstidy / README.md
1 # CSSTidy [![Build Status](https://travis-ci.org/Cerdic/CSSTidy.svg?branch=master)](https://travis-ci.org/Cerdic/CSSTidy)
2
3 CSSTidy is a CSS minifier
4
5 * v1.6.4 :
6 preserve important comments (starting with !) in the minification /*! Credits/Licence */
7 * v1.6.3 :
8 border-radius shorthands optimisation, reverse_left_and_right option
9 * v1.5.7 :
10 PHP 7 compatibility, composer update, Travis CI integration
11 * v1.5.6 :
12 fixes minor bugs, mainly on CSS3 properties/units
13 * v1.5.2 :
14 is PHP 5.4+ compliant, removes use of GLOBALS, fixes some bugs, integrates CSS3 units
15 and now available on https://packagist.org/packages/cerdic/css-tidy
16 * v1.4 : is the new version coming from master branch (corresponds to the initial trunk of svn repository) after beeing stabilized
17 * v1.3 branch corresponds to the last stable relase published by the author.<br/>
18 It integrates some bugfixes and a 1.3.1 version has been taged
19 Since the original project (http://csstidy.sourceforge.net/index.php) has been suspended
20 here is the import of https://csstidy.svn.sourceforge.net/svnroot/csstidy on 2010-11-14
21
22 Only PHP version is here maintained
23
24 ---
25
26 ## CSSTidy
27
28 Original Tracker :
29 http://sourceforge.net/tracker/?group_id=148404&atid=771415
30
31 css_optimiser.php is the web-interface, css_parser.php contains the PHP class (CSSTidy).
32
33 This class represents a CSS parser which reads CSS code and saves it in an array.
34 In opposite to most other CSS parsers, it does not use regular expressions and
35 thus has full CSS2 support and a higher reliability. The downside of not using regular expressions
36 is a lower speed though.
37 Additional to that it applies some optimisations and fixes to the CSS code.
38 An online version should be available here: http://cdburnerxp.se/cssparse/css_optimiser.php
39
40
41 Copyright 2005, 2006, 2007 Florian Schmitz
42
43 CSSTidy is free software; you can redistribute it and/or modify
44 it under the terms of the GNU Lesser General Public License as published by
45 the Free Software Foundation; either version 2.1 of the License, or
46 (at your option) any later version.
47
48 CSSTidy is distributed in the hope that it will be useful,
49 but WITHOUT ANY WARRANTY; without even the implied warranty of
50 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51 GNU Lesser General Public License for more details.
52
53 You should have received a copy of the GNU Lesser General Public License
54 along with this program. If not, see <http://www.gnu.org/licenses/>.