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

Issue 6240043: Fix handling of 'target' attributes (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by ihab.awad
Modified:
14 years ago
Reviewers:
felix8a
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Fixes http://code.google.com/p/google-caja/issues/detail?id=1471 This change required passing an out-of-band "this attribute was unspecified by the guest programmer" signal from TemplateCompiler to HtmlAttributeRewriter. See changes for details of how this is done.

Patch Set 1 #

Patch Set 2 : Fix handling of 'target' attributes #

Patch Set 3 : Fix handling of 'target' attributes #

Total comments: 1

Patch Set 4 : Fix handling of 'target' attributes #

Patch Set 5 : Fix handling of 'target' attributes #

Messages

Total messages: 16
ihab.awad
14 years ago (2012-05-23 21:09:55 UTC) #1
felix8a
what if I say <a target> or <a target=> ? does this do the right ...
14 years ago (2012-05-23 21:52:20 UTC) #2
ihab.awad
14 years ago (2012-05-23 22:52:53 UTC) #3
ihab.awad
> <a target> Added a test. > <a target=> FATAL_ERROR in the server side cajoler.
14 years ago (2012-05-23 22:53:58 UTC) #4
felix8a
On 2012/05/23 22:53:58, ihab.awad wrote: > > <a target=> > > FATAL_ERROR in the server ...
14 years ago (2012-05-23 23:52:34 UTC) #5
ihab.awad
(target="") !== (target=) I verified in the playground. What makes you think the cajoler doesn't ...
14 years ago (2012-05-23 23:55:06 UTC) #6
felix8a
On Wed, May 23, 2012 at 4:55 PM, <ihab.awad@gmail.com> wrote: > (target="") !== (target=) > ...
14 years ago (2012-05-23 23:59:21 UTC) #7
ihab.awad
On Wed, May 23, 2012 at 4:59 PM, felix <felix8a@gmail.com> wrote: > I tried > ...
14 years ago (2012-05-24 00:11:57 UTC) #8
felix8a
On Wed, May 23, 2012 at 5:11 PM, <ihab.awad@gmail.com> wrote: > > On Wed, May ...
14 years ago (2012-05-24 00:14:30 UTC) #9
ihab.awad
14 years ago (2012-05-24 00:17:07 UTC) #10
ihab.awad
Test added per discussion.
14 years ago (2012-05-24 00:17:38 UTC) #11
felix8a
one nit, and lgtm http://codereview.appspot.com/6240043/diff/10002/src/com/google/caja/plugin/templates/HtmlAttributeRewriter.java File src/com/google/caja/plugin/templates/HtmlAttributeRewriter.java (right): http://codereview.appspot.com/6240043/diff/10002/src/com/google/caja/plugin/templates/HtmlAttributeRewriter.java#newcode366 src/com/google/caja/plugin/templates/HtmlAttributeRewriter.java:366: return (Expression) QuasiBuilder.substV("" fix indentation
14 years ago (2012-05-24 00:21:17 UTC) #12
ihab.awad
14 years ago (2012-05-24 01:43:27 UTC) #13
felix8a
still lgtm
14 years ago (2012-05-24 02:03:09 UTC) #14
ihab.awad
14 years ago (2012-05-24 02:08:21 UTC) #15
ihab.awad
14 years ago (2012-05-24 02:09:05 UTC) #16
@4887
Sign in to reply to this message.

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