mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 07:19:37 +03:00
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:
parent
db7a0824d3
commit
09b1dcb23d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user