Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Issue 1632493002: Precisely account for required buttons in a radio group. (Closed)

Created:
4 years, 11 months ago by sof
Modified:
4 years, 11 months ago
Reviewers:
tkent, keishi
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Precisely account for required buttons in a radio group. As part of processing the name attribute for a radio button, it is added to the current radio button group. For buttons that are additionally "required", that leads to double accounting for the group's count of such required buttons, as the radio button group doesn't keep track what has been registered as "required" already or not. Address by having the button group track the registered "required" state of its members/buttons. R=keishi,tkent BUG= Committed: https://crrev.com/41bffb130f01d585117db7569e7fb07429f46461 Cr-Commit-Position: refs/heads/master@{#371476}

Patch Set 1 #

Patch Set 2 : fix oilpan compilation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -19 lines) Patch
A third_party/WebKit/LayoutTests/fast/forms/radio/radio-group-remove-required.html View 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/forms/radio/radio-group-remove-required-expected.txt View 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp View 1 7 chunks +42 lines, -19 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
sof
please take a look. The m_requiredCount assert in RadioButtonGroup::remove() has been flakily triggering for a ...
4 years, 11 months ago (2016-01-25 09:19:24 UTC) #2
keishi
On 2016/01/25 09:19:24, sof wrote: > please take a look. > > The m_requiredCount assert ...
4 years, 11 months ago (2016-01-25 12:21:35 UTC) #3
sof
On 2016/01/25 12:21:35, keishi wrote: > On 2016/01/25 09:19:24, sof wrote: > > please take ...
4 years, 11 months ago (2016-01-25 20:56:05 UTC) #4
tkent
lgtm
4 years, 11 months ago (2016-01-25 23:56:07 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1632493002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1632493002/20001
4 years, 11 months ago (2016-01-26 07:24:24 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-26 08:16:36 UTC) #10
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 08:17:50 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/41bffb130f01d585117db7569e7fb07429f46461
Cr-Commit-Position: refs/heads/master@{#371476}

Powered by Google App Engine
This is Rietveld 408576698