Closed Bug 2085079 Opened 1 month ago Closed 22 days ago

[wpt-sync] Sync PR 63953 - Remove void element end tags from WPTs

Categories

(Core :: DOM: UI Events & Focus Handling, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Fernando Fiori <ffiori@microsoft.com> wrote:

Remove void element end tags from WPTs

img, input and embed have no end tag. Writing \</img> or \</input> anyway
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 end tags like these from some WPT tests. There's no
behavioral change.

Bug: 542686202
Change-Id: I81a9054f866ccf11a1f2ee486c5328ba91195629

Reviewed-on: https://chromium-review.googlesource.com/8220271
WPT-Export-Revision: d3a489b494c145c08d8b854b8a5112cc11e943ce

Component: web-platform-tests → DOM: UI Events & Focus Handling
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Attached file Notable wpt changes —

CI Results

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

Total 1510 tests

Status Summary

Firefox

OK : 13[GitHub] 261[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1035[Gecko-windows11-32-25h2-debug] 1041[Gecko-windows11-32-25h2-opt] 1289[Gecko-android-em-14-x86_64-debug-geckoview] 1290[Gecko-linux2404-64-debug] 1295[Gecko-windows11-64-25h2-debug] 1297[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 1301[Gecko-linux2404-64-opt] 1304[Gecko-windows11-64-25h2-opt]
PASS : 70[GitHub] 2293[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 52658[Gecko-windows11-32-25h2-debug] 52697[Gecko-windows11-32-25h2-opt] 54993[Gecko-android-em-14-x86_64-debug-geckoview] 55017[Gecko-linux2404-64-debug] 55020[Gecko-windows11-64-25h2-debug] 55037[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 55057[Gecko-linux2404-64-opt] 55059[Gecko-windows11-64-25h2-opt]
FAIL : 5[GitHub] 58[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 2674[Gecko-windows11-32-25h2-debug] 2692[Gecko-windows11-32-25h2-opt] 2750[Gecko-windows11-64-25h2-debug] 2755[Gecko-linux2404-64-debug] 2759[Gecko-android-em-14-x86_64-debug-geckoview] 2770[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt] 2773[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
PRECONDITION_FAILED: 9[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 84[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 92[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] 93[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT : 3[Gecko-windows11-32-25h2-debug] 4[Gecko-windows11-32-25h2-opt] 6[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 8[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 12[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 : 11
NOTRUN : 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 11[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 12[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 25[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]

Chrome

OK : 13
PASS : 74
FAIL : 3

Safari

OK : 13
PASS : 69
FAIL : 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 22 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: