<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS atrules - tokenizer must match "@"{ident} longest match</title>
<style type="text/css">
p.test { display: none }
@media all { span.test { display: inline } }
@mediaall { span.test { display: none } }
p.test { display: block }
</style>
<script type="text/javascript">
    if (window.testRunner)
        testRunner.dumpAsText();
</script>
</head>
<body>
<p>Below should be a line saying: PASSED</p>
<p class="test"><span class="test">PASSED</span></p>
<p>See <a href="http://bugs.webkit.org/show_bug.cgi?id=19965">Bug 19965<a>.</p>
</body>
</html>
</body>
</html>
