Steps to reproduce
To repro A:
- Visit https://dl.dropboxusercontent.com/u/40949268/emcc/bugs/fullscreen_canvas.html
- Click on “Fullscren native stretch”
- Press the Esc key.
- Observe the background color of the page.
Observed: The background color of the page is black, like shown in this image: https://dl.dropboxusercontent.com/u/40949268/emcc/bugs/document_body_color_ie.png
Expected: The background color of the page should be white.
- Right-click on the black page background and choose "Inspect Element".
- Observe that the page redraws itself and the background color snaps to the correct white color.
The fact that opening up the Web inspector redraws the page in the correct color suggests that this is a visual bug and not caused by the JS code on the page.
To repro B: Download the file 'fullscreen_canvas.html’, open it in the text editor and find and remove the following lines:
// IE11 hack: assigning 'undefined' or an empty string to document.body.style.backgroundColor has no effect, so first assign back the default color // before setting the undefined value. Setting undefined value is also important, or otherwise we would later treat that as something that the user // had explicitly set so subsequent fullscreen transitions would not set background color properly. if (!oldDocumentBackgroundColor) document.body.style.backgroundColor = 'white';
Then repeat the steps above, and note that the same issue appears.
Setting document.body.style.backgroundColor should update the document background color.
Dev Channel specific:
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Tony S.”
Changed Assigned To to “Rossen A.”
Changed Assigned To from “Rossen A.” to “Greg W.”
Changed Status to “Confirmed”
Changed Assigned To from “Greg W.” to “IE F.”
Changed Status from “Confirmed” to “Won’t fix”
Changed Status from “Won’t fix” to “Not reproducible”