Page MenuHomePhabricator

[Bug] Night mode applies to form elements in mobile when night mode is disabled
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

Steps to reproduce

  1. On operating system set dark mode as preference
  2. Visit https://en.m.wikipedia.org/wiki/Facebook?safemode=1 (or https://en.m.wikipedia.beta.wmflabs.org/w/index.php?title=Dog)
  3. Click edit

Expected results

  • Editor should still appear in light mode

Actual results

Editor appears in night mode.

image.png (586×720 px, 179 KB)

Notes

Patched in https://en.m.wikipedia.org/w/index.php?title=MediaWiki:Mobile.css&diff=1211115644&oldid=1158451032&title=MediaWiki%3AMobile.css&diffonly=1

Environments observed

  • Browser version:
  • OS version:
  • Device model:
  • Device language:

Check any additional observations

Stack trace

Console output

QA Results - Beta

ACStatusDetails
1T358814#9601345

QA Results - Prod

ACStatusDetails
1T358814#9615938

Event Timeline

Jdlrobson updated the task description. (Show Details)
Jdlrobson added a project: Regression.

Change 1007733 had a related patch set uploaded (by Jdlrobson; author: Jdrewniak):

[mediawiki/skins/MinervaNeue@master] Remove color-scheme property from :root selector

https://gerrit.wikimedia.org/r/1007733

Change 1007733 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Move color-scheme property from :root to .skin-night-mode-clientpref-2

https://gerrit.wikimedia.org/r/1007733

Jdlrobson set the point value for this task to 1.Mar 1 2024, 10:04 PM
Edtadros subscribed.

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Sonoma
Browser: Chrome
Device: MBA
Emulated Device:NA

Test Artifact(s):

QA Steps

On operating system set dark mode as preference
Select Day mode in settings
Visit https://en.m.wikipedia.org/wiki/Facebook?safemode=1 (or https://en.m.wikipedia.beta.wmflabs.org/w/index.php?title=Dog)
Click edit
✅ AC1: Editor should still appear in light mode

screenshot 623.png (844×390 px, 105 KB)

screenshot 624.png (844×390 px, 237 KB)

Jdlrobson renamed this task from [Bug] Night mode applies to textareas in mobile when night mode is disabled to [Bug] Night mode applies to form elements in mobile when night mode is disabled.Mar 6 2024, 4:34 PM
Jdlrobson added a subscriber: Lofhi.

Test Result - Prod

Status: ✅ PASS
Environment: enwiki
OS: macOS Sonoma
Browser: Chrome
Device: MBA
Emulated Device:NA

Test Artifact(s):

QA Steps

On operating system set dark mode as preference
Select Day mode in settings
Visit https://en.m.wikipedia.org/wiki/Facebook?safemode=1 (or https://en.m.wikipedia.beta.wmflabs.org/w/index.php?title=Dog)
Click edit
✅ AC1: Editor should still appear in light mode

screenshot 688.png (933×427 px, 126 KB)

screenshot 689.png (933×427 px, 164 KB)