search

goog.html.sanitizer.CssPropertySanitizer

Module ID

A sanitizer for CSS property values. It is intended to be used on the result of CSSStyleDeclaration.getPropertyValue, which has already been parsed and validated by the browser out of stylesheets and inline style attributes. At the moment, it's only purpose is to detect CSS functions to apply a whitelist and support rewriting of URLs.

Exported Functions