Closed Bug 2077772 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63225 - Remove void element end tags from HTML editing and rendering 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 63225 into mozilla-central (this bug is closed when the sync is complete).

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

Fernando Fiori <ffiori@microsoft.com> wrote:

Remove void element end tags from HTML editing and rendering WPTs

input, link, embed, source, area and frame have no end tag. Writing an
end tag for any of these is a parse error, and the parser drops the tag,
so the source suggests a structure the document never had. \</br> is the
one exception: the parser rewrites it into a \<br> start tag, so it is
spelled \<br> instead of being deleted.

This CL removes those void end tags from WPT tests in html/editing,
html/browsers and html/rendering.

Bug: 542686202
Change-Id: I59be0229376410c6b8a2e31244b1979cc8dda382
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8225583
Reviewed-by: Stephanie Zhang \<stephanie.zhang@microsoft.com>
Commit-Queue: Stephanie Zhang \<stephanie.zhang@microsoft.com>
Auto-Submit: Fernando Fiori \<ffiori@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1710336}

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 680 tests

Status Summary

Firefox

OK : 8[GitHub] 319[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 24[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 573[GitHub] 11817[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 12112[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 12123[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 12124[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL : 4[GitHub] 256[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 277[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 278[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 280[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
ERROR: 1

Chrome

OK : 8
PASS : 574
FAIL : 3

Safari

OK : 8
PASS : 573
FAIL : 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

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.