Index: test/unit/selector.js =================================================================== --- test/unit/selector.js (revision 4040) +++ test/unit/selector.js (working copy) @@ -29,6 +29,10 @@ }); } +test("#1271", function() { + t( "xxx", "#testFor1271 [foo]", ["foobar" ]); +}); + test("broken", function() { expect(7); t( "Broken Selector", "[", [] ); Index: test/index.html =================================================================== --- test/index.html (revision 4040) +++ test/index.html (working copy) @@ -33,6 +33,12 @@ diveintomark
+Everything inside the red border is inside a div with id="foo"
.
This is a normal link: Yahoo