emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#71443: closed ([mumi] Some HTML elements don't respond to preferred


From: GNU bug Tracking System
Subject: bug#71443: closed ([mumi] Some HTML elements don't respond to preferred color scheme when JS is disabled)
Date: Mon, 10 Jun 2024 12:11:02 +0000

Your message dated Mon, 10 Jun 2024 12:44:49 +0100
with message-id <87le3ddnta.fsf@systemreboot.net>
and subject line Re: [mumi] Some HTML elements don't respond to preferred color 
scheme when JS is disabled
has caused the debbugs.gnu.org bug report #71443,
regarding [mumi] Some HTML elements don't respond to preferred color scheme 
when JS is disabled
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
71443: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71443
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [mumi] Some HTML elements don't respond to preferred color scheme when JS is disabled Date: Sat, 8 Jun 2024 19:54:43 +0000 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0
Package: mumi

Hi,

When using a web browser with JavaScript disabled, the body element and the text input of class ".tokenInput" don't use the correct color theme. This doesn't affect people who use light themes, but it does affect people who use dark themes because it introduces contrast issues (light text on light backgrounds).

STEPS TO REPRODUCE

1. Launch IceCat web browser
2. Enable user defined color scheme preferences by disabling
   Application menu → IceCat Settings → Resist Fingerprinting
3. Set your color scheme preferences to Dark in: Application menu →
   Settings → Language and Appearance → Website appearance
4. Disable JavaScript in: Application menu → IceCat Settings → Disable
   Javascript
5. Visit https://issues.guix.gnu.org/
6. Press Ctrl+F5 to avoid using cached resources

EXPECTED RESULT

The website uses the dark color scheme.

UNEXPECTED RESULT

The HTML body element and the text input of class ".tokenInput" don't use the dark color scheme, while the rest of the elements do use it.

ADDITIONAL INFORMATION

There seems to be something wrong with the functionality of the "--background-color" variable. While it seems to have appropriate values assigned to it for every color scheme case (prefers light, prefers dark, and no preference), the dark color value is not being used when needed. I still don't know why.

WORKAROUND

Assigning the value of "var(--nav-background-color)" to the "background-color" property of the affected elements solves the issue.


--
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

Attachment: OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message --- Subject: Re: [mumi] Some HTML elements don't respond to preferred color scheme when JS is disabled Date: Mon, 10 Jun 2024 12:44:49 +0100
Pushed as 858c2cd544084316f9df19b2e536059ff3070c35. Thanks! You should
see the change in https://issues.guix.gnu.org the next time it is
reconfigured.

Before pushing, I also updated the CSS timestamp. We do this to
invalidate browser caches.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]