Index: LayoutTests/fast/dom/custom/element-type.html |
diff --git a/LayoutTests/fast/dom/custom/element-type.html b/LayoutTests/fast/dom/custom/element-type.html |
index bb3406bd03dd212b643a77c080b4a57e4c02726b..9152e9c2837641d4b10c2dddf2bb6e7c341695cf 100644 |
--- a/LayoutTests/fast/dom/custom/element-type.html |
+++ b/LayoutTests/fast/dom/custom/element-type.html |
@@ -25,11 +25,11 @@ function onCreate(msg) { |
var protoX = Object.create(HTMLSpanElement.prototype); |
protoX.createdCallback = onCreate('X'); |
-var X = document.register('x-x', {prototype: protoX}); |
+var X = document.register('x-x', {extends: 'span', prototype: protoX}); |
var protoY = Object.create(HTMLSpanElement.prototype); |
protoY.createdCallback = onCreate('Y'); |
-var Y = document.register('x-y', {prototype: protoY}); |
+var Y = document.register('x-y', {extends: 'span', prototype: protoY}); |
var a = document.querySelector('#a'); |
shouldBe('a.getAttribute("is")', '"x-y"'); |