Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 50ebe1a

Browse files
committedDec 30, 2014
Selector: Use valid XHTML in support tests
Fixes gh-304 Ref aca006d Ref jquery/jquery#1969
1 parent 6f1acda commit 50ebe1a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed
 

‎dist/sizzle.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Released under the MIT license
77
* http://jquery.org/license
88
*
9-
* Date: 2014-12-15
9+
* Date: 2014-12-30
1010
*/
1111
(function( window ) {
1212

@@ -621,7 +621,7 @@ setDocument = Sizzle.setDocument = function( node ) {
621621
// since its presence should be enough
622622
// http://bugs.jquery.com/ticket/12359
623623
docElem.appendChild( div ).innerHTML = "<a id='" + expando + "'></a>" +
624-
"<select id='" + expando + "-\f]' msallowcapture=''>" +
624+
"<select id='" + expando + "-\r\\' msallowcapture=''>" +
625625
"<option selected=''></option></select>";
626626

627627
// Support: IE8, Opera 11-12.16
@@ -638,7 +638,7 @@ setDocument = Sizzle.setDocument = function( node ) {
638638
rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" );
639639
}
640640

641-
// Support: Chrome<29, Android<4.2+, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.7+
641+
// Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+
642642
if ( !div.querySelectorAll( "[id~=" + expando + "-]" ).length ) {
643643
rbuggyQSA.push("~=");
644644
}

‎dist/sizzle.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)