Force the QuickView background white when displaying text documents
In issue 883117 an externally injected stylesheet changed scroll style of QuickView text documents: scroll bars went missing. Investigating more, I find the background color of QuickView <webview> content is also not set, so it is currently possible for an externally injected stlyesheet to override the background color of text documents in QuickView by accident. Prevent such accidents - set the <webview> content background color to white and add a test to verify the background color. Bug: 891150 Change-Id: Ic7881ae45b2f36ba94ed245bae3d5944cda0eb2e Reviewed-on: https://chromium-review.googlesource.com/c/1260784Reviewed-by:Stuart Langley <slangley@chromium.org> Reviewed-by:
Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#596517}
Showing
Please register or sign in to comment