Closed Bug 1727950 Opened 4 years ago Closed 4 years ago

Form controls can move on top of other elements when they're autofilled

Categories

(Core :: Layout: Form Controls, defect)

x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1687682

People

(Reporter: julienw, Unassigned)

Details

Attachments

(2 files)

STR:

  1. Go to https://montrougeplongee.com/
  2. Hover on menus at the top, notice that they properly go on top of the login inputs. [OK]
  3. Enter some login so that you can save them in Firefox.
  4. Reload the page so that the login is autofill.
  5. Hover on menus at the top

=> see that the autofilled inputs are rendered on top of the menus. [KO]

It would be useful to check this on other platforms than Linux. Also this happens for me for quite some time, but I thought this was an issue on the website, until I found out that this wouldn't happen for non-autofilled inputs, that's why I'm filing this only now.

Attached video problem
Attachment #9238343 - Attachment description: Screencast_27-08-2021_23:42:00.webm → problem

This is because we use filter property for :autofill and it creates a stacking context. We probably will figure out a way to use other properties which will not create any stacking context.

Setting S2 since this is causing unreadable contents.

Severity: -- → S2

We could conceivably just change the background-color and text color here, but we might need some UX input to rethink how this should look.

Bug 1687682 will fix this.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: