Progress and meter elements should take a form in their constructor like any other...
authoryael.aharon@nokia.com <yael.aharon@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Dec 2010 00:13:33 +0000 (00:13 +0000)
committeryael.aharon@nokia.com <yael.aharon@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Dec 2010 00:13:33 +0000 (00:13 +0000)
commitd13f38a451eaea85474f92498ff64ddd8d561c8d
tree5dedf114c1774c163fbcc6b9a05af0ab2b5be965
parente137237bfc12d0f7f29c33b843a31def267ca6ba
Progress and meter elements should take a form in their constructor like any other form control.
https://bugs.webkit.org/show_bug.cgi?id=50195

Reviewed by Darin Adler.

WebCore:

Tests: fast/dom/HTMLMeterElement/meter-element-form.html
       fast/dom/HTMLProgressElement/progress-element-form.html

* html/HTMLMeterElement.cpp:
(WebCore::HTMLMeterElement::HTMLMeterElement):
(WebCore::HTMLMeterElement::create):
* html/HTMLMeterElement.h:
* html/HTMLProgressElement.h:
* html/HTMLTagNames.in:

LayoutTests:

* fast/dom/HTMLMeterElement/meter-element-form-expected.txt: Added.
* fast/dom/HTMLMeterElement/meter-element-form.html: Added.
* fast/dom/HTMLProgressElement/progress-element-form-expected.txt: Added.
* fast/dom/HTMLProgressElement/progress-element-form.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@72976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/HTMLMeterElement/meter-element-form-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/HTMLMeterElement/meter-element-form.html [new file with mode: 0644]
LayoutTests/fast/dom/HTMLProgressElement/progress-element-form-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/HTMLProgressElement/progress-element-form.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/HTMLMeterElement.cpp
WebCore/html/HTMLMeterElement.h
WebCore/html/HTMLProgressElement.h
WebCore/html/HTMLTagNames.in