Closed Bug 1698336 Opened 4 months ago Closed 4 months ago

meter optimum and suboptimum values should have Highlight background in hcm appearance:auto


(Core :: Widget, defect)




88 Branch
Fission Milestone M7a
Tracking Status
firefox88 --- fixed


(Reporter: aja, Assigned: emilio)


(Blocks 1 open bug)



(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0

Steps to reproduce:

view a meter in a windows hcm

Actual results:

optimum and suboptimum values are transparent

Expected results:

optimum and suboptimum values should have Highlight background in hcm appearance:auto

Flags: needinfo?(emilio)
Blocks: hcm
Flags: needinfo?(emilio)
Assignee: nobody → emilio

Using the same color for the track and the meter chunk is not going to
fly of course...

In high contrast, make the colors consistent with <progress>, which
seems like a reasonable thing to do.

As an afterthought, perhaps use Mark system color for sub-optimum and Highlight for optimum?...if it looks okay aesthetically.
That way semantics wouldn't be lost the way it would be with use of a single color...
although that's the way it's currently implemented in blink/edge.

Flags: needinfo?(emilio)

We don't have mark / Marktext as system colors so that's a bit more work. Can you file a follow-up to consider doing this?

Flags: needinfo?(emilio)

Filed 10 months ago :)
Bug 1638052 Support new system colors Mark, MarkText, and ButtonBorder

See Also: → 1638052
See Also: → 1698469

And just filed:
Bug 1698469 Consider changing meter sub-optimum value to have Mark system color background in hcm appearance:auto

Fission Milestone: --- → M7a
Pushed by
Fix high contrast rendering of <meter>. r=mstange
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.