SlickSpeed
speed/validity selectors test for frameworks.
Every framework runs in his own iFrame, thus no conflicts can happen. Tests are run selector by selector, with an interval to prevent the browser from freeezing.
Tests are run in a neutral environment (against a local copy of this document), no library or framework is included in the main javascript test, to avoid favoritism.
| selectors |
Sly 1.0rc2 | Mootools 2 (Slick) | Whiz 1.0.0 Preview | NWMatcher 1.1.1 | Dojo 1.3.0 | Sizzle 1.0 |
| body | | | | | | |
|---|
| div | | | | | | |
|---|
| body div | | | | | | |
|---|
| div p | | | | | | |
|---|
| div > p | | | | | | |
|---|
| div + p | | | | | | |
|---|
| div ~ p | | | | | | |
|---|
| div[class^=exa][class$=mple] | | | | | | |
|---|
| div p a | | | | | | |
|---|
| div, p, a | | | | | | |
|---|
| .note | | | | | | |
|---|
| div.example | | | | | | |
|---|
| ul .tocline2 | | | | | | |
|---|
| div.example, div.note | | | | | | |
|---|
| #title | | | | | | |
|---|
| h1#title | | | | | | |
|---|
| div #title | | | | | | |
|---|
| ul.toc li.tocline2 | | | | | | |
|---|
| ul.toc > li.tocline2 | | | | | | |
|---|
| h1#title + div > p | | | | | | |
|---|
| h1[id]:contains(Selectors) | | | | | | |
|---|
| a[href][lang][class] | | | | | | |
|---|
| div[class] | | | | | | |
|---|
| div[class=example] | | | | | | |
|---|
| div[class^=exa] | | | | | | |
|---|
| div[class$=mple] | | | | | | |
|---|
| div[class*=e] | | | | | | |
|---|
| div[class|=dialog] | | | | | | |
|---|
| div[class!=made_up] | | | | | | |
|---|
| div[class~=example] | | | | | | |
|---|
| div:not(.example) | | | | | | |
|---|
| p:contains(selectors) | | | | | | |
|---|
| p:nth-child(even) | | | | | | |
|---|
| p:nth-child(2n) | | | | | | |
|---|
| p:nth-child(odd) | | | | | | |
|---|
| p:nth-child(2n+1) | | | | | | |
|---|
| p:nth-child(n) | | | | | | |
|---|
| p:only-child | | | | | | |
|---|
| p:last-child | | | | | | |
|---|
| p:first-child | | | | | | |
Legend
| the faster |
the slower |
exception thrown or zero elements found |
different returned elements |
|
|
|
|