diff options
author | timmywil <timmywillisn@gmail.com> | 2011-09-12 19:40:14 -0400 |
---|---|---|
committer | timmywil <timmywillisn@gmail.com> | 2011-09-19 15:42:30 -0400 |
commit | 92405d4f5ffe9ec1f26f280303783014948438c5 (patch) | |
tree | cce9fc8dbb2c13cea02c87a172eb8a0ff0b66440 /test/index.html | |
parent | 269899a50646e9c1a4f58f1fe91a8a7262fd77e7 (diff) | |
download | jquery-92405d4f5ffe9ec1f26f280303783014948438c5.tar.gz jquery-92405d4f5ffe9ec1f26f280303783014948438c5.zip |
Override Sizzle attribute retrieval with jQuery.attr. Fixes #5637, #7128, #9261, #9570, #10178.
Bug fixed on the side: $(window).is('a') was throwing an exception. Fixes #10178.
Diffstat (limited to 'test/index.html')
-rw-r--r-- | test/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/index.html b/test/index.html index 4bbef54cd..05a444e01 100644 --- a/test/index.html +++ b/test/index.html @@ -41,6 +41,7 @@ <script src="unit/attributes.js"></script> <script src="unit/event.js"></script> <script src="../src/sizzle/test/unit/selector.js"></script> + <script src="unit/selector.js"></script> <script src="unit/traversing.js"></script> <script src="unit/manipulation.js"></script> <script src="unit/css.js"></script> @@ -136,7 +137,7 @@ <select name="select5" id="select5"> <option id="option5a" value="3">1</option> <option id="option5b" value="2">2</option> - <option id="option5c" value="1">3</option> + <option id="option5c" value="1" data-attr="">3</option> </select> <object id="object1" codebase="stupid"> |