haikuwebkit/LayoutTests/fast/body-propagation/background-color/008.html

15 lines
581 B
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>when background on body is propagated to the viewport, it shouldn't have a background itself</title>
<style>
html { background-color:transparent; background-image:none; }
head { background-color:yellow; position:absolute; width:100%; height:1.25em; display:block; }
body { background-color:white; position:absolute; width:100%; height:1.25em; margin:0; padding:0; color:navy; }
p { margin:0; }
</style>
</head>
<body>
<p>This line should have a yellow background.</p>
</body>
</html>