|
|
Right now the cajoler fails to parse stuff like
p[x$=y] {}
and the parse failure causes it to throw out a lot more css than it should.
Fixing the error recovery is somewhat nontrivial. Adding the new operators
is trivial.
Note, this just allows the operators to parse, but rejects them as not
allowed, similar to the |= operator. So, the operators still don't work,
but we recover from that better.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+72 lines, -15 lines) |
Patch |
 |
M |
src/com/google/caja/lexer/CssLexer.java
|
View
|
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
src/com/google/caja/parser/css/CssParser.java
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/com/google/caja/parser/css/CssTree.java
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/com/google/caja/plugin/CssValidator.java
|
View
|
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/com/google/caja/plugin/PluginMessageType.java
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/parser/css/cssparsergolden2.txt
|
View
|
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/parser/css/cssparserinput2.css
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/parser/css/cssrendergolden2.txt
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/CssValidatorTest.java
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
Total messages: 4
|