Closed Bug 1868416 Opened 2 years ago Closed 4 months ago

Accent colors in select with "Graphite" appearance look different

Categories

(Core :: Widget: Cocoa, defect, P3)

Unspecified
macOS
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: metasieben, Unassigned)

References

Details

Attachments

(4 files)

Attached image Firefox 122

While using dark mode in both macOS(13.6.1 (22G313)) and Firefox and Appearance "Graphite" selects seem to be missing their accent color.

See screenshots attached.

Attached image Safari
Depends on: 1863691

The severity field is not set for this bug.
:spohl, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(spohl.mozilla.bugs)
Severity: -- → S3
Flags: needinfo?(spohl.mozilla.bugs)
Priority: -- → P3

This seems to work fine on sonoma and current nightly, don't know if you can confirm? I've been using:

data:text/html,<meta name=color-scheme content=dark><select><option>Abc</option><option>DEF</option></select>

Yes, your testcase works as expected.

I used page[1] for my tests, and while it works when forcing the background of the output to be dark,
it still looks different from Safari when the background is white.

Tried the same in ESR115 and it looks much closer to Safari, see attached screenshot.

[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select

Attached image Firefox115

The remaining differences of the highlight should now be fixed by bug 2018516 in the latest Nightly. Can you confirm? Note that Safari seems to use a dark mode menu even when the page has light content, but Firefox uses a light mode menu with light content, so that part might still be different (but intentional).

Depends on: 2018516
Flags: needinfo?(mozilla)

Okay, still not sure, why we use the light mode menu when in dark mode.
The accent color is fixed, though.

Status: UNCONFIRMED → RESOLVED
Closed: 4 months ago
Flags: needinfo?(mozilla)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: