A follow-up for bug #3945. ID selectors don't work in querySelectorAll on XML documents, so we just fall back to the normal engine.
This commit is contained in:
parent
7d9d210540
commit
d45f193948
2 changed files with 5 additions and 3 deletions
|
@ -28,8 +28,8 @@ if ( location.protocol != "file:" ) {
|
|||
equals( jQuery("foo_bar", xml).length, 1, "Element Selector with underscore" );
|
||||
equals( jQuery("property[name=prop2]", xml).length, 1, "Attribute selector with name" );
|
||||
equals( jQuery("[name=prop2]", xml).length, 1, "Attribute selector with name" );
|
||||
equals( jQuery("#seite1", xml).length, 1, "Attribute selector with name" );
|
||||
equals( jQuery("component#seite1", xml).length, 1, "Attribute selector with name" );
|
||||
equals( jQuery("#seite1", xml).length, 1, "Attribute selector with ID" );
|
||||
equals( jQuery("component#seite1", xml).length, 1, "Attribute selector with ID" );
|
||||
start();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue