The following web page will render with unexpected result in Firefox 3.5. The first <address>
element will not have a pink background, but the second will. Is this only happening for me? Is my code incorrect? Or is it a bug?
Edit: This also happens in Firefox 3.6
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Firefox 3.5 bug!</title>
<style>
address
{
background: pink;
}
</style>
</head>
<body>
<address>
<ul>
<li>This will NOT have a pink background in Firefox 3.5</li>
</ul>
</address>
<address>
<p>But this will</p>
</address>
</body>
</html>
li
differently? – Sosthinaaddress
. – Cavalier