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

Issue 2832073003: Send mouse events for disabled form controls. (Closed)

Created:
3 years, 8 months ago by dtapuska
Modified:
3 years, 8 months ago
Reviewers:
jbroman
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, kinuko+watch, rwlbuis, sof
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Send mouse events for disabled form controls. Intent to Implement: https://groups.google.com/a/chromium.org/d/msg/blink-dev/rhNbsYDBJes/Jvmtv6IbBwAJ The HTML spec clearly indicates that only click should be prevented. Add a flag to change the behaviour and put it as an experimental flag for now. Click events will not be dispatched if a disabled form control exists in the event path. BUG=696686, 693521 Review-Url: https://codereview.chromium.org/2832073003 Cr-Commit-Position: refs/heads/master@{#466783} Committed: https://chromium.googlesource.com/chromium/src/+/af6f27363128a72a89cb581f3073c0e068854308

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 24

Patch Set 3 : Fix nits #

Total comments: 4

Patch Set 4 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -4 lines) Patch
A third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Node.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/EventPath.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventPath.cpp View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/MouseEvent.cpp View 1 2 2 chunks +12 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSelectElement.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
dtapuska
3 years, 8 months ago (2017-04-24 17:09:20 UTC) #4
jbroman
apologies for the large number of nits https://codereview.chromium.org/2832073003/diff/20001/third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html File third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html (right): https://codereview.chromium.org/2832073003/diff/20001/third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html#newcode1 third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html:1: <!doctype html> ...
3 years, 8 months ago (2017-04-24 18:19:49 UTC) #7
dtapuska
https://codereview.chromium.org/2832073003/diff/20001/third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html File third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html (right): https://codereview.chromium.org/2832073003/diff/20001/third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html#newcode1 third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html:1: <!doctype html> On 2017/04/24 18:19:49, jbroman wrote: > Should ...
3 years, 8 months ago (2017-04-24 19:14:40 UTC) #8
jbroman
lgtm; thanks https://codereview.chromium.org/2832073003/diff/40001/third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html File third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html (right): https://codereview.chromium.org/2832073003/diff/40001/third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html#newcode20 third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html:20: }); super-nit: include test name (else you ...
3 years, 8 months ago (2017-04-24 19:50:33 UTC) #11
dtapuska
https://codereview.chromium.org/2832073003/diff/40001/third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html File third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html (right): https://codereview.chromium.org/2832073003/diff/40001/third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html#newcode20 third_party/WebKit/LayoutTests/fast/forms/mouseevent_disabled_form_control.html:20: }); On 2017/04/24 19:50:32, jbroman wrote: > super-nit: include ...
3 years, 8 months ago (2017-04-24 19:59:30 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2832073003/60001
3 years, 8 months ago (2017-04-24 21:41:33 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-24 21:49:36 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/af6f27363128a72a89cb581f3073...

Powered by Google App Engine
This is Rietveld 408576698