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

Issue 1604653005: Reset algorithm is incorrect for select element with first option disabled (Closed)

Created:
4 years, 11 months ago by nolan.robin.cao
Modified:
4 years, 11 months ago
Reviewers:
tkent
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

Reset algorithm is incorrect for select element with first option disabled As per the spec (https://www.w3.org/TR/html5/forms.html#ask-for-a-reset), the user agent must set the selectedness of the first option element in the list of options in tree order that is not disabled, if any, to true. BUG=578705 Committed: https://crrev.com/5b2038755e5c1e046642373d6b3add2452b8eb2e Cr-Commit-Position: refs/heads/master@{#370303}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/fast/forms/select/select-ask-for-reset.html View 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSelectElement.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (7 generated)
nolan.robin.cao
Please take a look, thanks.
4 years, 11 months ago (2016-01-19 19:18:54 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1604653005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1604653005/1
4 years, 11 months ago (2016-01-19 23:56:43 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-20 02:09:19 UTC) #7
tkent
lgtm. Ideally we should merge the default selection implementations in resetImpl() and recalcListItems().
4 years, 11 months ago (2016-01-20 02:42:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1604653005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1604653005/1
4 years, 11 months ago (2016-01-20 02:42:58 UTC) #10
nolan.robin.cao
On 2016/01/20 02:42:31, tkent wrote: > lgtm. > > Ideally we should merge the default ...
4 years, 11 months ago (2016-01-20 03:20:50 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-20 05:07:46 UTC) #13
commit-bot: I haz the power
4 years, 11 months ago (2016-01-20 05:08:52 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5b2038755e5c1e046642373d6b3add2452b8eb2e
Cr-Commit-Position: refs/heads/master@{#370303}

Powered by Google App Engine
This is Rietveld 408576698