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