Skip to content

Add Node.isConnected - #75

Draft
cowboyd wants to merge 1 commit into
dom-id-lookupfrom
dom-is-connected
Draft

cowboyd wants to merge 1 commit into
dom-id-lookupfrom
dom-is-connected

Conversation

@cowboyd

@cowboyd cowboyd commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds Node.isConnected as a prerequisite for programmatic focus. The getter walks ancestors iteratively until it reaches a Document, using the document tree inherited from the native WPT base, and reflects attachment and removal immediately.

The existing connectivity case now runs directly from upstream WPT. Relevant spec: DOM’s Node.isConnected.

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 13, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 28e83bb

@cowboyd
cowboyd marked this pull request as ready for review November 13, 2026 20:25
@cowboyd cowboyd mentioned this pull request Nov 14, 2026
3 of 9 tasks
@cowboyd
cowboyd added this pull request to stack #77 November 14, 2026 06:33
@cowboyd
cowboyd marked this pull request as draft November 17, 2026 17:46
@cowboyd
cowboyd force-pushed the dom-is-connected branch 2 times, most recently from 2fb1ba3 to e743434 Compare November 17, 2026 21:35
@cowboyd
cowboyd force-pushed the dom-is-connected branch 2 times, most recently from 1f16d9c to bdf0c33 Compare November 17, 2026 22:12
@cowboyd
cowboyd removed this pull request from stack #77 November 17, 2026 22:40
@cowboyd
cowboyd changed the base branch from dom-get-element-by-id to dom-default-view November 17, 2026 22:40
@cowboyd
cowboyd added this pull request to stack #92 November 17, 2026 22:40
@cowboyd
cowboyd removed this pull request from stack #92 November 17, 2026 22:49
@cowboyd
cowboyd changed the base branch from dom-default-view to dom-id-lookup November 17, 2026 22:49
@cowboyd
cowboyd added this pull request to stack #94 November 17, 2026 22:49
@cowboyd
cowboyd removed this pull request from stack #94 November 18, 2026 02:24
@cowboyd
cowboyd added this pull request to stack #96 November 18, 2026 02:24
@cowboyd
cowboyd removed this pull request from stack #96 November 18, 2026 02:27
@cowboyd
cowboyd added this pull request to stack #98 November 18, 2026 02:27
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.

2 participants