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

Unified Diff: lib/src/info.dart

Issue 12474002: Support for parsing all CSS and producing one CSS file (Closed) Base URL: https://github.com/dart-lang/web-ui.git@master
Patch Set: bumped version Created 7 years, 9 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
Index: lib/src/info.dart
diff --git a/lib/src/info.dart b/lib/src/info.dart
index c38468e46596f126d59ec5f5799952311e48136d..9c8ac38f5d77d316b6274559022982b96058f9b8 100644
--- a/lib/src/info.dart
+++ b/lib/src/info.dart
@@ -198,11 +198,8 @@ abstract class LibraryInfo extends Hashable {
/** File where the top-level code was defined. */
Path get inputPath;
- /** Stylesheet with <style>...</style> */
- StringBuffer cssSource = new StringBuffer();
-
/** Parsed cssSource. */
- StyleSheet styleSheet;
+ List<StyleSheet> styleSheets = [];
/**
* Name of the file that will hold any generated Dart code for this library
@@ -276,6 +273,9 @@ class FileInfo extends LibraryInfo {
/** Files imported with `<link rel="component">` */
final List<Path> componentLinks = <Path>[];
+ /** Files imported with `<link rel="stylesheet">` */
+ final List<Path> styleSheetHref = <Path>[];
+
/** Root is associated with the body info. */
ElementInfo bodyInfo;
« no previous file with comments | « lib/src/html_css_fixup.dart ('k') | lib/src/options.dart » ('j') | pubspec.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698