Open stephendonner opened 2 years ago
FWIW, I couldn't reproduce this on Version 1.45.64 Chromium: 106.0.5249.40 (Official Build) nightly (64-bit). Setting data-theme=light, data-theme=dark & data-theme=sepia all worked in Nightly.
I tested with a light base theme and a dark base theme, both seemed to work (I'm on Ubuntu 22.04.1 LTS)
Repro'd in 1.44.93 Chromium: 105.0.5195.136 (Official Build) beta (64-bit) (a semi recent Beta) - does something need an uplift?
Actually we do not need this functional as javascript function, It's only needed in Speedreader bubble v2 (https://github.com/brave/brave-core/pull/14151) which merged in 45. I think we should test new bubble instead of API itself. Anyway could you please attach the html source of the speedreaded page? I want to check what css really loaded.
Description
Speedreader theme support doesn't work on Linux.
Spinning this off from https://github.com/brave/brave-browser/issues/23447 because it was verified there on
Windows 10-x64
andmacOS-x64
.Steps to Reproduce
1.44.95
jicbkmdloagakknpihibphagfckhjdih
component directorybrave://settings/appearance
isLight
https://www.bbc.com/news/business-58559179
Developer Tools
->Console panel
document.documentElement.setAttribute('data-theme', 'dark')
and pressed returndocument.documentElement.setAttribute('data-theme', 'sepia')
and pressed returnActual result:
Nothing (visually) happens, but the
data-theme
attribute seems to get correctly setExpected result:
Should change the theme/mode to
dark
,sepia
, etc.Reproduces how often:
100%
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
cc @boocmp @rebron