RESOLVED FIXED 81268
Out-of-document radio buttons should be grouped when associated with a form
https://bugs.webkit.org/show_bug.cgi?id=81268
Summary Out-of-document radio buttons should be grouped when associated with a form
Adam Klein
Reported 2012-03-15 14:42:24 PDT
Out-of-document radio buttons should be grouped when associated with a form
Attachments
Patch (19.34 KB, patch)
2012-03-15 14:54 PDT, Adam Klein
no flags
Patch for landing (20.45 KB, patch)
2012-03-16 11:06 PDT, Adam Klein
no flags
Adam Klein
Comment 1 2012-03-15 14:54:55 PDT
Kent Tamura
Comment 2 2012-03-16 00:01:50 PDT
Comment on attachment 132125 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=132125&action=review > Source/WebCore/ChangeLog:65 > + * dom/CheckedRadioButtons.cpp: > + (WebCore): > + (WebCore::CheckedRadioButtons::addButton): > + (WebCore::CheckedRadioButtons::updateCheckedState): > + (WebCore::CheckedRadioButtons::requiredAttributeChanged): > + (WebCore::CheckedRadioButtons::isRequiredGroup): > + (WebCore::CheckedRadioButtons::removeButton): > + * dom/CheckedRadioButtons.h: > + (CheckedRadioButtons): > + * html/HTMLInputElement.cpp: > + (WebCore::HTMLInputElement::~HTMLInputElement): > + (WebCore::HTMLInputElement::updateType): > + (WebCore::HTMLInputElement::parseAttribute): > + (WebCore::HTMLInputElement::setChecked): > + (WebCore::HTMLInputElement::willChangeForm): > + (WebCore::HTMLInputElement::didChangeForm): > + (WebCore::HTMLInputElement::insertedIntoDocument): > + (WebCore::HTMLInputElement::removedFromDocument): > + (WebCore::HTMLInputElement::didMoveToNewDocument): > + (WebCore::HTMLInputElement::requiredAttributeChanged): > + (WebCore::HTMLInputElement::isInRequiredRadioButtonGroup): > + (WebCore): > + (WebCore::HTMLInputElement::checkedRadioButtonForGroup): > + (WebCore::HTMLInputElement::checkedRadioButtons): > + (WebCore::HTMLInputElement::addRadioButton): > + (WebCore::HTMLInputElement::removeRadioButton): > + * html/HTMLInputElement.h: > + (HTMLInputElement): > + * html/RadioInputType.cpp: > + (WebCore::RadioInputType::valueMissing): > + (WebCore::RadioInputType::isKeyboardFocusable): > + (WebCore::RadioInputType::willDispatchClick): You had better add what is changed for each files/functions. > Source/WebCore/html/HTMLInputElement.h:345 > + void addRadioButton(); > + void removeRadioButton(); I'd like to name them: addToRadioButtonGroup() removeFromRadioButtonGroup()
Adam Klein
Comment 3 2012-03-16 11:06:08 PDT
Created attachment 132321 [details] Patch for landing
WebKit Review Bot
Comment 4 2012-03-16 13:17:04 PDT
Comment on attachment 132321 [details] Patch for landing Clearing flags on attachment: 132321 Committed r111051: <http://trac.webkit.org/changeset/111051>
WebKit Review Bot
Comment 5 2012-03-16 13:17:09 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.