<!DOCTYPE HTML>
<title>Test for unexpected end of @import</title>
<style>div { color: red }</style>
<style>@media ; div { color: green; }</style>
<div>This should be green</div>