You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bd069ea
Browse filesBrowse the repository at this point in the historyBrowse files
## What does this PR do?
Preact requires `Node.remove()`
Add `remove()` to detach nodes through the existing `removeChild()`
implementation, with a no-op for detached nodes. Unfortunately, to use
the WPT test for CharacterData, it requires a processing-instruction
node because that's what the test cases use.
I opted to implement it (it's tiny) rather than fork the WPT test or use
a one-off test.
## Type of change
- [ ] Bug fix
- [x] Feature
- [ ] Refactor (no behavior change)
- [ ] Documentation
- [ ] Performance improvement
- [ ] Tests
- [ ] Chore (dependencies, CI, tooling)
## Checklist
- [x] All tests pass (`pnpm test`)
- [x] Files are formatted (`pnpm format`)
- [x] I have added/updated tests for my changes (if applicable)
- [x] I have added a changeset
## AI-generated code disclosure
- [x] This PR includes AI-generated code
0 commit comments