Reviewers: BenL,

Description:
Autogenerated regular expressions required too much whitespace around
commas and slashes.

Added support for CSS3 style backgrounds.
Will do borders and others in a follow-up CL.

Switches to using a regex class for optimization that can
differentiate between character set abbreviations and letters when
doing head and tail optimizations.

Added common substring pooling to the generated JS.  With a bit more
work in a follow-up CL, this will let us support rgb and rgba colors
client side without blowing up the size of the CSS.

Please review this at http://codereview.appspot.com/366041/show

Affected files:
  M     src/com/google/caja/ancillary/servlet/Processor.java
  M     src/com/google/caja/demos/playground/client/ui/PlaygroundView.java
  M     src/com/google/caja/lang/css/CssPropertyPatterns.java
  A     src/com/google/caja/lang/css/JSRE.java
  M     src/com/google/caja/lang/css/css-extensions-defs.json
  MM    src/com/google/caja/lang/css/css-extensions.json
  M     src/com/google/caja/parser/css/CssPropertySignature.java
  M     src/com/google/caja/plugin/domita.js
  A     src/com/google/caja/util/Bag.java
  M     tests/com/google/caja/lang/css/CssPropertyPatternsTest.java
  A     tests/com/google/caja/lang/css/JSRETest.java
  M     tests/com/google/caja/plugin/CssValidatorTest.java


Reply via email to