Base class for all validating attribute definitions.
__construct($def, $element)
Decorator which enables CSS properties to be disabled for specific elements.
validate($string, $config, $context)
Checks if CurrentToken is set and equal to $this->element.