Open Bug 1358942 Opened 6 years ago Updated 6 months ago

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

Categories

(Core :: Layout: Form Controls, defect)

55 Branch
x86_64
Windows 7
defect

Tracking

()

People

(Reporter: over68, Unassigned)

References

Details

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)
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)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.