extends |
HTMLPurifier_AttrDef_HTML_Pixels |
|---|
Validates the HTML type length (not to be confused with CSS's length).
This accepts integer pixels or percentages as lengths for certain HTML attributes.
| Methods | ||||||||
|---|---|---|---|---|---|---|---|---|
public
|
validate(string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context): bool|string
Validates and cleans passed string according to a definition.
Validates and cleans passed string according to a definition. Parameters
OverridesOverriden by |
# | ||||||
| Methods inherited from HTMLPurifier_AttrDef_HTML_Pixels |
|---|
__construct(), make() |
| Methods inherited from HTMLPurifier_AttrDef |
|---|
parseCDATA(), mungeRgb(), expandCSSEscape() |
| Properties inherited from HTMLPurifier_AttrDef_HTML_Pixels |
|---|
$max |
| Properties inherited from HTMLPurifier_AttrDef |
|---|
$minimized, $required |