`:hover` state lost on right click on MacOS but works on Windows
Reported by
daniel.s...@gmail.com,
Jan 19 2018
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3319.0 Safari/537.36 Steps to reproduce the problem: 1. In MacOS go to https://www.w3schools.com/howto/howto_css_dropdown.asp 2. Hover over the 'Hover me' and move to 'Link 1', right click. The hover menu disappears 3. Do the same test in Windows, and the hover submenu will stay open. What is the expected behavior? The CSS :hover state should remain, same as in Safari, and Chrome on Windows. The current impact on our end is that users can not right click and copy the link from the submenu. What went wrong? The `:hover` state is lost. Did this work before? N/A Chrome version: 65.0.3319.0 Channel: n/a OS Version: OS X 10.13.2 Flash Version:
,
Jan 23 2018
,
Jan 23 2018
Thanks for filing the issue!! Able to reproduce this issue on reported version 65.0.3319.0 and on latest canary 66.0.3329.0 using steps given in comment#0. Issue is not seen in Windows and Linux. This issue is seen from M60[60.0.3072.0]. Hence considering this issue as Non-Regression and marking this as Untriaged.
,
Jan 25 2018
,
Jan 30 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0531e1c159fd0e45a8ac33f920374bae89b94cca commit 0531e1c159fd0e45a8ac33f920374bae89b94cca Author: Ella Ge <eirage@chromium.org> Date: Tue Jan 30 17:25:23 2018 send mousemove instead of leave after context menu This CL changes mac SetShowingContextMenu to send a MouseMove instead of MouseLeave. And add kRelativeMotionEvent flag in the modifier to avoid sending the event to DOM. Sending MouseLeave will cause hover/active state be cleared when open contextmenu. Bug: 803844 Change-Id: I38f2864b108f95a51c6e93536a1b410333fdf50e Reviewed-on: https://chromium-review.googlesource.com/888092 Reviewed-by: Alexei Svitkine <asvitkine@chromium.org> Reviewed-by: Dave Tapuska <dtapuska@chromium.org> Commit-Queue: Ella Ge <eirage@chromium.org> Cr-Commit-Position: refs/heads/master@{#532931} [modify] https://crrev.com/0531e1c159fd0e45a8ac33f920374bae89b94cca/content/browser/renderer_host/render_widget_host_view_mac.mm [modify] https://crrev.com/0531e1c159fd0e45a8ac33f920374bae89b94cca/content/browser/renderer_host/render_widget_host_view_mac_unittest.mm
,
Jan 30 2018
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dtapu...@chromium.org
, Jan 19 2018