Closed Bug 2070308 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62488 - Add parser tests for the form element pointer and template

Categories

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

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Anne van Kesteren <annevk@annevk.nl> wrote:

Add parser tests for the form element pointer and template

See https://github.com/whatwg/html/issues/12257

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

Status Summary

Firefox

OK : 4[GitHub] 244[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: 6[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 9[GitHub] 7814[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]
FAIL: 296

Chrome

OK : 4
PASS: 7
FAIL: 2

Safari

OK : 4
PASS: 8
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/syntax/parsing/DOMContentLoaded-defer.html [wpt.fyi]: SKIP
  • /html/syntax/parsing/adoption-agency-reparenting-shadow-cycle.html [wpt.fyi]: SKIP
  • /html/syntax/parsing/custom-element-reparenting-shadow-cycle.html [wpt.fyi]: SKIP
  • /html/syntax/parsing/adoption-agency-reparenting-document-target.html [wpt.fyi]
    • Adoption agency foster target is a Document that already has an element child: FAIL
  • /html/syntax/parsing/adoption-agency-reparenting-template-cycle.html [wpt.fyi]
    • Adoption agency move that would create a host-including cycle via template contents: FAIL
  • /html/syntax/parsing/custom-element-reparenting-template-cycle.html [wpt.fyi]
    • Custom element constructor moves the intended parent into a template element's contents: FAIL
  • /html/syntax/parsing/custom-element-reparenting.html [wpt.fyi]
    • attributeChangedCallback gives the element a parent before it is inserted: FAIL
  • /html/syntax/parsing/doctype-system-identifier-distinction.html [wpt.fyi]
    • DOCTYPE with "-//W3C//DTD HTML 4.01 Frameset//" and empty system ID triggers quirks mode: FAIL
    • DOCTYPE with "-//W3C//DTD HTML 4.01 Transitional//" and empty system ID triggers quirks mode: FAIL
  • /html/syntax/parsing/foster-parenting-into-document-with-element-child.html [wpt.fyi]
    • A foster-parented element whose adjusted insertion location is another Document that already has an element child is dropped on the floor: FAIL
  • /html/syntax/parsing/foster-parenting-into-template-element.html [wpt.fyi]
    • Foster parenting redirects into the template contents when the table's parent is a template element: FAIL
  • /html/syntax/parsing/html5lib_url.html?file=webkit02 [wpt.fyi]
    • <select><button><selectedcontent></button><option>X: FAIL
    • <select><button><selectedcontent></button><option>x<i>i<b>ib</i>b: FAIL
    • <select><button><selectedcontent></button><option>X<option>Y: FAIL
    • <select><button><selectedcontent></button><option>X<option selected>Y: FAIL
  • /html/syntax/parsing/html5lib_url.html?file=processing-instructions [wpt.fyi]
    • <body><?something>: FAIL
    • <body><?something><span>: FAIL
    • <body><?something good>: FAIL
    • <body><?something else is good>: FAIL
    • <body><?one><?two>: FAIL
    • <body><?a$><?b$><?good?>: FAIL
    • <body><?hey there?>: FAIL
    • <body><?hey there?>: FAIL
    • <body><?hey?there>: FAIL
    • <body><?hey\tthere=1?>: FAIL
    • <body><?hey\nthere=1?>: FAIL
    • <body><?hey\rthere=1?>: FAIL
    • <body><?hey\x0cthere=1?>: FAIL
    • <body><?something ? >: FAIL
    • <body><?something x >: FAIL
    • <body><?something ?\t ??>: FAIL
    • <body><?t d > ?>: FAIL
    • <body><?module-handler>: FAIL
    • <body><?module-handler data>: FAIL
    • <body><?view-port>: FAIL
    • <body><?view-port data>: FAIL
    • <body><?config-v2>: FAIL
    • <body><?config-v2 data>: FAIL
    • <body><?x>: FAIL
    • <body><?x data>: FAIL
    • <body><?zz2op>: FAIL
    • <body><?zz2op data>: FAIL
    • <body><?xla->: FAIL
    • <body><?xla- data>: FAIL
    • <body><?a-b-c>: FAIL
    • <body><?a-b-c data>: FAIL
    • <body><?v-123>: FAIL
    • <body><?v-123 data>: FAIL
    • <body><?a0-b1-c2>: FAIL
    • <body><?a0-b1-c2 data>: FAIL
    • <body><?page-404>: FAIL
    • <body><?page-404 data>: FAIL
    • <body><?r2-d2>: FAIL
    • <body><?r2-d2 data>: FAIL
    • <body><?level-99>: FAIL
    • <body><?level-99 data>: FAIL
    • <body><?UPPERCASE>: FAIL
    • <body><?UPPERCASE data>: FAIL
    • <body><?all-KINDS-of-CaSeS>: FAIL
    • <body><?all-KINDS-of-CaSeS data>: FAIL
    • <body><?user_name>: FAIL
    • <body><?user_name data>: FAIL
    • <body><?S_S-S_S>: FAIL
    • <body><?S_S-S_S data>: FAIL
    • <body><?b_>: FAIL
    • <body><?b_ data>: FAIL
    • <body><?_prefix>: FAIL
    • <body><?_prefix data>: FAIL
    • <body><?_x132>: FAIL
    • <body><?_x132 data>: FAIL
    • <body><?->: FAIL
    • <body><?- data>: FAIL
    • <body><?_>: FAIL
    • <body><?_ data>: FAIL
    • <body><?A---------------->: FAIL
    • <body><?A---------------- data>: FAIL
    • <body><?z0123456789>: FAIL
    • <body><?z0123456789 data>: FAIL
    • <body><?m-0>: FAIL
    • <body><?m-0 data>: FAIL
    • <body><?start: FAIL
    • <body><?start?: FAIL
    • <body><?start : FAIL
    • <body><?start data: FAIL
    • <body><?start ? ?: FAIL
    • <body><?: FAIL
    • <div><?something></div>: FAIL
    • <div><?something good></div>: FAIL
    • <table><?something></table>: FAIL
    • <table><tr><?something></tr></table>: FAIL
    • <?something>: FAIL
    • <head><?something>: FAIL
    • <html><?something><head>: FAIL
    • <html><head></head><?something><body>: FAIL
    • <html><body></body><?something>: FAIL
    • <html><body></body></html><?something>: FAIL
    • <body><template><?something></template>: FAIL
    • <template><?pi>: FAIL
  • /html/syntax/parsing/html5lib_url.html?file=template [wpt.fyi]
    • <template><table><form></table></template>: FAIL
    • <form><form> (innerHTML in template): FAIL
    • <br>BC<form>D<div>E</form>F</div>G (innerHTML in template): FAIL
  • /html/syntax/parsing/html5lib_url.html?file=html5test-com [wpt.fyi]
    • <?import namespace="foo" implementation="#bar">: FAIL
  • /html/syntax/parsing/html5lib_url.html?file=tests1 [wpt.fyi]
    • <?: FAIL
    • <?COMMENT?>: FAIL
    • <?COM--MENT?>: FAIL
  • /html/syntax/parsing/html5lib_write.html?file=processing-instructions [wpt.fyi]
    • <body><?something>: FAIL
    • <body><?something><span>: FAIL
    • <body><?something good>: FAIL
    • <body><?something else is good>: FAIL
    • <body><?one><?two>: FAIL
    • <body><?a$><?b$><?good?>: FAIL
    • <body><?hey there?>: FAIL
    • <body><?hey there?>: FAIL
    • <body><?hey?there>: FAIL
    • <body><?hey\tthere=1?>: FAIL
    • <body><?hey\nthere=1?>: FAIL
    • <body><?hey\rthere=1?>: FAIL
    • <body><?hey\x0cthere=1?>: FAIL
    • <body><?something ? >: FAIL
    • <body><?something x >: FAIL
    • <body><?something ?\t ??>: FAIL
    • <body><?t d > ?>: FAIL
    • <body><?module-handler>: FAIL
    • <body><?module-handler data>: FAIL
    • <body><?view-port>: FAIL
    • <body><?view-port data>: FAIL
    • <body><?config-v2>: FAIL
    • <body><?config-v2 data>: FAIL
    • <body><?x>: FAIL
    • <body><?x data>: FAIL
    • <body><?zz2op>: FAIL
    • <body><?zz2op data>: FAIL
    • <body><?xla->: FAIL
    • <body><?xla- data>: FAIL
    • <body><?a-b-c>: FAIL
    • <body><?a-b-c data>: FAIL
    • <body><?v-123>: FAIL
    • <body><?v-123 data>: FAIL
    • <body><?a0-b1-c2>: FAIL
    • <body><?a0-b1-c2 data>: FAIL
    • <body><?page-404>: FAIL
    • <body><?page-404 data>: FAIL
    • <body><?r2-d2>: FAIL
    • <body><?r2-d2 data>: FAIL
    • <body><?level-99>: FAIL
    • <body><?level-99 data>: FAIL
    • <body><?UPPERCASE>: FAIL
    • <body><?UPPERCASE data>: FAIL
    • <body><?all-KINDS-of-CaSeS>: FAIL
    • <body><?all-KINDS-of-CaSeS data>: FAIL
    • <body><?user_name>: FAIL
    • <body><?user_name data>: FAIL
    • <body><?S_S-S_S>: FAIL
    • <body><?S_S-S_S data>: FAIL
    • <body><?b_>: FAIL
    • <body><?b_ data>: FAIL
    • <body><?_prefix>: FAIL
    • <body><?_prefix data>: FAIL
    • <body><?_x132>: FAIL
    • <body><?_x132 data>: FAIL
    • <body><?->: FAIL
    • <body><?- data>: FAIL
    • <body><?_>: FAIL
    • <body><?_ data>: FAIL
    • <body><?A---------------->: FAIL
    • <body><?A---------------- data>: FAIL
    • <body><?z0123456789>: FAIL
    • <body><?z0123456789 data>: FAIL
    • <body><?m-0>: FAIL
    • <body><?m-0 data>: FAIL
    • <body><?start: FAIL
    • <body><?start?: FAIL
    • <body><?start : FAIL
    • <body><?start data: FAIL
    • <body><?start ? ?: FAIL
    • <body><?: FAIL
    • <div><?something></div>: FAIL
    • <div><?something good></div>: FAIL
    • <table><?something></table>: FAIL
    • <table><tr><?something></tr></table>: FAIL
    • <?something>: FAIL
    • <head><?something>: FAIL
    • <html><?something><head>: FAIL
    • <html><head></head><?something><body>: FAIL
    • <html><body></body><?something>: FAIL
    • <html><body></body></html><?something>: FAIL
    • <body><template><?something></template>: FAIL
    • <template><?pi>: FAIL
  • /html/syntax/parsing/html5lib_write.html?file=template [wpt.fyi]
    • <template><table><form></table></template>: FAIL
  • /html/syntax/parsing/html5lib_write.html?file=webkit02 [wpt.fyi]
    • <select><button><selectedcontent></button><option>X: FAIL
    • <select><button><selectedcontent></button><option>x<i>i<b>ib</i>b: FAIL
    • <select><button><selectedcontent></button><option>X<option>Y: FAIL
    • <select><button><selectedcontent></button><option>X<option selected>Y: FAIL
  • /html/syntax/parsing/html5lib_write.html?file=tests1 [wpt.fyi]
    • <?: FAIL
    • <?COMMENT?>: FAIL
    • <?COM--MENT?>: FAIL
  • /html/syntax/parsing/html5lib_write.html?file=html5test-com [wpt.fyi]
    • <?import namespace="foo" implementation="#bar">: FAIL
  • /html/syntax/parsing/html5lib_write_single.html?file=tests15 [wpt.fyi]
    • <!doctype html><table> X<meta></table>: FAIL
    • <!doctype html><table> x</table>: FAIL
    • <!doctype html><table> x </table>: FAIL
    • <!doctype html><table><tr> x</table>: FAIL
  • /html/syntax/parsing/html5lib_write_single.html?file=html5test-com [wpt.fyi]
    • <?import namespace="foo" implementation="#bar">: FAIL
  • /html/syntax/parsing/html5lib_write_single.html?file=webkit02 [wpt.fyi]
    • <select><button><selectedcontent></button><option>X: FAIL
    • <select><button><selectedcontent></button><option>x<i>i<b>ib</i>b: FAIL
    • <select><button><selectedcontent></button><option>X<option>Y: FAIL
    • <select><button><selectedcontent></button><option>X<option selected>Y: FAIL
  • /html/syntax/parsing/html5lib_write_single.html?file=tests1 [wpt.fyi]
    • <?: FAIL
    • <?COMMENT?>: FAIL
    • <?COM--MENT?>: FAIL
  • /html/syntax/parsing/html5lib_write_single.html?file=tests19 [wpt.fyi]
    • <!doctype html><table> b <!--foo-->: FAIL
  • /html/syntax/parsing/html5lib_write_single.html?file=processing-instructions [wpt.fyi]
    • <body><?something>: FAIL
    • <body><?something><span>: FAIL
    • <body><?something good>: FAIL
    • <body><?something else is good>: FAIL
    • <body><?one><?two>: FAIL
    • <body><?a$><?b$><?good?>: FAIL
    • <body><?hey there?>: FAIL
    • <body><?hey there?>: FAIL
    • <body><?hey?there>: FAIL
    • <body><?hey\tthere=1?>: FAIL
    • <body><?hey\nthere=1?>: FAIL
    • <body><?hey\rthere=1?>: FAIL
    • <body><?hey\x0cthere=1?>: FAIL
    • <body><?something ? >: FAIL
    • <body><?something x >: FAIL
    • <body><?something ?\t ??>: FAIL
    • <body><?t d > ?>: FAIL
    • <body><?module-handler>: FAIL
    • <body><?module-handler data>: FAIL
    • <body><?view-port>: FAIL
    • <body><?view-port data>: FAIL
    • <body><?config-v2>: FAIL
    • <body><?config-v2 data>: FAIL
    • <body><?x>: FAIL
    • <body><?x data>: FAIL
    • <body><?zz2op>: FAIL
    • <body><?zz2op data>: FAIL
    • <body><?xla->: FAIL
    • <body><?xla- data>: FAIL
    • <body><?a-b-c>: FAIL
    • <body><?a-b-c data>: FAIL
    • <body><?v-123>: FAIL
    • <body><?v-123 data>: FAIL
    • <body><?a0-b1-c2>: FAIL
    • <body><?a0-b1-c2 data>: FAIL
    • <body><?page-404>: FAIL
    • <body><?page-404 data>: FAIL
    • <body><?r2-d2>: FAIL
    • <body><?r2-d2 data>: FAIL
    • <body><?level-99>: FAIL
    • <body><?level-99 data>: FAIL
    • <body><?UPPERCASE>: FAIL
    • <body><?UPPERCASE data>: FAIL
    • <body><?all-KINDS-of-CaSeS>: FAIL
    • <body><?all-KINDS-of-CaSeS data>: FAIL
    • <body><?user_name>: FAIL
    • <body><?user_name data>: FAIL
    • <body><?S_S-S_S>: FAIL
    • <body><?S_S-S_S data>: FAIL
    • <body><?b_>: FAIL
    • <body><?b_ data>: FAIL
    • <body><?_prefix>: FAIL
    • <body><?_prefix data>: FAIL
    • <body><?_x132>: FAIL
    • <body><?_x132 data>: FAIL
    • <body><?->: FAIL
    • <body><?- data>: FAIL
    • <body><?_>: FAIL
    • <body><?_ data>: FAIL
    • <body><?A---------------->: FAIL
    • <body><?A---------------- data>: FAIL
    • <body><?z0123456789>: FAIL
    • <body><?z0123456789 data>: FAIL
    • <body><?m-0>: FAIL
    • <body><?m-0 data>: FAIL
    • <body><?start: FAIL
    • <body><?start?: FAIL
    • <body><?start : FAIL
    • <body><?start data: FAIL
    • <body><?start ? ?: FAIL
    • <body><?: FAIL
    • <div><?something></div>: FAIL
    • <div><?something good></div>: FAIL
    • <table><?something></table>: FAIL
    • <table><tr><?something></tr></table>: FAIL
    • <?something>: FAIL
    • <head><?something>: FAIL
    • <html><?something><head>: FAIL
    • <html><head></head><?something><body>: FAIL
    • <html><body></body><?something>: FAIL
    • <html><body></body></html><?something>: FAIL
    • <body><template><?something></template>: FAIL
    • <template><?pi>: FAIL
  • /html/syntax/parsing/html5lib_write_single.html?file=template [wpt.fyi]
    • <template><table><form></table></template>: FAIL
  • /html/syntax/parsing/html5lib_write_single.html?file=tests7 [wpt.fyi]
    • A<table><tr> B</tr> B</table>: FAIL
    • A<table><tr> B</tr> </em>C</table>: FAIL
  • /html/syntax/parsing/insert-into-nonempty-document.html [wpt.fyi]
    • A DOCTYPE token is dropped when the Document already has a doctype child: FAIL
    • A DOCTYPE token is dropped when the Document already has an element child: FAIL
    • An html start tag is dropped when the Document already has an element child: FAIL

Tests Disabled in Gecko Infrastructure

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