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: |
Description
Currently ShadowRoot nodes cannot be used with Sizzle: http://jsfiddle.net/tj_vantoll/5RBxm/
ShadowRoots are DocumentFragments, but they have the additional methods so adding support for them might not be that bad: http://www.w3.org/TR/shadow-dom/#elements-and-dom-objects
Attachments (0)
Change History (4)
Changed August 21, 2013 03:00PM UTC by comment:1
component: | unfiled → selector |
---|---|
owner: | → timmywil |
priority: | undecided → low |
status: | new → assigned |
Changed August 23, 2013 10:00PM UTC by comment:2
This appears to be a dupe of http://bugs.jquery.com/ticket/13342. 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 (https://github.com/jquery/jquery/pull/1149) with more commentary.
Changed August 23, 2013 10:10PM UTC by 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 comment:4
resolution: | → migrated |
---|---|
status: | assigned → closed |
Migrated to https://github.com/jquery/jquery/issues/1748
I'll take a stab at this whenever I get the chance.