<!DOCTYPE HTML>
<html>
<head>
<style>
@media all and(-webkit-min-device-pixel-ratio:10000),not all and(-webkit-min-device-pixel-ratio:0)
{
    top:-100%;
    left:0;
    display:block;
}
</style>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
</head>
<body>
<p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=72222">72222</a>: NULL-deref in updateLastMediaLine when parsing some media-queries.<p>
<p>This test has passed if it does not crash.</p>
</body>
</html>
