| 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 df321c9d6e17897c931fb46a1ea51cd103706cce..dab422ff1c5509707dfbc2dbab043616e0f12d55 100644
|
| --- a/LayoutTests/fast/dom/custom/unresolved-pseudoclass.html
|
| +++ b/LayoutTests/fast/dom/custom/unresolved-pseudoclass.html
|
| @@ -31,7 +31,7 @@ var b = document.querySelector('#b');
|
| shouldBe('window.getComputedStyle(b).color', '"rgb(0, 0, 222)"');
|
| shouldBe('window.getComputedStyle(b).borderColor', '"rgb(0, 0, 111)"');
|
|
|
| -var X = document.register('x-x', {prototype: Object.create(HTMLElement.prototype)});
|
| +var X = document.registerElement('x-x', {prototype: Object.create(HTMLElement.prototype)});
|
| var c = new X();
|
| document.body.insertBefore(c, b);
|
| shouldBe('window.getComputedStyle(c).color', '"rgb(0, 222, 0)"');
|
| @@ -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', {extends: 'span', prototype: Object.create(HTMLSpanElement.prototype)});
|
| +var Y = document.registerElement('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)"');
|
|
|