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

Issue 991042: Issue 1197: Caja should apply autocomplete="off" on forms by default (Closed)

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

Description

erikeldridge said: I'd like to be able to do something like this: <input autocomplete="false"/> But the cajoler removes it w/ this warning: WARNING http:///:1+8 - 20: removing unknown attribute autocomplete on input:http:///:1: <input autocomplete="false"/> Define autocomplete attribute for form and input and only allow the off attribute. Submitted @4061

Patch Set 1 #

Total comments: 7

Patch Set 2 : Issue 1197: Caja should apply autocomplete="off" on forms by default #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -10 lines) Patch
M src/com/google/caja/lang/html/html4-attributes-extensions-defs.json View 1 1 chunk +6 lines, -10 lines 0 comments Download
M tests/com/google/caja/plugin/templates/TemplateCompilerTest.java View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5
MikeSamuel
15 years, 11 months ago (2010-04-27 21:41:24 UTC) #1
Jasvir
LGTM http://codereview.appspot.com/991042/diff/1/3 File src/com/google/caja/lang/html/html4-attributes-extensions-defs.json (right): http://codereview.appspot.com/991042/diff/1/3#newcode21 src/com/google/caja/lang/html/html4-attributes-extensions-defs.json:21: ] Spurious quotes?
15 years, 11 months ago (2010-04-27 22:21:37 UTC) #2
MikeSamuel
http://codereview.appspot.com/991042/diff/1/3 File src/com/google/caja/lang/html/html4-attributes-extensions-defs.json (right): http://codereview.appspot.com/991042/diff/1/3#newcode21 src/com/google/caja/lang/html/html4-attributes-extensions-defs.json:21: ] On 2010/04/27 22:21:37, jasvir wrote: > Spurious quotes? ...
15 years, 11 months ago (2010-04-27 22:58:46 UTC) #3
DavidSarah
http://codereview.appspot.com/991042/diff/1/3 File src/com/google/caja/lang/html/html4-attributes-extensions-defs.json (right): http://codereview.appspot.com/991042/diff/1/3#newcode16 src/com/google/caja/lang/html/html4-attributes-extensions-defs.json:16: { "key": "FORM::AUTOCOMPLETE", "description": "", Shouldn't there be a ...
15 years, 11 months ago (2010-04-28 00:01:22 UTC) #4
MikeSamuel
15 years, 11 months ago (2010-04-28 00:42:33 UTC) #5
http://codereview.appspot.com/991042/diff/1/2
File tests/com/google/caja/plugin/templates/TemplateCompilerTest.java (right):

http://codereview.appspot.com/991042/diff/1/2#newcode230
tests/com/google/caja/plugin/templates/TemplateCompilerTest.java:230: + "       
});"
On 2010/04/28 00:01:22, DavidSarah wrote:
> Why has this changed in this CL?

Because it was over 80 columns.

http://codereview.appspot.com/991042/diff/1/2#newcode856
tests/com/google/caja/plugin/templates/TemplateCompilerTest.java:856: }
On 2010/04/28 00:01:22, DavidSarah wrote:
> There doesn't appear to be a test in which the input includes
> 'autocomplete="off"'.

Will do
Sign in to reply to this message.

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