Skip to main content

Bug Tracker

Side navigation

#14281 closed feature (migrated)

Opened August 21, 2013 12:23PM UTC

Closed October 21, 2014 12:19AM UTC

Support ShadowRoot Nodes in Sizzle

Reported by: tj.vantoll Owned by: timmywil
Priority: low Milestone: None
Component: selector Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:

Currently ShadowRoot nodes cannot be used with Sizzle:

ShadowRoots are DocumentFragments, but they have the additional methods so adding support for them might not be that bad:

Attachments (0)
Change History (4)

Changed August 21, 2013 03:00PM UTC by timmywil comment:1

component: unfiledselector
owner: → timmywil
priority: undecidedlow
status: newassigned

I'll take a stab at this whenever I get the chance.

Changed August 23, 2013 10:00PM UTC by comment:2

This appears to be a dupe of Comments on that bug suggest that:

1. Shadow DOM wasn't sufficiently available across the different browsers to rise to the level the jQuery team felt comfortable supporting it.

2. The exact semantics for what operations should and shouldn't be allowed on a shadow root weren't clearly defined.

FWIW, that bug references a pull request ( with more commentary.

Changed August 23, 2013 10:10PM UTC by timmywil comment:3

Thank you for the reference. We were actually aware of that bug, but we decided to open a separate issue for Sizzle support.

Changed October 21, 2014 12:19AM UTC by m_gol comment:4

resolution: → migrated
status: assignedclosed