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

Unified Diff: pkg/polymer/test/build/all_phases_test.dart

Issue 575503002: When inlining imports from head, put them inside a hidden div (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: move/clarify comment Created 6 years, 3 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 | « pkg/polymer/lib/src/build/linter.dart ('k') | pkg/polymer/test/build/import_inliner_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/build/all_phases_test.dart
diff --git a/pkg/polymer/test/build/all_phases_test.dart b/pkg/polymer/test/build/all_phases_test.dart
index 80efec72d68f11d10f62dbc6c1c77f802b9ebe4d..dd596e88c3fad74b2eecae8cdb9c9c6d77e50895 100644
--- a/pkg/polymer/test/build/all_phases_test.dart
+++ b/pkg/polymer/test/build/all_phases_test.dart
@@ -200,7 +200,10 @@ void main() {
'a|web/index.html':
'<!DOCTYPE html><html><head>'
'$WEB_COMPONENTS_TAG'
- '</head><body><polymer-element name="x-a">1</polymer-element>'
+ '</head><body>'
+ '<div hidden="">'
+ '<polymer-element name="x-a">1</polymer-element>'
+ '</div>'
'<script src="index.html_bootstrap.dart.js" async=""></script>'
'</body></html>',
'a|web/index.html_bootstrap.dart':
@@ -259,7 +262,10 @@ void main() {
'a|web/index.html':
'<!DOCTYPE html><html><head>'
'$WEB_COMPONENTS_TAG'
- '</head><body><polymer-element name="x-a">1</polymer-element>'
+ '</head><body>'
+ '<div hidden="">'
+ '<polymer-element name="x-a">1</polymer-element>'
+ '</div>'
'<script src="index.html_bootstrap.dart.js" async=""></script>'
'</body></html>',
'a|web/index.html_bootstrap.dart':
« no previous file with comments | « pkg/polymer/lib/src/build/linter.dart ('k') | pkg/polymer/test/build/import_inliner_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698