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

Unified Diff: LayoutTests/fast/dom/custom/lifecycle-created-innerHTML.html

Issue 23717043: Implement Custom Elements 'extends' option. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
Index: LayoutTests/fast/dom/custom/lifecycle-created-innerHTML.html
diff --git a/LayoutTests/fast/dom/custom/lifecycle-created-innerHTML.html b/LayoutTests/fast/dom/custom/lifecycle-created-innerHTML.html
index dd7908590fd047648377997a7a9679b4bdade66f..eaf7aba63a3cb0171e8381798767716a8e6572e9 100644
--- a/LayoutTests/fast/dom/custom/lifecycle-created-innerHTML.html
+++ b/LayoutTests/fast/dom/custom/lifecycle-created-innerHTML.html
@@ -13,7 +13,7 @@ function trackingReadyCallback()
}
document.register("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: trackingReadyCallback } }) });
-document.register("x-bar", { prototype: Object.create(HTMLDivElement.prototype, { createdCallback: { value: trackingReadyCallback } }) });
+document.register("x-bar", { extends: "div", prototype: Object.create(HTMLDivElement.prototype, { createdCallback: { value: trackingReadyCallback } }) });
document.register("x-baz", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: trackingReadyCallback } }) });
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698