Skip to content

Un-tentative positional HTML setting methods - #60555

Merged
zcorpan merged 13 commits into
masterfrom
noamr/untent-positional
Oct 12, 2026
Merged

zcorpan merged 13 commits into
masterfrom
noamr/untent-positional

Conversation

@noamr

@noamr noamr commented Jun 11, 2026 •

Copy link
Copy Markdown
Contributor

@wpt-pr-bot
wpt-pr-bot requested review from ChrisParis and jdm June 11, 2026 13:02
@noamr noamr mentioned this pull request Jun 11, 2026
5 of 6 tasks
@noamr
noamr force-pushed the noamr/untent-positional branch from 658a4fb to 0cc8dd6 Compare August 5, 2026 08:32
@noamr
noamr force-pushed the noamr/untent-positional branch 3 times, most recently from 66e681a to cb6948f Compare August 18, 2026 12:55
@otherdaniel

Copy link
Copy Markdown
Member

See whatwg/html#12528

That one is closed in favour of whatwg/html#12753. Maybe update the reference?

This PR also updated test coverage in domparsing/positional-methods.html, by including more node types. That's good, but should IMHO be mentioned in the PR description.

@tunetheweb

Copy link
Copy Markdown
Contributor

If we merge #62872 then should also update WEB_FEATURES.yml as part of this PR.

@noamr
noamr requested a review from zcorpan October 7, 2026 13:15
@noamr
noamr force-pushed the noamr/untent-positional branch from 6511f9c to 0d5e8d9 Compare October 7, 2026 14:12
@annevk

annevk commented Oct 9, 2026

Copy link
Copy Markdown
Member
AI feedback

Reviewed at 9af3629, together with whatwg/html#12753 at 7944b13. The tests match the spec text. They cover exposure, the no-parent no-op, the HierarchyRequestError cases, the parsing context, Trusted Types ordering and sink names, and the script no-op.

Suggestions

  • No test has an html element as the parent or target, e.g. document.body.beforeHTML("<p>x</p>") or document.documentElement.appendHTML("<p>x</p>"). With the spec text as it stands, those insert an extra head and body. What should happen instead is still open on Add positional HTML insertion methods whatwg/html#12753 (possibly throwing). Consider adding a test once that's settled.

Nits

@noamr

noamr commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

AI feedback

All addressed.

@noamr
noamr force-pushed the noamr/untent-positional branch from d8331e7 to b7dfc69 Compare October 11, 2026 20:46
@noamr
noamr added this pull request to stack #63547 October 11, 2026 20:49
@noamr
noamr force-pushed the noamr/untent-positional branch from 3490961 to e42daf8 Compare October 12, 2026 12:33
@zcorpan

zcorpan commented Oct 12, 2026

Copy link
Copy Markdown
Member

Apparently stacked PRs have a requirement to be up to date with the base branch. For wpt, changes land before CI is done. I think the tests were stable before. Admin-merging.

@zcorpan
zcorpan merged commit 6cbf89b into master Oct 12, 2026
15 of 24 checks passed
@zcorpan
zcorpan deleted the noamr/untent-positional branch October 12, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants