Closed Bug 1614866 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21747 - Form-associated custom elements: Fix the initial value of 'submission value'

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 21747 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/21747
Details from upstream follow.

Kent Tamura <tkent@chromium.org> wrote:

Form-associated custom elements: Fix the initial value of 'submission value'

According to https://html.spec.whatwg.org/C/#face-submission-value, the
initial value should be null, not an empty string.

Bug: 1051292
Bug: https://github.com/whatwg/html/issues/5263
Change-Id: Ifa92aaca47bfce1e51aa0fd3dc9ebb9ab9b15d91

Reviewed-on: https://chromium-review.googlesource.com/2050148
WPT-Export-Revision: fa41a4eaeb7024ff9038013c17520d943577ce48

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 6 subtests

Status Summary

Firefox

OK : 1
PASS : 1
FAIL : 5

Chrome

OK : 1
PASS : 4
FAIL : 2

Safari

PASS : 1
FAIL : 5
ERROR: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/custom-elements/form-associated/ElementInternals-setFormValue.html
Single value - Non-empty name exists: FAIL (Chrome: FAIL, Safari: FAIL)
Null value should submit nothing: FAIL (Chrome: FAIL, Safari: FAIL)
setFormValue with an empty FormData should submit nothing: FAIL (Chrome: PASS, Safari: FAIL)
Multiple values - name content attribute is ignored: FAIL (Chrome: PASS, Safari: FAIL)
Single value - empty name exists: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c037e9d70b35
[wpt PR 21747] - Form-associated custom elements: Fix the initial value of 'submission value', a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.