<html>
<head>
<style>
li { list-style: none; }
</style>

<script>
function hide()
{
    document.getElementById("list").style.display = "none";
}
</script>
</head>

<body onload="hide()">
<p>This test verifies that setting a list with list-style: none to
display: none does not crash. It checks for regression against <a
href="https://bugs.webkit.org/show_bug.cgi?id=6860">6860</a></p>

<ol id="list">
<li></li>
<li></li>
</ol>
</body>
</html>
