[e10s] Background on <select> options is white when opened for the first time

NEW
Unassigned

Status

()

Core
Layout: Form Controls
a year ago
a year ago

People

(Reporter: blinky, Unassigned)

Tracking

55 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
Steps to reproduce:

1. Download and extracts the archive https://onedrive.live.com/download?cid=F96BA52A2AF70D03&resid=F96BA52A2AF70D03%211266&authkey=AKvMDy6O_XPym84.
2. Open index.htm
3. Open the <select> element.


Actual results:

The background is white when opened for the first time.

The background is yellow when opened for the second time.

Screenshot https://1drv.ms/i/s!AgMN9yoqpWv5iXN7ofpAuD1K5kxV
Flags: needinfo?(jaws)
(Reporter)

Updated

a year ago
Blocks: 910022
This reduced testcase reproduces the problem:

data:text/html,<span id="container"><select><option>1<option>2</select></span><script>document.querySelector("select").addEventListener("focus", function() { document.getElementById("container").classList.add("open"); }); document.querySelector("select").addEventListener("blur", function() { document.getElementById("container").classList.remove("open"); });</script><style>.open select { background-color: yellow; }</style>

I'm not sure we have a way to fix this bug given how bug 910022 is implemented.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(jaws)
You need to log in before you can comment on or make changes to this bug.