<use> events bubbling
Reported by
tnk2...@gmail.com,
Nov 5 2016
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36 Steps to reproduce the problem: 1. go to http://codepen.io/ThiRaBrTNK/pen/dOyLdW 2. try clicking buttons where icons don't overlay them 3. try clicking buttons where icons do overlay them What is the expected behavior? click event should bubble from icon to button and submit the form (warning of empty field appears) What went wrong? click from <use> doesn't bubble to button Did this work before? N/A Does this work in other browsers? N/A Chrome version: 54.0.2840.87 Channel: stable OS Version: OS X 10.11.6 Flash Version: Shockwave Flash 23.0 r0
,
Nov 8 2016
Bisected to c4f2b0897923d1fa54fd2b644f6771290e812f4b
,
Nov 10 2016
Thank you for the bisect. I have confirmed that this is a regression.
,
Nov 10 2016
,
Nov 10 2016
The root cause is that DOMActivate events are not composed events. It looks that button's form submission happens only in DOMActivate events.
,
Nov 10 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/eaef39e4135d0ea8a18d43e8eec24bb572fdba4d commit eaef39e4135d0ea8a18d43e8eec24bb572fdba4d Author: hayato <hayato@chromium.org> Date: Thu Nov 10 10:30:38 2016 Make UA DOMActivate events composed events The spec is: https://w3c.github.io/uievents/#event-type-DOMActivate This is basically a bug fix. We forgot to update legacy UI Events in Blink after I updated the UI Events spec at: https://github.com/w3c/uievents/commit/d075314393fad8e07af797dbbab9a5dcfe11ee16 BUG= 662657 Review-Url: https://codereview.chromium.org/2491233002 Cr-Commit-Position: refs/heads/master@{#431230} [modify] https://crrev.com/eaef39e4135d0ea8a18d43e8eec24bb572fdba4d/third_party/WebKit/LayoutTests/shadow-dom/event-composed-ua.html [modify] https://crrev.com/eaef39e4135d0ea8a18d43e8eec24bb572fdba4d/third_party/WebKit/Source/core/dom/Node.cpp [modify] https://crrev.com/eaef39e4135d0ea8a18d43e8eec24bb572fdba4d/third_party/WebKit/Source/core/dom/Node.h [modify] https://crrev.com/eaef39e4135d0ea8a18d43e8eec24bb572fdba4d/third_party/WebKit/Source/core/events/Event.h
,
Nov 11 2016
,
Mar 15 2017
Remove Blink>DOM>Events |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by patricia...@chromium.org
, Nov 8 2016Labels: OS-Chrome OS-Linux OS-Windows