Implement only a few selectors for IE6 to reduce parse time?

17 views
Skip to first unread message

Ian

unread,
Nov 5, 2011, 2:45:42 AM11/5/11
to ie7-js
Because the parse time can be long if stylesheets are long, is it
possible to make this script implements only a few selectors for IE6
in order to reduce parse time?

Say, if I only need the following six selectors, how do I disable the
implementation of other selectors so the parse time can be greatly
reduced?

>
+
[attr=]
:first-child
:last-child
:nth-child

Ian

unread,
Nov 5, 2011, 2:48:02 AM11/5/11
to ie7-js
The first selector ">" is missing due to Google groups' message
formatter.

1. >
2. +
3. [attr=]
4. :first-child
5. :last-child
6. :nth-child
Reply all
Reply to author
Forward
0 new messages