Skip to content

Implement XML document creation for native WPT setup - #85

Open
cowboyd wants to merge 1 commit into
dom-document-typefrom
dom-create-document
Open

cowboyd wants to merge 1 commit into
dom-document-typefrom
dom-create-document

Conversation

@cowboyd

@cowboyd cowboyd commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

See #87 for the endgame.

We want to run WPT test cases directly without any changes to the upstream and without hosting hundreds approximations of those tests in our repository. Document-createAttribute.html and Node-textContent.html create XML documents during shared setup, before their selected cases run.

Implement DOMImplementation.createDocument(), returning an XMLDocument with an optional namespaced root and doctype. Convert and validate the factory arguments so upstream setup can use the implementation directly.

Type of change

  • Bug fix
  • Feature
  • Refactor (no behavior change)
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Checklist

  • I have added a changeset

AI-generated code disclosure

  • This PR includes AI-generated code

@pkg-pr-new

pkg-pr-new Bot commented Nov 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/bombshell-dev/ui/@clack/ui@85

commit: 38bce27

@cowboyd
cowboyd added this pull request to stack #88 November 17, 2026 05:00
@cowboyd
cowboyd marked this pull request as ready for review November 17, 2026 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant