Interstitials/neterror: Enable scrollbars to follow system's dark theme.
Previously scrollbars always appeared light, even if a WebUI page was otherwise respecting dark mode. The upcoming FormControlsDarkMode feature allows webpages to specify whether scrollbars should follow the system's theme, by specifying a new <meta name="color-scheme"> tag. Repro instructions 1) Launch Chrome with the following flags to experience dark scrollbars. --enable-features=WebUIDarkMode,CSSColorSchemeUARendering \ --force-dark-mode 2) Go to chrome://inerstitials and open any interstitial category, observe scrollbars. 3) Go to a non-existing page (eg chrome://foo), observe scrollbars. Bug: 1142291 Change-Id: If85d49dcfe7eeb404eb4a472ce8a1dee135e57ac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521219 Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Auto-Submit: dpapad <dpapad@chromium.org> Reviewed-by:Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/master@{#824625}
Showing
Please register or sign in to comment