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

Unified Diff: sdk/lib/html/dartium/html_dartium.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
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index c6dec0d01de8076a5ec6cdc694252d5871e3d582..0f92af3f97ba300b6197934303c11723d16e1f4a 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -23101,6 +23101,7 @@ class TemplateElement extends _HTMLElement {
_injectStylesheet();
var templateElement = template;
+ templateElement._templateIsDecorated = true;
var isNative = templateElement is TemplateElement;
var bootstrapContents = isNative;
var liftContents = !isNative;
@@ -23113,12 +23114,11 @@ class TemplateElement extends _HTMLElement {
'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 | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698