Menu

Tree [r126] / trunk /
 History

HTTPS access


File Date Author Commit
 Docs 2006-05-16 floele [r40] Changes for CSSTidy 1.2 final (PHP) and Chinese...
 testing 2010-01-20 sunnybear [r123] Added font property resolving (works by default...
 COPYING 2008-01-05 edwardzyang [r91] - Added Changelog, and documented all of the ch...
 NEWS 2008-02-17 brettz9 [r112] Added key
 README 2008-01-05 edwardzyang [r91] - Added Changelog, and documented all of the ch...
 class.csstidy.php 2010-01-23 sunnybear [r124] Separated shorthands optimization - font now en...
 class.csstidy_ctype.php 2010-01-20 sunnybear [r123] Added font property resolving (works by default...
 class.csstidy_optimise.php 2010-01-24 sunnybear [r126] Fixed PHP notice on undefined index
 class.csstidy_print.php 2008-01-06 edwardzyang [r98] - Add discard_invalid_selectors cfg and functio...
 css_optimiser.php 2008-02-15 brettz9 [r110] Also made DOCTYPEs selective since XHTML 1.1 sh...
 cssparse.css 2008-02-15 brettz9 [r108] Added html style (same as body style) for the s...
 cssparsed.css 2007-08-01 brettz9 [r64] added styles here from cssparse.css; and added ...
 data.inc.php 2010-01-20 sunnybear [r123] Added font property resolving (works by default...
 lang.inc.php 2008-02-16 sined_ [r111] - Updated French translation
 template.tpl 2006-05-19 floele [r44] template file updates
 template1.tpl 2006-05-19 floele [r44] template file updates
 template2.tpl 2006-05-19 floele [r44] template file updates
 template3.tpl 2006-05-19 floele [r44] template file updates

Read Me

CSSTidy

Changelog: http://csstidy.svn.sourceforge.net/viewvc/csstidy/trunk/

css_optimiser.php is the web-interface, css_parser.php contains the PHP class (CSSTidy).

This class represents a CSS parser which reads CSS code and saves it in an array.
In opposite to most other CSS parsers, it does not use regular expressions and
thus has full CSS2 support and a higher reliability. The downside of not using regular expressions
is a lower speed though.
Additional to that it applies some optimisations and fixes to the CSS code.
An online version should be available here: http://cdburnerxp.se/cssparse/css_optimiser.php


	Copyright 2005, 2006, 2007 Florian Schmitz

  CSSTidy is free software; you can redistribute it and/or modify
  it under the terms of the GNU Lesser General Public License as published by
  the Free Software Foundation; either version 2.1 of the License, or
  (at your option) any later version.
  
  CSSTidy is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.