<!DOCTYPE html> | |
<html xmlns="urn:foo:bogus"> | |
<head xmlns="http://www.w3.org/1999/xhtml"> | |
<title>background on body should not fill the viewport when root is not html:html</title> | |
<style> | |
html { background-color:transparent; background-image:none; } | |
body { background-color:red; } | |
p { background-color:lime; margin:0; } | |
</style> | |
</head> | |
<body xmlns="http://www.w3.org/1999/xhtml"> | |
<p>This line should be green and there should be no red.</p> | |
</body> | |
</html> |