Closed
Bug 1352963
Opened 8 years ago
Closed 8 years ago
[e10s] Background on <select> options is white when opened for the first time
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox-esr45 | --- | unaffected |
firefox52 | --- | unaffected |
firefox-esr52 | --- | unaffected |
firefox53 | --- | unaffected |
firefox54 | + | fixed |
firefox55 | --- | fixed |
People
(Reporter: over68, Assigned: jaws)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
mossop
:
review+
gchang
:
approval-mozilla-beta+
|
Details |
Steps to reproduce:
1. Go to https://onedrive.live.com/download?cid=F96BA52A2AF70D03&resid=F96BA52A2AF70D03%21841&authkey=ACQf2Dqa11rX3lk.
2. Open the <select> element.
Actual results:
The background is white when opened for the first time.
The background is gray when opened for the second time.
Screenshot https://1drv.ms/i/s!AgMN9yoqpWv5hkqqY2J_e_M-hpgo
Flags: needinfo?(jaws)
Blocks: e10s-select
Assignee | ||
Comment 1•8 years ago
|
||
This test case reproduces it:
data:text/html,<style>* { transition: all 2s; } select:focus { background: orange; }</style><select><option>1<option>2
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(jaws)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #1)
> This test case reproduces it:
>
> data:text/html,<style>* { transition: all 2s; } select:focus { background:
> orange; }</style><select><option>1<option>2
Note that this test case uncovered another bug unrelated to this bug. I just filed bug 1353222 for the issue.
The following test case should be used to confirm/verify this specific bug:
data:text/html,<style>select { transition: all .2s; } select:focus { background: orange; }</style><select><option>1<option>2
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8854270 [details]
Bug 1352963 - Update the styling of the select popup after transitionend.
https://reviewboard.mozilla.org/r/126198/#review128910
Looks ok but if I understand correctly we aren't going to see the transition on the select drop-down. Does Chrome support that?
Attachment #8854270 -
Flags: review?(dtownsend) → review+
Assignee | ||
Comment 6•8 years ago
|
||
(In reply to Dave Townsend [:mossop] from comment #5)
> Comment on attachment 8854270 [details]
> Bug 1352963 - Update the styling of the select popup after transitionend.
>
> https://reviewboard.mozilla.org/r/126198/#review128910
>
> Looks ok but if I understand correctly we aren't going to see the transition
> on the select drop-down. Does Chrome support that?
Yeah, both Chrome and Edge show the transition actually happening on the popup contents, whereas we would only update to the final state once the transition ends. This is really unfortunate, but from the front-end perspective I'm not aware of a solution to this problem. I think it underlines a major problem with how the e10s implementation of the select popup works.
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cf051de0d37b
Update the styling of the select popup after transitionend. r=mossop
Assignee | ||
Comment 8•8 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #6)
> (In reply to Dave Townsend [:mossop] from comment #5)
> > Comment on attachment 8854270 [details]
> > Bug 1352963 - Update the styling of the select popup after transitionend.
> >
> > https://reviewboard.mozilla.org/r/126198/#review128910
> >
> > Looks ok but if I understand correctly we aren't going to see the transition
> > on the select drop-down. Does Chrome support that?
>
> Yeah, both Chrome and Edge show the transition actually happening on the
> popup contents, whereas we would only update to the final state once the
> transition ends. This is really unfortunate, but from the front-end
> perspective I'm not aware of a solution to this problem. I think it
> underlines a major problem with how the e10s implementation of the select
> popup works.
Filed bug 1353426 for this.
Assignee | ||
Comment 9•8 years ago
|
||
[Tracking Requested - why for this release]: regression from bug 910022
status-firefox52:
--- → unaffected
status-firefox53:
--- → unaffected
status-firefox54:
--- → affected
status-firefox55:
--- → affected
status-firefox-esr45:
--- → unaffected
status-firefox-esr52:
--- → unaffected
tracking-firefox54:
--- → ?
Comment 10•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Comment 11•8 years ago
|
||
Track 54+ as regression.
Hi :jaws,
Do you want to uplift this to Aurora54 if this patch is not too risky?
Flags: needinfo?(jaws)
Assignee | ||
Comment 12•8 years ago
|
||
We will need to wait for bug 1355078 to get fixed first (it is waiting for review right now).
Flags: needinfo?(jaws)
Assignee | ||
Comment 13•8 years ago
|
||
Comment on attachment 8854270 [details]
Bug 1352963 - Update the styling of the select popup after transitionend.
Approval Request Comment
[Feature/Bug causing the regression]: regression from bug 910022
[User impact if declined]: some <select> popups may be unreadable due to dependence on CSS transitions
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: no
[Needs manual test from QE? If yes, steps to reproduce]: no, automated test covers this
[List of other uplifts needed for the feature/fix]: yes, this patch should be applied before the patches from bug 1354196 and bug 1355078, in that order.
[Is the change risky?]: not expected
[Why is the change risky/not risky?]: The change is focused specifically on select dropdowns and is a very specific/focused fix.
[String changes made/needed]: none
Attachment #8854270 -
Flags: approval-mozilla-beta?
Updated•8 years ago
|
Flags: qe-verify+
Comment 14•8 years ago
|
||
Comment on attachment 8854270 [details]
Bug 1352963 - Update the styling of the select popup after transitionend.
Fix a select dropdown issue and include test. Beta54+. Should be in 54 beta 3.
Attachment #8854270 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 15•8 years ago
|
||
bugherder uplift |
Comment 16•8 years ago
|
||
(In reply to (Away 3 May - 5 May) Jared Wein [:jaws] (please needinfo? me) from comment #13)
> [Is this code covered by automated tests?]: yes
> [Has the fix been verified in Nightly?]: no
> [Needs manual test from QE? If yes, steps to reproduce]: no, automated test
> covers this
This fix seems to have automated coverage. Gerry, Jared, do you think manual testing would be of value here?
Flags: needinfo?(jaws)
Flags: needinfo?(gchang)
Comment 17•8 years ago
|
||
Hi Andrei,
You're right. There is no need for manual testing here. Thanks.
Flags: qe-verify-
Flags: qe-verify+
Flags: needinfo?(jaws)
Flags: needinfo?(gchang)
Assignee | ||
Comment 18•8 years ago
|
||
Yes, no need for manual testing here.
You need to log in
before you can comment on or make changes to this bug.
Description
•