Why HTML body margin area is filled with the body's background-color which is different behavior than for other elements (e.g. div)? Is this specified somewhere? Below is a simple example.
body {
background-color: lightgray;
padding: 0px;
margin: 50px;
border: 25px solid black;
}
div {
margin: 50px;
padding: 50px;
border: 25px solid brown;
background-color: orange;
background-position: 50px 50px;
}
<div></div>