This behavior is standard in HTML/CSS; the background of
<body>is used as the background for the entire viewport when<html>has no background. This is explained here in detail: Why does styling the background of the body element affect the entire screen?George Christidis