HTML 5: Support click() method on HTMLElement.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 Feb 2012 18:51:53 +0000 (18:51 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 Feb 2012 18:51:53 +0000 (18:51 +0000)
commit69b9c84b4fb4adc369ed4e6afd3f4f3fab981035
treee42293dd91f01bad607245f834c046d89cd8c833
parent2eeb7248d5843a9dfd6fa58e4fd7df7f8dbe264a
HTML 5: Support click() method on HTMLElement.
https://bugs.webkit.org/show_bug.cgi?id=27880

Patch by Arko Saha <arko@motorola.com> on 2012-02-11
Reviewed by Timothy Hatcher.

Source/WebCore:

Test: fast/dom/click-method-on-html-element.html

* bindings/objc/PublicDOMInterfaces.h: Added click() method in DOMHTMLElement
with availability macro AVAILABLE_AFTER_WEBKIT_VERSION_5_1.
* html/HTMLButtonElement.idl: Moved click() method under LANGUAGE_OBJECTIVE_C.
* html/HTMLElement.idl: Added click() IDL method.
* html/HTMLInputElement.idl: Moved click() method under LANGUAGE_OBJECTIVE_C.

LayoutTests:

* fast/dom/click-method-on-html-element-expected.txt: Added.
* fast/dom/click-method-on-html-element.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@107483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/click-method-on-html-element-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/click-method-on-html-element.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/bindings/objc/PublicDOMInterfaces.h
Source/WebCore/html/HTMLButtonElement.idl
Source/WebCore/html/HTMLElement.idl
Source/WebCore/html/HTMLInputElement.idl