<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Testcase bug - List item marker takes up room now with list-style-type: none in strict mode</title> <style> div.li { border: 1px solid red; } div.inside { border: 1px solid black; } </style></head> <body> <ul><div class="li"><div class="inside">text</div></div></ul> </body> </html>