[wpt-sync] Sync PR 61085 - HTML Processing Instruction tree format updates
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox154 fixed)
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 61085 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/61085
Details from upstream follow.
Jon Surrell <sirreal@users.noreply.github.com> wrote:
HTML Processing Instruction tree format updates
The specification for the tree construction HTML parser tests is out of data and the data files do not align with the specified format.
- Remove stale "The HTML parser cannot emit processing instructions…"
- The data format specifies that the PI target is followed by a space. The tests and
test.jsare updated accordingly.- The README specified that the data is followed by
>. This is updated to?>according to the data that appears in the .dat files.Further, I would consider aligning with the comment tree structure. Comments in the tree always open with
<!--and always close with-->. Comments start with the normative comment opener plus a space, and close with a space plus the normative comment closer. PI could adopt a similar format since the spec and the tests need to be updated for alignment. The tree format<?[[target]] [[data]] ?>would align with comments:The proposed format would produce a serialized tree as follows:
input tree structure <?target?><?target ?><?target data?><?target data ?>This is a companion to #61083.
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Updated•5 days ago
|
| Assignee | ||
Comment 1•5 days ago
|
||
Test result changes from PR not available.
Comment 3•5 days ago
|
||
| bugherder | ||
Description
•