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

Issue 9731044: Implement element.classList. (Closed)

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

Description

element.classList is a DOM feature which allows adding, removing, and testing for DOM classes on an element without doing string processing on the space-separated tokens in .className. Add the classList property and taming for its new list type. Supporting changes: * finishArrayLikeClass handles accessor properties on the prototype. * confidence.amplifying()'s result is constFunc'd rather than def'd (not needed here, but spotted as an opportunity). Fixes <https://code.google.com/p/google-caja/issues/detail?id=1744>. @r5426

Patch Set 1 #

Total comments: 10

Patch Set 2 : Implement element.classList. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -4 lines) Patch
M src/com/google/caja/plugin/domado.js View 1 4 chunks +114 lines, -2 lines 0 comments Download
M tests/com/google/caja/plugin/es53-test-domado-dom-guest.html View 3 chunks +52 lines, -0 lines 0 comments Download
M tests/com/google/caja/plugin/es53-test-scan-guest.js View 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 5
kpreid2
12 years, 10 months ago (2013-05-24 23:51:28 UTC) #1
ihab.awad
The remark in es53-test-scan-guest.js is the only "important" one; all else is advisory. https://codereview.appspot.com/9731044/diff/1/src/com/google/caja/plugin/domado.js File ...
12 years, 9 months ago (2013-05-28 20:05:52 UTC) #2
kpreid2
element.classList is a DOM feature which allows adding, removing, and testing for DOM classes on ...
12 years, 9 months ago (2013-05-28 20:20:48 UTC) #3
kpreid2
https://codereview.appspot.com/9731044/diff/1/src/com/google/caja/plugin/domado.js File src/com/google/caja/plugin/domado.js (right): https://codereview.appspot.com/9731044/diff/1/src/com/google/caja/plugin/domado.js#newcode3463 src/com/google/caja/plugin/domado.js:3463: privates.setT = setTransform; On 2013/05/28 20:05:52, ihab.awad wrote: > ...
12 years, 9 months ago (2013-05-28 20:24:07 UTC) #4
ihab.awad
12 years, 9 months ago (2013-05-28 21:38:22 UTC) #5
lgtm++
Sign in to reply to this message.

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