Class HTMLPurifier_ChildDef_Chameleon

extends HTMLPurifier_ChildDef

Definition that uses different definitions depending on context.

The del and ins tags are notable because they allow different types of elements depending on whether or not they're in a block or inline context. Chameleon allows this behavior to happen by using two different definitions depending on context. While this somewhat generalized, it is specifically intended for those two tags.

Methods
Methods inherited from HTMLPurifier_ChildDef
getAllowedElements(),
Properties
Properties inherited from HTMLPurifier_ChildDef
$allow_empty, $elements