Changeset 237413 in webkit
- Timestamp:
- Oct 25, 2018 7:15:21 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r237412 r237413 1 2018-10-25 Chris Dumez <cdumez@apple.com> 2 3 REGRESSION (236779) scandinaviandesigns.com product pages auto redirect to product image 4 https://bugs.webkit.org/show_bug.cgi?id=190891 5 <rdar://problem/45296796> 6 7 Reviewed by Antti Koivisto. 8 9 Add layout test coverage. 10 11 * fast/dom/HTMLInputElement/radio-element-fires-change-event-only-when-checked-state-changes-expected.txt: Added. 12 * fast/dom/HTMLInputElement/radio-element-fires-change-event-only-when-checked-state-changes.html: Added. 13 1 14 2018-10-25 Frederic Wang <fwang@igalia.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r237409 r237413 1 2018-10-25 Chris Dumez <cdumez@apple.com> 2 3 REGRESSION (236779) scandinaviandesigns.com product pages auto redirect to product image 4 https://bugs.webkit.org/show_bug.cgi?id=190891 5 <rdar://problem/45296796> 6 7 Reviewed by Antti Koivisto. 8 9 When a radio element gets clicked, we should only fire the 'input' and 'change' if the checked state 10 of the radio element has changed. 11 12 Test: fast/dom/HTMLInputElement/radio-element-fires-change-event-only-when-checked-state-changes.html 13 14 * html/RadioInputType.cpp: 15 (WebCore::RadioInputType::didDispatchClick): 16 1 17 2018-10-25 Joseph Pecoraro <pecoraro@apple.com> 2 18 -
trunk/Source/WebCore/html/RadioInputType.cpp
r236779 r237413 170 170 if (button && button->isRadioButton() && button->form() == element()->form() && button->name() == element()->name()) 171 171 button->setChecked(true); 172 } else 172 } else if (state.checked != element()->checked()) 173 173 fireInputAndChangeEvents(); 174 174
Note: See TracChangeset
for help on using the changeset viewer.