Class HTMLPurifier_AttrDef_CSS
Validates the HTML attribute style, otherwise known as CSS.
- HTMLPurifier_AttrDef
- HTMLPurifier_AttrDef_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.
Note: 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.
Located at x2engine/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php
Note: 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.
Located at x2engine/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php
public
boolean|string
|
expandCSSEscape(),
make(),
mungeRgb(),
parseCDATA()
|
$minimized,
$required
|