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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 19482024: fix parsing of semantic template interation w/ shadowdom polyfill (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase 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:
Download patch
« no previous file with comments | « pkg/mdv/test/template_element_test.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index f8405a0266fa3b24b727761256deef5c5e12ba96..94f7cc301120ac8f04e915d00a9d52b0ef6c5f41 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -21693,6 +21693,7 @@ class TemplateElement extends _HTMLElement native "HTMLTemplateElement" {
_injectStylesheet();
var templateElement = template;
+ templateElement._templateIsDecorated = true;
var isNative = templateElement is TemplateElement;
var bootstrapContents = isNative;
var liftContents = !isNative;
@@ -21705,12 +21706,11 @@ class TemplateElement extends _HTMLElement native "HTMLTemplateElement" {
'attribute templates.');
}
templateElement = _extractTemplateFromAttributeTemplate(template);
+ templateElement._templateIsDecorated = true;
isNative = templateElement is TemplateElement;
liftRoot = true;
}
- templateElement._templateIsDecorated = true;
-
if (!isNative) {
var doc = _getTemplateContentsOwner(templateElement.document);
templateElement._templateContent = doc.createDocumentFragment();
« no previous file with comments | « pkg/mdv/test/template_element_test.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698