15.1custom-elements/form-associated/
129 / 129 WPT subtests passing
- Failed
- 0
- Timed out
- 0
- Not run
- 0
- Test files
- 22
- Blocking files
- 0
Chrome 126 / 129 WPT subtests passing on the same files, 1 blocking
Tests
22 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
ElementInternals-NotSupportedError.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Form-related operations and attributes should throw NotSupportedErrors for non-form-associated custom elements.
ElementInternals-form.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- ElementInternals.form should return the target element's form owner
- ElementInternals.form should throws NotSupportedError if the target element is not a form-associated custom element
ElementInternals-labels.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- LABEL association
- LABEL click
- ElementInternals.labels should throw NotSupportedError if the target element is not a form-associated custom element
ElementInternals-setFormValue-nullish-value.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- ElementInternals.setFormValue(null) clears submission value
- ElementInternals.setFormValue(undefined) clears submission value
ElementInternals-setFormValue.html 55 / 55 passingChrome 55 / 550 failedClean
55 passing subtests
- Single value - name is missing
- Single value - empty name exists
- Single value - Non-empty name exists
- Null value should submit nothing
- Multiple values - name content attribute is ignored
- setFormValue with an empty FormData should submit nothing
- Newline normalization - \n in name (urlencoded)
- Newline normalization - \n in name (formdata)
- Newline normalization - \r in name (urlencoded)
- Newline normalization - \r in name (formdata)
- Newline normalization - \r\n in name (urlencoded)
- Newline normalization - \r\n in name (formdata)
- Newline normalization - \n\r in name (urlencoded)
- Newline normalization - \n\r in name (formdata)
- Newline normalization - \n in value (urlencoded)
- Newline normalization - \n in value (formdata)
- Newline normalization - \r in value (urlencoded)
- Newline normalization - \r in value (formdata)
- Newline normalization - \r\n in value (urlencoded)
- Newline normalization - \r\n in value (formdata)
- Newline normalization - \n\r in value (urlencoded)
- Newline normalization - \n\r in value (formdata)
- Newline normalization - \n in filename (urlencoded)
- Newline normalization - \n in filename (formdata)
- Newline normalization - \r in filename (urlencoded)
- Newline normalization - \r in filename (formdata)
- Newline normalization - \r\n in filename (urlencoded)
- Newline normalization - \r\n in filename (formdata)
- Newline normalization - \n\r in filename (urlencoded)
- Newline normalization - \n\r in filename (formdata)
- Newline normalization - \n in FormData name (urlencoded)
- Newline normalization - \n in FormData name (formdata)
- Newline normalization - \r in FormData name (urlencoded)
- Newline normalization - \r in FormData name (formdata)
- Newline normalization - \r\n in FormData name (urlencoded)
- Newline normalization - \r\n in FormData name (formdata)
- Newline normalization - \n\r in FormData name (urlencoded)
- Newline normalization - \n\r in FormData name (formdata)
- Newline normalization - \n in FormData value (urlencoded)
- Newline normalization - \n in FormData value (formdata)
- Newline normalization - \r in FormData value (urlencoded)
- Newline normalization - \r in FormData value (formdata)
- Newline normalization - \r\n in FormData value (urlencoded)
- Newline normalization - \r\n in FormData value (formdata)
- Newline normalization - \n\r in FormData value (urlencoded)
- Newline normalization - \n\r in FormData value (formdata)
- Newline normalization - \n in FormData filename (urlencoded)
- Newline normalization - \n in FormData filename (formdata)
- Newline normalization - \r in FormData filename (urlencoded)
- Newline normalization - \r in FormData filename (formdata)
- Newline normalization - \r\n in FormData filename (urlencoded)
- Newline normalization - \r\n in FormData filename (formdata)
- Newline normalization - \n\r in FormData filename (urlencoded)
- Newline normalization - \n\r in FormData filename (formdata)
- ElementInternals.setFormValue() should throw NotSupportedError if the target element is not a form-associated custom element
ElementInternals-setValidity-normalize-newlines.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- setValidity() should normalize newlines with the customError flag set
- setValidity() should normalize newlines with another validity flag set
ElementInternals-target-element-is-held-strongly.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Target element of ElementsInternals is held strongly and doesn't get GCed if there are no other references
ElementInternals-validation.html 14 / 14 passingChrome 14 / 140 failedClean
14 passing subtests
- willValidate
- willValidate after upgrade
- willValidate after upgrade (document.createElement)
- willValidate should throw NotSupportedError if the target element is not a form-associated custom element
- validity and setValidity()
- validity.customError should be false if not explicitly set via setValidity()
- "anchor" argument of setValidity()
- "anchor" argument of setValidity(): passing self
- checkValidity() should throw NotSupportedError if the target element is not a form-associated custom element
- checkValidity()
- reportValidity() should throw NotSupportedError if the target element is not a form-associated custom element
- reportValidity()
- Custom control affects validation at the owner form
- Custom control affects :valid :invalid for FORM and FIELDSET
disabled-delegatesFocus.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- Focus events fire on disabled form-associated custom elements with delegatesFocus
fieldset-elements-after-upgrade.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Upgrading form-associated custom elements updates all ancestor fieldsets, including inside legend
fieldset-elements-during-construction.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Form associated custom element isn't a fieldset listed element until fully custom
fieldset-elements.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Form associated custom elements should work with fieldset.elements
focusability.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Focusability of form-associated custom elements
form-associated-callback-form-attribute-removal.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Removing the first of two forms with the ID a form attribute refers to calls formAssociatedCallback once, with the second form
- Removing an element containing the first of two forms with the ID a form attribute refers to calls formAssociatedCallback once, with the second form
- Removing the only form with the ID a form attribute refers to calls formAssociatedCallback once, with null
form-associated-callback-order.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Inserting a control into a form calls connectedCallback before formAssociatedCallback
- Inserting a control with a form attribute calls connectedCallback before formAssociatedCallback
- Removing a control from a form calls disconnectedCallback before formAssociatedCallback
- Removing a control with a form attribute calls disconnectedCallback before formAssociatedCallback
- Removing an element containing two controls from a form calls each control's callbacks in tree order
- Removing a custom element containing a control from a form calls the control's callbacks after the custom element's
form-associated-callback.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Associate by parser, customized at element creation
- Parsed, connected, then upgraded
- Disassociation
- Updating "form" content attribute
- Updating "id" attribute of form element
form-disabled-callback.html 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- Adding/removing disabled content attribute
- Relationship with FIELDSET
- A disabled form-associated custom element should not provide an entry for it
- A disabled form-associated custom element should not submit an entry for it
- Disabled attribute affects focus-capability
- Upgrading an element with disabled content attribute
- Toggling "disabled" attribute on a custom element inside disabled <fieldset> does not trigger a callback
- Toggling "disabled" attribute on a <fieldset> does not trigger a callback on disabled custom element descendant
- Callback triggered during a clone/append operation, with disabled state provided by ancestor
- Callback triggered during a clone operation, with disabled state provided by ancestor
form-disabled-legend.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Custom element inside the first legend of a disabled fieldset is not disabled
- Custom element inside a legend other than the first one is disabled
- Legend of an inner fieldset does not shield from an outer disabled fieldset
- Toggling disabled on the fieldset does not affect a custom element inside its first legend
- Changing the first legend updates the disabled state of a custom element
- fieldset.elements includes custom elements inside the legend
form-elements-namedItem.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Form associated custom elements should work with document.forms.elements.namedItem()
- Form associated custom elements should work with document.forms.elements.namedItem() after upgrading
- Form associated custom elements should work with document.forms.elements.namedItem() after updating the name attribute
form-reset-callback.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- form.reset() should trigger formResetCallback
- form.reset(): formResetCallback is called synchronously at the end of form reset, with custom element reaction timing, *after* built-in form control reset algorithms run.
- Clicking a reset button invokes formResetCallback in a microtask
form-upgrade-reactions.html 6 / 6 passingChrome 4 / 60 failedClean
6 passing subtests
- Detached upgrade, enabled
- Detached upgrade, disabled by attribute
- Detached upgrade, disabled by fieldset
- Connected upgrade, enabled
- Connected upgrade, disabled by attribute
- Connected upgrade, disabled by fieldset
label-delegatesFocus.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Clicking on a label for a form associated custom element with delegatesFocus should focus the custom element's focus delegate.
- Clicking on a span in a label for a form associated custom element with delegatesFocus should focus the custom element's focus delegate.