Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(660)

Unified Diff: lib/src/html_css_fixup.dart

Issue 20863002: Introduce boot.js: this finally makes it possible to load and run Todomvc (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/emitters.dart ('k') | lib/src/observable_transform.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/html_css_fixup.dart
diff --git a/lib/src/html_css_fixup.dart b/lib/src/html_css_fixup.dart
index e421b67a8cc056e354e23625e87b9fb4f77afc78..5f4cd2a3b41bad2e98090533227bdf1f6740469c 100644
--- a/lib/src/html_css_fixup.dart
+++ b/lib/src/html_css_fixup.dart
@@ -36,7 +36,9 @@ class CssPolyfillKind {
static CssPolyfillKind of(CompilerOptions options, ComponentInfo component) {
if (!options.processCss || !component.scoped) return NO_POLYFILL;
if (options.mangleCss) return MANGLED_POLYFILL;
- if (!component.hasAuthorStyles && !hasCssReset) return MANGLED_POLYFILL;
+ if (!component.hasAuthorStyles && options.resetCssFile == null) {
+ return MANGLED_POLYFILL;
+ }
return SCOPED_POLYFILL;
}
}
« no previous file with comments | « lib/src/emitters.dart ('k') | lib/src/observable_transform.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698