Sizzle is a pure-JavaScript CSS selector engine designed to be easily dropped in to a host library and use by the developers.
Key Features of Sizzle are the following:
- Completely standalone (no library dependencies)
- Competitive performance for most frequently used selectors
- Only 4KB minified and gzipped
- Highly extensible with easy-to-use API
- Designed for optimal performance with event delegation
- Clear IP assignment (all code held by the Dojo Foundation, contributors sign CLAs)
Selector Features
- CSS 3 Selector support
- Full Unicode support
- Escaped selector support #id\:value
- Contains text :contains(text)
- Complex :not :not(a#id)
- Multiple :not :not(div,p)
- Not attribute value [name!=value]
- Has selector :has(div)
- Position selectors :first, :last, :even, :odd, :gt, :lt, :eq
- Easy Form selectors :input, :text, :checkbox, :file, :password, :submit, :image, :reset, :button
- Header selector :header
- Code Features