-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mousemove_prevent_default_action.tentative.html
checks the event sequence of mousemove
and dragstart
events
#396
Comments
@flackr could you review this proposal for Chromium? |
i.e., it leaves this explicitly undefined, therefore the test seems to be testing more than is specified. It might be worth having an issue open on the spec to track the question of "do we want to want to define this or leave this down to individual implementations", but aside from that, avoiding asserting things the spec doesn't require is good. |
@flackr / @mustaqahmed / @foolip Can you provide feedback from Chromium? |
The order dependency in the WPT is clearly not intended in the spec, thanks @EdgarChen for the catch. Not logging The test is tentative because of: w3c/uievents#278 |
@EdgarChen Can you send a PR with the test changes? Thanks everyone for weighting in! |
…ve_prevent_default_action.ten…, a=testonly Automatic update from web-platform-tests Stop logging mousemove events in mousemove_prevent_default_action.tentative.html (#42538) Fix web-platform-tests/interop#396. -- wpt-commits: 4ab37a2aa733a03162ce2d5e3782d5da7940c330 wpt-pr: 42538
…ve_prevent_default_action.ten…, a=testonly Automatic update from web-platform-tests Stop logging mousemove events in mousemove_prevent_default_action.tentative.html (#42538) Fix web-platform-tests/interop#396. -- wpt-commits: 4ab37a2aa733a03162ce2d5e3782d5da7940c330 wpt-pr: 42538
…ve_prevent_default_action.ten…, a=testonly Automatic update from web-platform-tests Stop logging mousemove events in mousemove_prevent_default_action.tentative.html (#42538) Fix web-platform-tests/interop#396. -- wpt-commits: 4ab37a2aa733a03162ce2d5e3782d5da7940c330 wpt-pr: 42538 UltraBlame original commit: ca7528f44e8db3905bafd006cbfe3dc3d95a0625
…ve_prevent_default_action.ten…, a=testonly Automatic update from web-platform-tests Stop logging mousemove events in mousemove_prevent_default_action.tentative.html (#42538) Fix web-platform-tests/interop#396. -- wpt-commits: 4ab37a2aa733a03162ce2d5e3782d5da7940c330 wpt-pr: 42538 UltraBlame original commit: ca7528f44e8db3905bafd006cbfe3dc3d95a0625
…ve_prevent_default_action.ten…, a=testonly Automatic update from web-platform-tests Stop logging mousemove events in mousemove_prevent_default_action.tentative.html (#42538) Fix web-platform-tests/interop#396. -- wpt-commits: 4ab37a2aa733a03162ce2d5e3782d5da7940c330 wpt-pr: 42538 UltraBlame original commit: ca7528f44e8db3905bafd006cbfe3dc3d95a0625
Test List
https://wpt.fyi/results/uievents/mouse/mousemove_prevent_default_action.tentative.html?label=master&label=experimental&aligned
Rationale
This test was added for w3c/uievents#278. There are discussions on whether calling
preventDefault
onmousemove
should preventselectionchange
. And we all agreed that it should not. The issue didn't mention drag operation, but if themousemove
event can not be canceled, I think it makes sense that the principle should apply to drag operation (?).However, this test also tests the sequence of
mousemove
anddragstart
events. It expects themousemove
event fired first thendragstart
event, but in Gecko, we dispatchdragstart
event first thenmousemove
event. I don't think spec has clear definition about the timing of firing thedragstart
event. Therefore, I think the ordering-check is beyond the intent of this test. WDYT?The text was updated successfully, but these errors were encountered: