Skip to content

Add support classes to DOM required to run CSS Style tests - #70

Draft
cowboyd wants to merge 1 commit into
dom-document-fragmentfrom
dom-get-element-by-id
Draft

cowboyd wants to merge 1 commit into
dom-document-fragmentfrom
dom-get-element-by-id

Conversation

@cowboyd

@cowboyd cowboyd commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

There are a lot of methods needed for the WPT to run the CSS tests.

Add Document.getElementById() and the DOM support needed to exercise it with parsed Web Platform Test fixtures. Lookup returns the first matching element in current tree order and reflects ID changes, insertion, removal, and reordering.

Stacked on #90, which adds document fragments for native WPT setup.

This lookup rung includes:

Relevant specs: DOM’s ID lookup, tag-name lookup, and HTMLCollection.

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

AI assisted with implementation, WPT adaptations, validation, and PR splitting.

@pkg-pr-new

pkg-pr-new Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

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

commit: fa76dc1

@cowboyd
cowboyd marked this pull request as draft November 13, 2026 03:42
@cowboyd
cowboyd added this pull request to stack #73 November 13, 2026 03:43
@cowboyd cowboyd changed the title Support document ID lookup Add support classes to DOM required to run CSS Style tests Nov 13, 2026
@cowboyd
cowboyd force-pushed the dom-get-element-by-id branch from eee4cc2 to 2e1197b Compare November 13, 2026 05:22
@cowboyd
cowboyd marked this pull request as ready for review November 13, 2026 05:39
@cowboyd
cowboyd marked this pull request as draft November 17, 2026 17:45
@cowboyd
cowboyd force-pushed the dom-get-element-by-id branch from 2e1197b to b036672 Compare November 17, 2026 18:03
@cowboyd
cowboyd removed this pull request from stack #73 November 17, 2026 18:06
@cowboyd
cowboyd changed the base branch from main to dom-default-view November 17, 2026 18:06
@cowboyd
cowboyd added this pull request to stack #89 November 17, 2026 18:06
@cowboyd
cowboyd force-pushed the dom-get-element-by-id branch from b036672 to 1b1342b Compare November 17, 2026 21:35
@cowboyd
cowboyd removed this pull request from stack #89 November 17, 2026 21:35
@cowboyd
cowboyd changed the base branch from dom-default-view to dom-document-fragment November 17, 2026 21:35
@cowboyd
cowboyd added this pull request to stack #91 November 17, 2026 21:35
@cowboyd
cowboyd force-pushed the dom-get-element-by-id branch from 1b1342b to a7ba3cd Compare November 17, 2026 21:43
@cowboyd
cowboyd force-pushed the dom-get-element-by-id branch from a7ba3cd to cfbadc5 Compare November 17, 2026 22:12
@cowboyd
cowboyd force-pushed the dom-get-element-by-id branch from cfbadc5 to 2c71877 Compare November 18, 2026 02:41
@cowboyd
cowboyd force-pushed the dom-get-element-by-id branch from 2c71877 to fa76dc1 Compare November 18, 2026 02:50
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