github web-platform-tests/wpt merge_pr_49206

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
9 months ago

Fix: Mis-nested form tags inside template parsed incorrectly

Ensures that form end tags inside templates forcibly close any inner
tags, aligning behavior with HTML5 standard:
https://html.spec.whatwg.org/multipage/parsing.html#parsing:~:text=An%20end%20tag%20whose%20tag%20name%20is%20%22form%22

Bug: 352896478
TEST=Added web test case to check parsing behavior with nested form
tags.

Change-Id: Ia3ad421f8c6875942ce0a95cb4c5dcfc8c6833aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6009220
Commit-Queue: Mason Freed masonf@chromium.org
Reviewed-by: Di Zhang dizhangg@chromium.org
Reviewed-by: Mason Freed masonf@chromium.org
Cr-Commit-Position: refs/heads/main@{#1384096}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.