Closed Bug 1626211 Opened 4 years ago Closed 4 years ago

"select" element and "position: relative" in ":focus" needs two clicks

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1440506
Tracking Status
firefox74 --- wontfix
firefox75 --- wontfix
firefox76 --- wontfix

People

(Reporter: zigazou, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0

Steps to reproduce:

This is the minimal form which exhibits the problem :

--- HTML ---
<select>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>

--- CSS ---
:focus { position: relative; }

Note:

Actual results:

select elements need two click to open (first click to gain focus, second click to open the list)

Expected results:

select elements should open on the first click, even if they aren't focused.

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0

Hi,

I have managed to reproduce this issue on latest FF release 74.0.1 and latest Nightly 76.0a1 (2020-04-06) using Ubuntu 18.04 and Windows 10.

Further, I will move this over to a component so developers can take a look over it. If this is not the correct component please feel free to change it to an appropriate one.

Thanks for the report.

Status: UNCONFIRMED → NEW
Component: Untriaged → CSS Parsing and Computation
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
Version: 76 Branch → Trunk
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.