Closed Bug 1685225 Opened 3 years ago Closed 3 years ago

non-native theme meter chunk coloring is wrong

Categories

(Core :: Widget, defect)

defect

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: heycam, Assigned: heycam)

References

Details

Attachments

(1 file)

widget/reftests/meter-native-style.html fails due to the non-native theme using the wrong colors for meter elements.

The logic in nsNativeBasicTheme::ComputeMeterchunkColors doesn't match the meter element's state bits, which are what the default rendering (in the UA style sheet) uses. We should switch to using the state to determine the color.

Assignee: nobody → cam
Status: NEW → ASSIGNED
Pushed by cmccormack@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f0aa53b918ed
Use state bits to determine the color for non-native theme meter chunks. r=spohl
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: