Contact emailsmus...@chromium.org Specificationhttps://w3c.github.io/uievents/#event-type-mouseenter https://w3c.github.io/pointerevents/#attributes-and-default-actions
Summary Make the event.composed property in mouseenter, mouseleave, pointerenter and pointerleave events "false" to be spec compliant and to fix interop gaps. Both the UI Events spec for Mouse Events and the Pointer Events spec define these events as non-composed. Both specs switched away from their original definitions few years ago: https://github.com/w3c/uievents/pull/210 https://github.com/w3c/pointerevents/pull/461 In addition to addressing the interop gap, this change also fixes an erroneous double/triple dispatch of these events to a shadow DOM host in Chromium when the shadow DOM also listens to the event (https://crbug.com/1136584). Blink componentBlink>Input <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EInput> TAG reviewNone TAG review statusNot applicable Risks Interoperability This fixes a well-known interop gap. Compatibility The risk is negligible because Mozilla shipped the feature 5 years ago. Some prominent websites were updated back then, thanks to Mozilla's outreach (https://bugzilla.mozilla.org/show_bug.cgi?id=1478959). The compat risk is non-zero because Chromium has always dispatched these events as composed. *Gecko*: Shipped/Shipping ( https://bugzilla.mozilla.org/show_bug.cgi?id=1484371) *WebKit*: Shipped/Shipping ( https://bugs.chromium.org/p/chromium/issues/detail?id=1136584) *Web developers*: Positive (https://crbug.com/1136584 --- this is a 5-star dev reported bug). 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 No special change needed here: DevTools console and event listener breakpoints support investigating all event attributes. Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, 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 Requires code in //chrome? False Tracking bughttps://crbug.com/876994 Sample linkshttps://codepen.io/mustaqahmed/pen/XWYZdYp Estimated milestones Shipping on desktop 116 Shipping on Android 116 Shipping on WebView 116 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/5073526551216128 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/CAB0cuO73bus-BhZU1sxYhRQTAiwh5whzTwP4%2BsJcgUciAtxG7Q%40mail.gmail.com.