PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_CSS

Provides a simple interface for validate, handle and generate cascading style sheets

This package is unmaintained.

Download latest release 1.5.4 (archived versions might be outdated)

License: BSD

Description

HTML_CSS provides a simple interface to handle stylesheets declaration.
It is completely standards compliant, and has some great features:
* Simple OO interface to CSS definitions
* Can parse existing CSS (string or file)
* Output to
- Inline stylesheet declarations
- Document internal stylesheet declarations
- Standalone stylesheet declarations
- Array of definitions
- File
* Can validate contents with the WC3 CSS Validator Web Service

In addition, it shares the following with HTML_Common based classes:
* Indent style support
* Line ending style

Documentation

Manual

Maintainers

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#725ClosedBug2004-02-10differs hierarchy elements with difference in spaces between
#998ClosedBug2004-03-12parseString incorrectly reads attribute values with colons in
#1066ClosedBug2004-03-24Values are not trimmed
#1072ClosedBug2004-03-25HTML_CSS Not cascading properties
#1084ClosedBug2004-03-27parseSelectors incorrectly assumes selector structure
#3920ClosedBug2005-03-22Inappropriate style rule reordering
#6514BogusBug2006-01-18Invalid hash access
#10103ClosedBug1.1.22007-02-14typo in HTML_CSS constructor
#12039Wont fixBug1.2.02007-09-12grepStyle
#12194ClosedReq1.2.02007-10-07wrong handling of At-Rules
#12195ClosedReq1.2.02007-10-07add Content-Disposition to the headers in display()
#12996ClosedBug1.5.02008-01-29Call-time pass-by-reference has been deprecated
#13314ClosedBug1.5.02008-03-05Notice error raised on parsing string
#15690ClosedBug1.5.22009-01-20setSameStyle() produces E_USER_NOTICE
#16255Wont fixBugCVS2009-05-24Strict standards: Redefining already defined constructor for class HTML_CSS in
#16354ClosedBug1.5.32009-06-21Does not parse multiple simple At-rules properly
#16355ClosedBug1.5.32009-06-21Simple at rules nested within other at rules are reported as top level at rules
#16356OpenReq1.5.32009-06-21Order of items in css file not keept for at rules
#16357ClosedBug1.5.32009-06-21Multiple equal complex at rules not parsed correctly
#16358ClosedBug1.5.32009-06-21Multiple media types on media at rule not parsed correctly
#16359ClosedBug1.5.32009-06-21Multiple selectors on a single rule inside a complex at rule not properly parsed
#16360ClosedBug1.5.32009-06-21Multiple selectors inside a complex at rule not properly parsed
#16544OpenBug1.5.42009-08-21HTML_CSS undefined index on malformed input
#16551BogusBug1.5.42009-08-28Notice: Undefined index on line 2023
#17112ClosedBugCVS2010-02-16Tests fail
#20087OpenBug1.5.42013-10-07Cannot parse some CSS, undefined index
#20944OpenBug1.5.42015-08-31Redefining already defined constructor for class HTML_CSS