Index: LayoutTests/fast/dom/custom/unresolved-pseudoclass.html |
diff --git a/LayoutTests/fast/dom/custom/unresolved-pseudoclass.html b/LayoutTests/fast/dom/custom/unresolved-pseudoclass.html |
index 03348d24a945d66074c26790542148f695819407..4bda53aaadbc3b4a870d39709e2aaf538d4019aa 100644 |
--- a/LayoutTests/fast/dom/custom/unresolved-pseudoclass.html |
+++ b/LayoutTests/fast/dom/custom/unresolved-pseudoclass.html |
@@ -39,7 +39,7 @@ shouldBe('window.getComputedStyle(c).color', '"rgb(0, 222, 0)"'); |
// Registering x-x should have changed the styles of #a. |
shouldBe('window.getComputedStyle(a).color', '"rgb(0, 222, 0)"'); |
-var Y = document.register('x-y', {prototype: Object.create(HTMLSpanElement.prototype)}); |
+var Y = document.register('x-y', {extends: 'span', prototype: Object.create(HTMLSpanElement.prototype)}); |
var d = new Y(); |
document.body.insertBefore(d, b); |
shouldBe('window.getComputedStyle(d).color', '"rgb(0, 111, 0)"'); |