Reviewers: felix8a,
Description:
We need sanitizeCssProperty to take an ID suffix so it can sanitize
<global-name>s.
sanitizeStylesheet and sanitizeCssSelectors take a virtualization
property
with the necessary ID suffix.
This change changes sanitizeCssProperty and all callers to take the same
virtualization property and bundles base URI and the URI rewriter that
all
take into the virtualization property.
This CL should not affect the semantics of a cajoled document.
Please review this at https://codereview.appspot.com/11871043/
Affected files:
src/com/google/caja/plugin/domado.js
src/com/google/caja/plugin/html-emitter.js
src/com/google/caja/plugin/html-sanitizer.js
src/com/google/caja/plugin/sanitizecss.js
tests/com/google/caja/plugin/css-stylesheet-test.js
tests/com/google/caja/plugin/css-stylesheet-tests.js
tests/com/google/caja/plugin/cssparser_test.js
tests/com/google/caja/plugin/sanitizecss_test.js
--
---
You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.