Remove restriction of @import coming at the start, because multiple inline stylesheets are parsed as one stylesheet, so may contain @import in the middle.

svn path=/trunk/netsurf/; revision=3616
This commit is contained in:
James Bursa 2007-10-02 04:50:25 +00:00
parent db7a0824d3
commit 09b1dcb23d

View File

@ -60,7 +60,7 @@ block_body ::= block_body SEMI ws.
ruleset ::= selector_list(A) LBRACE ws declaration_list(B) RBRACE ws.
{ if (A && B) {
param->had_ruleset = true;
/*param->had_ruleset = true;*/
css_add_ruleset(param->stylesheet, A, B);
}
else