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

Unified Diff: LayoutTests/fast/html/imports/resources/custom-element-style.html

Issue 252713004: Make default for deep parameter in importNode false (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 years, 8 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: LayoutTests/fast/html/imports/resources/custom-element-style.html
diff --git a/LayoutTests/fast/html/imports/resources/custom-element-style.html b/LayoutTests/fast/html/imports/resources/custom-element-style.html
index c4a067f620e5a15113f2fb2789daca0263ce9efe..00c41457cddc63026443f52df0af255e82310e62 100644
--- a/LayoutTests/fast/html/imports/resources/custom-element-style.html
+++ b/LayoutTests/fast/html/imports/resources/custom-element-style.html
@@ -10,7 +10,7 @@ var t = document.currentScript.ownerDocument.querySelector('template');
var proto = Object.create(HTMLElement.prototype);
proto.createdCallback = function() {
var root = this.createShadowRoot();
- root.appendChild(document.importNode(t.content));
+ root.appendChild(document.importNode(t.content, true));
};
document.registerElement('x-test', {prototype: proto});
</script>

Powered by Google App Engine
This is Rietveld 408576698