mirror of
https://github.com/jquery/jquery.git
synced 2026-02-19 07:44:23 -05:00
Fix #13223. Re-allow leading space in HTML. Close gh-1264.
This commit is contained in:
@@ -73,18 +73,6 @@ test("disconnected nodes - jQuery only", function() {
|
||||
equal( $opt.is(":selected"), true, "selected option" );
|
||||
});
|
||||
|
||||
test("jQuery only - broken", 1, function() {
|
||||
raises(function() {
|
||||
// Setting context to null here somehow avoids QUnit's window.error handling
|
||||
// making the e & e.message correct
|
||||
// For whatever reason, without this,
|
||||
// Sizzle.error will be called but no error will be seen in oldIE
|
||||
jQuery.call( null, " <div/> " );
|
||||
}, function( e ) {
|
||||
return (/syntax.err/i).test( e.message );
|
||||
}, "leading space invalid: $(' <div/> ')" );
|
||||
});
|
||||
|
||||
testIframe("selector/html5_selector", "attributes - jQuery.attr", function( jQuery, window, document ) {
|
||||
expect( 35 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user