Closed Bug 2080234 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63405 - Remove void element end tags from HTML embedded and forms WPTs

Categories

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

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Fernando Fiori <ffiori@microsoft.com> wrote:

Remove void element end tags from HTML embedded and forms WPTs

base, img, input, embed, source, param and frame have no end tag.
Writing their end tag anyway is a parse error, and the parser drops the
tag so the source suggests a structure the document never had.

This CL removes those invalid end tags from
third_party/blink/web_tests/external/wpt/html/semantics/embedded-content
and third_party/blink/web_tests/external/wpt/html/semantics/forms.

No behavior change.

Bug: 542686202
Change-Id: I41f4e45c6e093e997533707a5afa8f411a1568a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8227044
Reviewed-by: Andres Regalado Rosas \<andresrega@microsoft.com>
Auto-Submit: Fernando Fiori \<ffiori@microsoft.com>
Commit-Queue: Fernando Fiori \<ffiori@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1714639}

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

CI Results

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

Total 422 tests and 8 subtests

Status Summary

Firefox

OK : 12[GitHub] 334[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug] 335[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-64-25h2-opt]
PASS: 25[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 142[GitHub] 5030[Gecko-windows11-32-25h2-debug] 5033[Gecko-windows11-32-25h2-opt] 5080[Gecko-android-em-14-x86_64-debug-geckoview] 5085[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 5088[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug] 5090[Gecko-windows11-64-25h2-opt]
FAIL: 9[GitHub] 118[Gecko-windows11-32-25h2-opt] 121[Gecko-windows11-32-25h2-debug] 122[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 123[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 125[Gecko-android-em-14-x86_64-debug-geckoview]

Chrome

OK : 12
PASS: 149
FAIL: 2

Safari

OK : 12
PASS: 147
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /html/semantics/embedded-content/the-embed-element/embed-hidden-attribute.html [wpt.fyi]: FAIL
  • /html/semantics/forms/form-control-infrastructure/form_attribute.html [wpt.fyi]
    • [BUTTON] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists: FAIL
    • [FIELDSET] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists: FAIL
    • [INPUT] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists: FAIL
    • [OBJECT] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists: FAIL
    • [OUTPUT] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists: FAIL
    • [SELECT] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists: FAIL
    • [TEXTAREA] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists: FAIL
  • /html/semantics/embedded-content/the-embed-element/embed-represent-nothing-04.html [wpt.fyi]
    • ensure the element represents nothing: FAIL

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/25b03a5549c9 https://hg.mozilla.org/integration/autoland/rev/97f04ca289c3 [wpt PR 63405] - Remove void element end tags from HTML embedded and forms WPTs, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.