Closed
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Electron Version
11., 12., 13.*
What operating system are you using?
Windows
Operating System Version
Windows 10
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
setBackgroundColor()
should set the background to the browser view.
Actual Behavior
The content of the BrowserView is still transparent.
Testcase Gist URL
https://gist.github.com/ddramone/712a2fde2757736c9dbf6c3e7e0aa18b
Additional Information
Additional unusual behavior:
I tried to remove the background color from the parent BrowserWindow. As a result
-
BrowserView that is fully visible in the screen (right) picks up its own background. But it is blended through the renderer content.
-
Another BrowserView that is partially visible on the screen (left) still doesn't pick up its own background.
see the screenshot:
figma.com is the example that doesn't have the background color to the document body.