Descriptionelement.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. #
MessagesTotal messages: 5
|
|||||||||||||||||||||||||||||||||||||