Skip to content

Make bodyContains return true for nested shadow roots#3034

Merged
1cg merged 1 commit into
devfrom
shadow-root-body-true
Dec 11, 2024
Merged

Make bodyContains return true for nested shadow roots#3034
1cg merged 1 commit into
devfrom
shadow-root-body-true

Conversation

@alexpetros
Copy link
Copy Markdown
Collaborator

Description

This fixes an issues in which bodyContains() would incorrectly return false for nested shadow roots.

Replaces #2532

Checklist

  • I have read the contribution guidelines
  • I have targeted this PR against the correct branch (master for website changes, dev for
    source changes)
  • This is either a bugfix, a documentation update, or a new feature that has been explicitly
    approved via an issue
  • I ran the test suite locally (npm run test) and verified that it succeeded

@alexpetros alexpetros added the ready for review Issues that are ready to be considered for merging label Nov 24, 2024
This fixes an issues in which `bodyContains()` would incorrectly return
false for nested shadow roots.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review Issues that are ready to be considered for merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants