Bug Tracker

Opened 10 years ago

Closed 10 years ago

#13577 closed bug (fixed)

New minimal selector engine fails on textNode objects

Reported by: [email protected] Owned by: timmywil
Priority: low Milestone: 2.0.1
Component: selector Version: 2.0b2
Keywords: Cc:
Blocked by: Blocking:


textNode objects don't have the querySelectorAll function available. Maybe we could prevent querying on those types of nodes an avoid a js error?


Change History (4)

comment:1 Changed 10 years ago by timmywil

Component: unfiledselector
Owner: set to timmywil
Priority: undecidedlow
Status: newassigned

We'll just fail silently for text nodes.

comment:2 Changed 10 years ago by dmethvin

Milestone: None2.0

comment:3 Changed 10 years ago by dmethvin


comment:4 Changed 10 years ago by Timmy Willison

Resolution: fixed
Status: assignedclosed

Check nodeType of elements passed to selector-native's find. Fixes #13577.

Changeset: 8d3c0506c860e887d0005fd12da53f1d11ce2883

Note: See TracTickets for help on using tickets.