Closed Bug 1616259 Opened 4 years ago Closed 3 years ago

Username field context menu is hard to toggle due to the placeholder on taobao login form

Categories

(Web Compatibility :: Site Reports, defect, P5)

Desktop
All
defect

Tracking

(firefox73 affected, firefox74 affected, firefox75 affected, firefox76 affected, firefox77 affected)

RESOLVED WORKSFORME
Tracking Status
firefox73 --- affected
firefox74 --- affected
firefox75 --- affected
firefox76 --- affected
firefox77 --- affected

People

(Reporter: tbabos, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [passwords:fill-ui])

Attachments

(1 file)

Attached video Recording of the issue

Affected platforms:
Windows 10 x64
MacOS 10.15

Affected builds:
All

Steps to reproduce:

  1. Launch Firefox
  2. Go to https://login.taobao.com/
  3. Right-click on the username field where the placeholder is displayed

Expected:
The username field context menu should be displayed

Actual:
The site context menu is displayed

Regression-Range:
Not a regression, can be reproduced back to FX68

Note:
The context menu works if the user clicks anywhere in the field where the placeholder is not present. See attached screen recording.
This is also reproducible on sogou.com

The site is positioning a span over the input and forwarding left click events to a input.focus() rather than using pointer-events: none like they should…

<span class="ph-label" data-spm-anchor-id="a2107.1.0.i0.3e9111d9Ua2aNd">会员名/邮箱</span>

Can we reach out and tell the site to make the following change:

/* new-loginV2.css | https://g.alicdn.com/vip/login/0.5.65/css/new-loginV2.css?t=20151220 */

.static-form .field .ph-label {
  pointer-events: none;
}
Component: Password Manager: Site Compatibility → Desktop
Product: Toolkit → Web Compatibility
Whiteboard: [passwords:fill-ui]

Matthew,
Thanks for the tip.
The additional questions would be:

  1. if chrome receives the same markup/js/css why, does it work?
  2. if it works in chrome, what do they do differently?

This can trigger a requirement we do things differently or that we file a bug against chromium and/or there is something to clarify in relevant specifications.

Flags: needinfo?(MattN+bmo)

(In reply to Karl Dubost💡 :karlcow from comment #2)

  1. if chrome receives the same markup/js/css why, does it work?

The same issue appears in Chrome… right-clicking on the "placeholder" span leads to the wrong context menu. Compare to right-clicking to the right of the placeholder text.

  1. if it works in chrome, what do they do differently?

It doesn't. See above.

Flags: needinfo?(MattN+bmo)

Then not sure we can do anything about it. This is something which should be handled by TaoBao. :)
Why would it be a webcompat issue, if the issue is reproducible in all browsers.

Does it work in one known browser?

I agree with Karl, if it's broken everywhere it won't be a high priority.

Priority: -- → P5

(In reply to Karl Dubost💡 :karlcow from comment #4)

Then not sure we can do anything about it. This is something which should be handled by TaoBao. :)

Exactly… that's why I moved the bug here… so we can tell them.

Why would it be a webcompat issue, if the issue is reproducible in all browsers.

Does it work in one known browser?

I don't know but that doesn't mean it's not a compatibility problem with the website. i.e. The website isn't compatible with browsers.

This issue is also reproducible on zhanqi.tv, in Beta version 76.0b4 and latest Nightly 77.0a1 (2020-04-15). Updating the flags accordingly.

I can't reproduce the issue on my side.

Tested with:
Browser / Version: Firefox Nightly 88.0a1 (2021-03-02)
Operating System: Windows 10 Pro

Timea can you still reproduce it?

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(timea.babos)
Resolution: --- → WORKSFORME

I can't reproduce it either on the latest Firefox Nightly 88.0a1 (2021-03-02) on MacOS 10.15. Thanks for looking into it and closing!

Flags: needinfo?(timea.babos)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: