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

Unified Diff: LayoutTests/fast/dom/custom/lifecycle-created-creation-api.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-creation-api.html
diff --git a/LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html b/LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html
index 93e5a67372ec82bfcfbbdd737ac6dd34dc7b4b3b..3fa979fe908194584d851cf21ab590a56909a0d4 100644
--- a/LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html
+++ b/LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html
@@ -11,7 +11,7 @@ function markingReadyCallback() {
}
document.register("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: markingReadyCallback } }) });
-document.register("x-bar", { prototype: Object.create(HTMLDivElement.prototype, { createdCallback: { value: markingReadyCallback } }) });
+document.register("x-bar", { extends: "div", prototype: Object.create(HTMLDivElement.prototype, { createdCallback: { value: markingReadyCallback } }) });
</script>
</head>
<body>
« no previous file with comments | « LayoutTests/fast/dom/custom/isolated-world.html ('k') | LayoutTests/fast/dom/custom/lifecycle-created-innerHTML.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698