Comment #31 on issue 933 by metaweta: jQuery expects "expando" attributes
http://code.google.com/p/google-caja/issues/detail?id=933

As part of the fix for this, unrecognized attributes on tags should be made part of the attributes___ map we put on the node when using getAttribute and setAttribute.

      var atype = getAttributeType(tagName, attribName);
      if (atype === void 0) {
        // Unrecognized attribute; use virtual map
if (!this.node___.attributes___) { this.node___.attributes___ = {}; }
        this.node___.attributes___[attribName] = String(value);
      } else {


Reply via email to