Support scoping of external at-rules

We should try to do it in a lenient mode for backwards compatibility.


2014-09-01 12:34 GMT+02:00 Julien Dramaix <notifications@github.com>:

> In
> src/main/java/com/google/gwt/resources/gss/ValidateRuntimeConditionalNode.java:
>
> > @@ -50,6 +51,15 @@ public boolean enterDefinition(CssDefinitionNode node) {
> >    }
> >
> >    @Override
> > +  public boolean enterUnknownAtRule(CssUnknownAtRuleNode node) {
>
> @dankurka <https://github.com/dankurka> this visitor (calling from
> GssResourceGenerator and fby the converter) validates that there is no
> @def @external defined in a conditional evaluated at runtime. Maybe we
> can do it lenient and don't throw an error but removing the node or moving
> it in the main scope instead ?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jDramaix/gss.gwt/pull/133/files#r16949026>.
>