| Index: pkg/csslib/test/testing.dart
|
| diff --git a/pkg/csslib/test/testing.dart b/pkg/csslib/test/testing.dart
|
| index f2e1273b0222d9a73801d98ad674c9efcf73cfa0..f15805cff56d23676b653014e52bd88455c6ef2b 100644
|
| --- a/pkg/csslib/test/testing.dart
|
| +++ b/pkg/csslib/test/testing.dart
|
| @@ -27,11 +27,14 @@ StyleSheet parseCss(String cssInput, {List errors, List opts}) =>
|
| * CSS will allow any property/value pairs regardless of validity; all of our
|
| * tests (by default) will ensure that the CSS is really valid.
|
| */
|
| -StyleSheet compileCss(String cssInput,
|
| - {List errors, List opts, bool polyfill: false}) =>
|
| +StyleSheet compileCss(String cssInput, {List errors, List opts,
|
| + bool polyfill: false, List<StyleSheet> includes: null}) =>
|
| compile(cssInput, errors: errors, options: opts == null ?
|
| ['--no-colors', '--checked', '--warnings_as_errors', 'memory'] : opts,
|
| - polyfill: polyfill);
|
| + polyfill: polyfill, includes: includes);
|
| +
|
| +StyleSheet polyFillCompileCss(input, {List errors, List opts}) =>
|
| + compileCss(input, errors: errors, polyfill: true, opts: opts);
|
|
|
| /** CSS emitter walks the style sheet tree and emits readable CSS. */
|
| var _emitCss = new CssPrinter();
|
|
|