layout/reftests/css-parsing/at-rule-error-handling-media-1.html
author L. David Baron <dbaron@dbaron.org>
Fri, 11 Mar 2011 11:29:44 -0600
changeset 63696 ee00084cc4212a639fc3351acf59cab2c5a0b760
permissions -rw-r--r--
Use GatherURL in ParseNameSpaceRule and ParseImageRect, and rename GatherURL to ParseURLOrString for clarity. (Bug 604179, patch 1) r=bzbarsky Note that this adds a missing UngetToken(), which affects the other consumer of GatherURL, parsing of @import rules.

<!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>