Non si estenderà per niente: il codice che hai postato (anche se il doctype manca e sei in quirk mode) non rende nemmeno un pixel nero.
forse avevi in mente questo
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
html, body, div {
margin: 0;
padding : 0;
height: 100%;
}
</style>
<title></title>
</head
<body>
<div style="background: #c00;">test</div>
</body>
</html>
però, così facendo, tu avrai un div alto il 100%; della finestra intera (scrolling compreso) e non della sola parte visibile come vorrebbe dupardipal