MIME Test - CSS body Element Test

Back to the MIME Type Tests.

This document references a local CSS document that has the following rule.

body
{
    border: solid 1px #000;
    font: normal 100%/120% arial, Verdana, helvetica, sans-serif;
    background: #ccc;
    color: #000;
}

When served as text/html, the body element fills the whole viewport, whereas the html element fills the viewport when served as application/xhtml+xml. When served as text/html, the whole background will be grey. When served as application/xhtml+xml, the background is grey up to the border.