Sometimes about:blank page does not reflect the color scheme correctly
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox118 | --- | wontfix |
firefox119 | --- | wontfix |
firefox120 | --- | verified |
firefox121 | --- | verified |
People
(Reporter: emk, Assigned: emilio)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(2 files)
Steps to reproduce:
- Set Firefox Theme to Dark. (You can skip this step if the system color scheme is Dark.)
- Open
about:blank
. Make sure the background color is black. - Press Ctrl+U to open a
view-source:about:blank
tab. - Press Ctrl+W to close the view source tab.
Actual result:
The about:blank
background color is white.
Note: If you switch to another tab and back to the about:blank
tab, the background color backs to black.
Expected result:
The about:blank
background color should keep black.
Regression range: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=d48c4e5647e49a631a5a0ced016e06426770fafa&tochange=88ec6682eab1c5c36cb839c8db0156446559a1cb
Comment 1•1 year ago
|
||
Set release status flags based on info from the regressing bug 1845779
:emilio, since you are the author of the regressor, bug 1845779, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
I came here from another behavior regression which is pretty disturbing: https://github.com/darkreader/darkreader/issues/11190#issuecomment-1769990134
Simply speaking, when Firefox introduced auto dark mode switching officially, we don't need to use ShadowFox to get rid of "flash bang" between opening a link when using dark mode and dark reader anymore. But the mentioned bug fix reintroduced this unwanted behavior, and it doesn't seem fixable by hacking Firefox CSS again.
It's quite uncomfortable and is happening on all platforms now.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
Updated•1 year ago
|
Reporter | ||
Comment 4•1 year ago
|
||
Click the "Open about:blank in new window" link in the attached test case. White background tab will open even though the tab contains a content-inaccessible about:blank
. I think bc && bc->IsTop() && bc->Group()->Toplevels().Length() == 1
is too restrictive.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 6•1 year ago
|
||
bugherder |
Updated•1 year ago
|
Updated•1 year ago
|
Reproducible on a 2023-10-18 Nightly build on macOS 12.
Verified as fixed on Firefox 120.0b4 and Nightly 121.0a1 on macOS 12, Windows 10, Ubuntu 22.
Description
•