blob: 5cd92b10b5499f1e5c3027e6b5f45a6bc3506a23 [file] [log] [blame]
<style>
div { color: red }
</style>
<style>
@media;
#t1 { color: green; }
</style>
<style>
@media{}
#t2 { color: green; }
</style>
<p>Test that CSS parser stops parsing @media rule after a semicolon or a block.</p>
<div id=t1>Tests @media;. This text should be green.</div>
<div id=t2>Tests @media{}. This text should be green.</div>