summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/custom-elements/form-associated/form-associated-callback.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/custom-elements/form-associated/form-associated-callback.html')
-rw-r--r--testing/web-platform/tests/custom-elements/form-associated/form-associated-callback.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/web-platform/tests/custom-elements/form-associated/form-associated-callback.html b/testing/web-platform/tests/custom-elements/form-associated/form-associated-callback.html
index 7feec50fef..329c4d7593 100644
--- a/testing/web-platform/tests/custom-elements/form-associated/form-associated-callback.html
+++ b/testing/web-platform/tests/custom-elements/form-associated/form-associated-callback.html
@@ -122,7 +122,7 @@ test(() => {
}
}
customElements.define('will-be-defined', WillBeDefined);
- customElements.upgrade(container);
+ customElements.upgrade($('#container'));
controls = $('#form1').elements;
assert_equals(controls.length, 3, 'form.elements.length');