HTMLPurifier_AttrDef_CSS Class Reference

Validates the HTML attribute style, otherwise known as CSS. More...

List of all members.

Public Member Functions

 validate ($css, $config, $context)
 validate ($css, $config, $context)


Detailed Description

Validates the HTML attribute style, otherwise known as CSS.

Note:
We don't implement the whole CSS specification, so it might be difficult to reuse this component in the context of validating actual stylesheet declarations.

If we were really serious about validating the CSS, we would tokenize the styles and then parse the tokens. Obviously, we are not doing that. Doing that could seriously harm performance, but would make these components a lot more viable for a CSS filtering solution.

Definition at line 14 of file CSS.php.


Member Function Documentation

HTMLPurifier_AttrDef_CSS::validate ( css,
config,
context 
)

Name of the current CSS property being validated.

Definition at line 17 of file CSS.php.

HTMLPurifier_AttrDef_CSS::validate ( css,
config,
context 
)

Name of the current CSS property being validated.

Definition at line 6975 of file HTMLPurifier.standalone.php.


The documentation for this class was generated from the following files:
Generated on Thu Jun 19 18:47:28 2008 for HTMLPurifier by  doxygen 1.5.3