fix(dom): bubbling phase incorrectly skipped when CanCapture()#4522
fix(dom): bubbling phase incorrectly skipped when CanCapture()#4522msxf-matt wants to merge 1 commit intoTencent:mainfrom
Conversation
bubble list should depend on `event->CanBubble()` instead of `capture_list`, which depends on `event->CanCapture`. Otherwise, the bubbling phase would be skipped when CanCapture() returns false.
|
Hi, @msxf-matt. Thanks for your PR! 👏 🏷️ You can leave a comment in this PR with |
|
|
|
After a quick scan, I have approved workflow to run. Details
🏷️ New commits in this PR would not be tested automatically until this pull request is reviewed by our collaborators. |
bubble list should depend on
event->CanBubble()instead ofcapture_list, which depends onevent->CanCapture. Otherwise, the bubbling phase would be skipped when CanCapture() returns false.