I'm working on a simple "Dead Pixel Finder" webpage. I have code that works in Firefox Quantum, but not in Chrome.
In the script section I have code that enables Fullscreen API when page is clicked. And it works fine in Firefox Quantum.
....
<style type="text/css">
div
{
height: 100vh;
width: 100wh;
background-color: red;
}
</style>
</head>
<body>
<div id="box" onclick="full_screen();"></div>
</body>
But in Chrome I get a black page, not the color I set for background color?