Send color-scheme background to browser side widget.
Take color-scheme meta tags into account and set the content background color for the page to the dark background before we start committing frames for the document. This way we can avoid white flashes navigating between dark schemed pages if there are e.g. slow render blocking stylesheets blocking rendering. Bug: 1103667 Change-Id: I1ed110bf652dd4936bf6669e6b9cd634c0f73b0a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2438532Reviewed-by:Bo <boliu@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#814347}
Showing
Please register or sign in to comment