Permalink
Browse files

changed references to the :enabled/:disabled pseudo-classes docs

  • Loading branch information...
dperini committed Dec 3, 2012
1 parent 76a9d48 commit e1d7e770c287070075b05bfc07ad4833914a065a
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/nwmatcher.js
View
@@ -347,9 +347,10 @@
expect(':checked', div, element, 0) &&
pattern.push(':checked');
- // :enabled :disabled bugs with hidden fields (Firefox 3.5 QSA bug)
- // http://www.w3.org/TR/html5/interactive-elements.html#selector-enabled
- // IE8 QSA has problems too and throws error with these dynamic pseudos
+ // :enabled :disabled bugs with hidden fields (Firefox 3.5)
+ // http://www.w3.org/TR/html5/links.html#selector-enabled
+ // http://www.w3.org/TR/css3-selectors/#enableddisabled
+ // not supported by IE8 Query Selector
element = doc.createElement('input');
element.setAttribute('type', 'hidden');
expect(':enabled', div, element, 0) &&

0 comments on commit e1d7e77

Please sign in to comment.