Reviewers: Jasvir,

Description:
This fixes a number of bugs in the client side CSS rewriter and
wires up tests.

Following CLs will:
1. add another parameter to sanitizeStylesheet to take a URL policy
   and re-enable the background-image tests for the client side rewriter
2. remove trivial differences in the output between the two rewriters
   to deal with ordering of split rulesets, choice of quotes,
   whether font-names are case-preserved
3. implement case-sensitive rule bodies

Please review this at http://codereview.appspot.com/5836053/

Affected files:
  M     src/com/google/caja/plugin/cssparser.js
  M     src/com/google/caja/plugin/sanitizecss.js
  M     tests/com/google/caja/plugin/CssRewriterTest.java
  A     tests/com/google/caja/plugin/CssStylesheetTest.java
  A     tests/com/google/caja/plugin/css-stylesheet-test.html
  A     tests/com/google/caja/plugin/css-stylesheet-test.js
  M     tests/com/google/caja/plugin/css-stylesheet-tests.js


Reply via email to