Add standardized HTMLElement.click() method to w3c_dom2.js.
We should remove Element.prototype.click that is not standard but that breaks too much js apps. By reexposing the click method on HTMLElement we make the method available to Elemental2.
Elemental2 diff: cl/357417818
Fixes
Fixes
@@ -434,6 +434,13 @@ HTMLElement.prototype.dir;
*/
HTMLElement.prototype.className;
+/**
+ * @return {undefined}
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/click
+ * @override
+ */
+HTMLElement.prototype.click = function() {};
+
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-40676705
