In text/xml documents, the background color does not go to the edge of the window unless the style is applied to the html element.
text/xml
html
In html documents, the body color will extend unless there's a color set for html.
body