Opened 9 years ago
Closed 8 years ago
#14281 closed feature (migrated)
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
Change History (4)
comment:1 Changed 9 years ago by
Component: | unfiled → selector |
---|---|
Owner: | set to timmywil |
Priority: | undecided → low |
Status: | new → assigned |
comment:2 Changed 9 years ago by
This appears to be a dupe of http://bugs.jquery.com/ticket/13342. Comments on that bug suggest that:
- Shadow DOM wasn't sufficiently available across the different browsers to rise to the level the jQuery team felt comfortable supporting it.
- 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.
comment:3 Changed 9 years ago by
Thank you for the reference. We were actually aware of that bug, but we decided to open a separate issue for Sizzle support.
comment:4 Changed 8 years ago by
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.