[csswg-drafts] [css-images-3] /TR page for of css-images-3 has unreadable tooltips, if you have a dark color-scheme preference (#12167)

dholbert has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-images-3] /TR page for of css-images-3 has unreadable tooltips, if you have a dark color-scheme preference ==
STR:
1. Set a dark color-scheme preference in your browser (or your OS, if your browser defers to your OS).  You can confirm that this worked by e.g. visiting https://bugzilla.mozilla.org/ which should load with a nearly black background color.
2. Visit https://www.w3.org/TR/css-images-3/
3. Hover any of the linked terms in the spec, e.g. the term `<image>` in the Abstract section at the very beginning.  Look at the info tooltip that gets popped up for that term.

ACTUAL RESULTS:
The tooltip contents are unreadable - black text / dark-blue links, on dark-gray background.

EXPECTED RESULTS:
Readable tooltip.

Here's a screenshot:
![Image](https://github.com/user-attachments/assets/508812fc-7fe6-457b-ac35-818cccf9bbd5)

This reproduces in all browsers (I tested Firefox, Chrome, and Safari.)  Essentially it looks like this page's styles don't take the user's color-scheme preference into account, which is ~fine, except that the page **does** take the color-scheme into account **specifically for determining the background-color of the tooltip**.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12167 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 6 May 2025 17:13:50 UTC