Closed
Bug 1350670
Opened 8 years ago
Closed 8 years ago
[e10s] The text color on select options is gray when opened for the first time
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
FIXED
mozilla55
People
(Reporter: over68, Assigned: jaws)
References
Details
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
mossop
:
review+
gchang
:
approval-mozilla-aurora+
|
Details |
Steps to reproduce:
1. Go to https://onedrive.live.com/download?cid=F96BA52A2AF70D03&resid=F96BA52A2AF70D03%21734&authkey=AKphOnh2lDX94OA.
2. Open the <select> element.
Actual results:
The text color on select options is gray when opened for the first time.
Screenshot https://1drv.ms/i/s!AgMN9yoqpWv5hV-nd1r89rDJvoo3
Flags: needinfo?(jaws)
This is a similar case http://jsfiddle.net/luiscastillo/sFx7f/.
Blocks: 910022
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jaws
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(jaws)
Comment hidden (mozreview-request) |
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8852198 [details]
Bug 1350670 - Extend the MutationObserver to cover attributes in case the page sets styles through style, class, ID or other attributes.
https://reviewboard.mozilla.org/r/124434/#review126978
Attachment #8852198 -
Flags: review?(dtownsend) → review+
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/adf939cb9b0b
Extend the MutationObserver to cover attributes in case the page sets styles through style, class, ID or other attributes. r=mossop
Comment 5•8 years ago
|
||
Backed out in https://hg.mozilla.org/integration/autoland/rev/7be483e06caf for https://treeherder.mozilla.org/logviewer.html#?job_id=87139159&repo=autoland on Mac and Windows.
Assignee | ||
Comment 6•8 years ago
|
||
The test was only failing on non-e10s builds. Odd that it only failed on non-e10s, but the cause is that the binding for the elements was destroyed during _update, so `item.label` was returning undefined on non-e10s builds. The reference to the items was retrieved before the styling change, so it was pointing at elements that were out-of-date. The fix for this was to move the waitForCondition up a few lines higher so that the references to the children aren't obtained until after the _update.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 8•8 years ago
|
||
The case in the comment 0 is fixed in bug 1350774, Please add the test for this case.
Flags: needinfo?(jaws)
Comment 10•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Assignee | ||
Comment 11•8 years ago
|
||
(In reply to blinky from comment #9)
> The case in the comment 0 is fixed in bug 1350774, Please add the test for
> this case.
It seems you're asking for a test case that confirms that `color` that is set via select:focus is inherited by the option children? It is correct that there is not a specific test case for this scenario, but the test that was included in the patch for bug 1350774 covers one point of view of this problem. Unless there is another user-visible issue regarding this I'd rather spend my time elsewhere.
Flags: needinfo?(jaws)
Assignee | ||
Updated•8 years ago
|
status-firefox54:
--- → affected
Assignee | ||
Comment 12•8 years ago
|
||
Comment on attachment 8852198 [details]
Bug 1350670 - Extend the MutationObserver to cover attributes in case the page sets styles through style, class, ID or other attributes.
Approval Request Comment
[Feature/Bug causing the regression]: regression from bug 910022
[User impact if declined]: <select> menus may look broken on some webpages
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: not "verified" but it has been on nightly for some time now with no bugs filed against it and the bug reporter has done an amazing job hunting for bugs with the feature
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]: this patch must be applied on top of the patch from bug 1350774
[Is the change risky?]: no
[Why is the change risky/not risky?]: limited to just select popups, this is following other patches that have been uplifted to for bug 910022
[String changes made/needed]: none
Attachment #8852198 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 13•8 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #12)
> [Has the fix been verified in Nightly?]: not "verified" but it has been on
> nightly for some time now with no bugs filed against it and the bug reporter
> has done an amazing job hunting for bugs with the feature
Sorry, scratch the above. This just landed on Nightly yesterday, though after letting it sit on Nightly for a few days we should be able to uplift it.
Comment 14•8 years ago
|
||
Comment on attachment 8852198 [details]
Bug 1350670 - Extend the MutationObserver to cover attributes in case the page sets styles through style, class, ID or other attributes.
Fix a regression related to <select> element and was verified in comment #13 of bug 1348617. Aurora54+.
Attachment #8852198 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 15•8 years ago
|
||
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
Firefox: 55.0a1, Build ID: 20170404030204
I have tested this issue using the test case from comment 0 and comment 1 and the issue is no longer reproducible on latest Nightly (55.0a1) build.
However, I was able to reproduce the issue on an older Nightly (2017-03-26) build.
Comment 16•8 years ago
|
||
bugherder uplift |
You need to log in
before you can comment on or make changes to this bug.
Description
•