14 lines
469 B
HTML
14 lines
469 B
HTML
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>background on body should not cover the viewport when not child of root</title>
|
|
<style>
|
|
html { background-color:transparent; background-image:none; }
|
|
body { background-image:url(resources/red.png); padding:0; }
|
|
p { background-image:url(resources/lime.png); }
|
|
</style>
|
|
</head>
|
|
|
|
<bogus><body>
|
|
<p>This line should be green and there should be no red.</p>
|
|
</body></bogus></html> |