Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(27)

Issue 12761044: support vendor prefixes in css functions (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by felix8a
Modified:
12 years, 6 months ago
Reviewers:
MikeSamuel, kpreid2
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

linear-gradient() works but -webkit-linear-gradient() gets dropped. this CL fixes that for the client-side css sanitizer. fixing it in the server-side css sanitizer is a little harder (because the leading '-' is parsed as a separate token), so I've just marked a TODO and I'm deferring that for now.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M src/com/google/caja/plugin/sanitizecss.js View 1 chunk +2 lines, -1 line 0 comments Download
M tests/com/google/caja/plugin/CssRewriterTest.java View 1 chunk +8 lines, -0 lines 1 comment Download
M tests/com/google/caja/plugin/sanitizecss_test.js View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 3
felix8a
12 years, 6 months ago (2013-08-21 00:21:25 UTC) #1
MikeSamuel
LGTM https://codereview.appspot.com/12761044/diff/1/tests/com/google/caja/plugin/CssRewriterTest.java File tests/com/google/caja/plugin/CssRewriterTest.java (right): https://codereview.appspot.com/12761044/diff/1/tests/com/google/caja/plugin/CssRewriterTest.java#newcode201 tests/com/google/caja/plugin/CssRewriterTest.java:201: /* Maybe use if (false) instead of comments ...
12 years, 6 months ago (2013-08-21 04:03:30 UTC) #2
felix8a
12 years, 6 months ago (2013-08-21 04:27:18 UTC) #3
@r5568
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b