Contact emailsmus...@chromium.org, fla...@chromium.org

SpecificationNone

Summary

Make mouse event targets agnostic to mousedown event cancellation when the
pointer is dragged out of an iframe. When the mouse is dragged out of an
iframe, all browsers (including Chrome) send mousemove and mouseup events
to the iframe. However, if the mousedown event is cancelled, Chrome today
maintains an old WebKit exception that mousemove and mouseup events are
sent to the outer frame. WebKit removed this exception last year, and
Mozilla never showed this behavior in recent years. This feature will
remove the Chrome-only exception for this special case.


Blink componentBlink>Input
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EInput>

TAG reviewNone

TAG review statusNot applicable

Risks


Interoperability and Compatibility

This change will make Chrome fully interoperable with Firefox and Safari.
We don't expect many compat problems from this change as this is a desktop
focused special case in which Chrome is different from other browsers. I.e.
we would expect users to see the issues in other browsers already. The
compat risk is non-zero, however it is difficult to measure whether the
change to the frame target changes would be breaking without exposing the
change.


*Gecko*: Shipped/Shipping

*WebKit*: Shipped/Shipping (https://bugs.webkit.org/show_bug.cgi?id=262691)

*Web developers*: No signals

*Other signals*:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that
it has potentially high risk for Android WebView-based applications?

None


Debuggability

None


Will this feature be supported on all six Blink platforms (Windows, Mac,
Linux, ChromeOS, Android, and Android WebView)?Yes

Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?Yes

https://wpt.fyi/results/uievents/mouse/cancel-mousedown-in-subframe.html?label=experimental&label=master&aligned


Flag name on chrome://flagsNone

Finch feature nameMouseDragFromIframeOnCancelledMouseDown

Requires code in //chrome?False

Tracking bughttps://crbug.com/269917

Sample links
https://mustaqahmed.github.io/web/interop/cancel-mousedown-in-iframe-top.html
https://codepen.io/mustaqahmed/full/yLjBraJ

Estimated milestones
Shipping on desktop 122
Shipping on Android 122
Shipping on WebView 122

Anticipated spec changes

Open questions about a feature may be a source of future web compat or
interop issues. Please list open issues (e.g. links to known github issues
in the project for the feature specification) whose resolution may
introduce web compat/interop risk (e.g., changing to naming or structure of
the API in a non-backward-compatible way).
None

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5083240891416576

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAB0cuO7Q-kLsBQTO0Qa5w6ZUxtkM8Q371W5MEuUVvXPp10g4XQ%40mail.gmail.com.

Reply via email to