[csswg-drafts] [css-text-4] Japanese text (in #jp-title-break) in Example 24 is unreadable, with dark color-scheme (#11099)

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

== [css-text-4] Japanese text (in #jp-title-break) in Example 24 is unreadable, with dark color-scheme ==
If you view https://drafts.csswg.org/css-text-4/#jp-title-break with a dark color-scheme-preference in your browser, the Japanese text in the example is barely readable (light-gray-on-white-background).

This is because that section sets `background` while letting the default `color` be inherited through; and if you do that, you end up with a light `color` in a dark-color-scheme.

Here's the relevant style rule in the markup for this page:
https://github.com/w3c/csswg-drafts/blob/main/css-text-4/Overview.bs#L6874-L6885

We perhaps want to add `color:black` or similar, just before `background:white`, so that we're not at the mercy of the inherited color-scheme-defined text-color here (which may or may not be hardcoded white background).

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


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

Received on Monday, 28 October 2024 17:01:10 UTC