Skip to content

Add inert reflection and focus handling - #78

Draft
cowboyd wants to merge 2 commits into
dom-focusfrom
dom-inert
Draft

cowboyd wants to merge 2 commits into
dom-focusfrom
dom-inert

Conversation

@cowboyd

@cowboyd cowboyd commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Add HTMLElement.inert reflection and prevent HTMLElement.focus() from entering inert subtrees. The property reflects the element's own attribute; focus checks the element and its ancestors.

The native WPT runner and live Window named access are inherited from #87.

The click-dependent inert fixture remains deferred until layout, hit testing, and a real input backend are available.

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

Copy link
Copy Markdown

Open in StackBlitz

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

commit: de0f238

@cowboyd
cowboyd added this pull request to stack #77 November 14, 2026 23:51
@cowboyd
cowboyd marked this pull request as ready for review November 14, 2026 23:51
@cowboyd
cowboyd marked this pull request as draft November 17, 2026 17:46
@cowboyd
cowboyd force-pushed the dom-inert branch 3 times, most recently from d361709 to c519ddd Compare November 17, 2026 21:43
@cowboyd
cowboyd force-pushed the dom-inert branch 2 times, most recently from 659d84c to a7d687b Compare November 17, 2026 22:39
@cowboyd
cowboyd removed this pull request from stack #77 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 added this pull request to stack #94 November 17, 2026 22:49
@cowboyd cowboyd changed the title Add document event bubbling and inert focus handling Add inert reflection and focus handling Nov 18, 2026
@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.

1 participant