Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1517 by [email protected]: Shorthand properties don't support CSS functions
http://code.google.com/p/google-caja/issues/detail?id=1517

What revision of the cajoler exhibits the problem?  On what browser and OS?
r4966

What steps will reproduce the problem?
1. Run `sanitizeStylesheet(".test{border: 1px solid rgb(0,0,0)", "prefix", function(u){return(u)})`

What is the expected output? What do you see instead?
The expected output is ".prefix .test{border: 1px solid rgb(0,0,0);}"

However I receive ".prefix .test{border: 1px solid;}""

After spending a couple hours of debugging this I believe that the style definitions are correct (ie the border css property definition is correct) but that the cssExtra regexp that is getting applied contains the rgb function defined twice. This is some how related to rule definitions which contain a || in them.

Reply via email to