Closed Bug 1388682 Opened 7 years ago Closed 7 years ago

On Windows (tested on 7) popup menus inherit <select>'s background colour in FF 55.0, in windows classic theme

Categories

(Core :: CSS Parsing and Computation, defect)

55 Branch
All
Windows 7
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Tracking Status
firefox-esr52 --- unaffected
firefox55 - verified
firefox56 --- unaffected
firefox57 --- unaffected

People

(Reporter: o.kenway, Unassigned)

References

Details

(Keywords: multiprocess, regression)

Attachments

(4 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170803173024

Steps to reproduce:

Write a simple html + css document:

test.html:

<html>
<link href="test.css" rel="stylesheet" type="text/css" />
<body>
<select id="test">
<option value="1">opt 1</option>
<option value="2">opt 2</option>
<option value="3">opt 3</option>

</select>
</body>
</html>

test.css:

select {
    background-color: #FF0000;
}

Open in Firefox 55 on Windows 7, 32bit.

Right click on page to get pop-up menu.  Background on Pop-up menu is grey (as it should be).  Click on <select> object to drop-down its list.  Right-click on page - background on pop-up menu is now red (same as <select>).  Open new tab.  Navigate to Google.com and right click to get pop-up menu.  Background of pop-up menu is still red. 

I tested this on Firefox 55.0 on Linux and it did *not* have this issue so I assume it is limited to Windows, possibly 7 and possibly with the "classic" appearance.


Actual results:

For all pop-up menus (including some for extensions like ad-block), opened after a <select> object with a CSS colour applied, the background colour is the colour for the select object.

This persists for all pop-up menus opened from that window regardless of tab or site.  It does not apply for other windows.  It can be reset by opening another select item without a colour applied.

I have put screenshots here: https://twitter.com/owainkenway/status/895034199266263041


Expected results:

Pop-up menus should have stayed grey.
Component: Untriaged → Menus
[Tracking Requested - why for this release]: UI broken

Regression window:
https://hg.mozilla.org/releases/mozilla-beta/pushloghtml?fromchange=2255dbea626873d861e8031726ec120468c7923e&tochange=d553313466297741d50c810b95bd9685524dd461

Regressed by: Bug 1291515
Blocks: 1291515
Status: UNCONFIRMED → NEW
Component: Menus → CSS Parsing and Computation
Ever confirmed: true
OS: Unspecified → Windows 7
Product: Firefox → Core
Hardware: Unspecified → All
Summary: On Windows (tested on 7) popup menus inherit <select>'s background colour in FF 55.0 → On Windows (tested on 7) popup menus inherit <select>'s background colour in FF 55.0, in windows classic theme
Cameron, this is probably for you ;)
I don't think it is worth taking a fix in a 55 dot release but I can be wrong.
Flags: needinfo?(cam)
Is this what bug 1375224 should have fixed?  Jared, do you know?
Flags: needinfo?(cam) → needinfo?(jaws)
(In reply to Cameron McCormack (:heycam) from comment #7)
> Is this what bug 1375224 should have fixed?  Jared, do you know?


Via local build(win32), 
Build from
mozilla-release cace0357d40e : I can reproduce the problem
mozilla-release cace0357d40e+bug 1375224 patch: I can not reproduce the problem


Yep, the patch of bug 1375224 fixes the problem.
Depends on: 1375224
Thanks for checking Alice!  My feeling is that this is not a severe enough problem to uplift to Release.
I agree, thanks!
Flags: needinfo?(jaws)
I have requested uplift to release in bug 1375224 as this will affect many other sites in the long tail.
is this expected to be fixed in Fx 55.0.2 via bug 1375224?
(In reply to j.j. from comment #14)
> is this expected to be fixed in Fx 55.0.2 via bug 1375224?

Yes, can you verify that this is fixed in 55.0.2?
Flags: needinfo?(moz)
Hi,

I tested last night and the fix in 55.0.2 did indeed resolve the issue for me.

Thanks for the speedy fix!

Owain
thanks
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Flags: needinfo?(moz)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: