Description

With my projects, I like to use DEFAULT_CONTENT_TYPE = 'application/xhtml+xml' in my settings.py file. I then use an XhtmlDegrader? middleware, to gracefully degrade my pages to text/html to browsers that do not support this mimetype, such as IE.

Everything else seems to be fine when using application/xhtml+xml for Admin, except one little minor bug with the login window.

The bug is that the background is not all covered in grey, but rather only a tiny strip. This bug does not occur when admin is served as text/html.

Usually this sort of bug happens if you put the background colour in the body{} selector, when it should be in html{} selector instead, as body{} only grows with the page content when in strict HTML mode, and may not necessarily cover the whole page.