Closed Bug 1509425 Opened 5 years ago Closed 5 years ago
Can not see the comments on hk
User Agent: Mozilla/5.0 (Android 8.1.0; Mobile; rv:63.0) Gecko/63.0 Firefox/63.0 Steps to reproduce: When browsing hk.yahoo.com, clicking on the "Comments" link to expand the hidden comments element, does not work
The problem only on Android version, desktop version work fine.
Hi, thanks for your report. I can confirm the issue on the latest version of Nightly 65.0a1 (2018-11-25) and Release 63.0.2 with Nexus 5 (Android 6.0.1), Nokia 6 (Android 7.1.1) and OnePlus 5T (Android 8.1.0). Note: On Chrome is not reproducible.
Suspect webcompat. Can reproduce on Firefox for Android, reference browser, and Firefox desktop in responsive design mode with a Firefox for Android UA. Clear STR: * Load https://hk.yahoo.com * Tap on one of the non-sponsored news links at the bottom * wait for the page to load and attempt to tap on the comments icon on the bottom left
Over to layout for a look.
Component: General → Layout
Product: GeckoView → Core
Here's a sample URL that triggers this (no need to UA spoof, just go directly to this page): https://hk.mobi.yahoo.com/home/%E6%B5%B7%E9%82%8A%E8%B1%AC%E5%B1%8D%E8%AD%89%E5%B8%B6%E9%9D%9E%E6%B4%B2%E8%B1%AC%E7%98%9F%E7%97%85%E6%AF%92%E3%80%80%E5%8F%B0%E8%BE%B2%E5%A7%94%E6%9C%83%EF%BC%9A%E6%87%89%E4%BE%86%E8%87%AA%E5%A4%A7-101503726.html
They have a button with "filter:opacity(0)" which they are assuming will receive click events. But apparently, in Firefox, it does not receive click events. Here's a reduced testcase, with the problematic CSS inside the red border, and with two other non-problematic examples in the black borders (a nonzero filter:opacity() value, and an explicit "opacity:0")
mstange (when you're back), I think you touched filter code not too long ago; do you know why filter:opacity(0) vs. opacity:0 might have different behavior here, with respect to clickability/hit-targeting? (And does this seem like a Firefox bug?)
Assignee: nobody → mstange
Status: NEW → ASSIGNED
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/519c1045b51e Undo an optimization that unexpectedly affected hit testing. r=bas
You need to log in before you can comment on or make changes to this bug.