1.2.5 regression: attr returns null for undefined attributes, was undefined

1.2.5 regression: attr returns null for undefined attributes, was undefined


Unfortunately I haven't tested this before the 1.2.5 release...
It looks like we have a regression in the behaviour for attr: Previous
to 1.2.5, attr returned undefined for attributes that were undefined.
Now it returns null. A simple test.
test("attr", function() {
    ok( $("#main").attr("doesnotexist") === undefined, "validation relies
on attr returning undefined for undefined attributes" )
});
This breaks the validation plugin, which relies on that behaviour,
therefore the error reports about validation + 1.2.5 being broken.
Another reason for a jQuery build server that runs all tests, not just
the core ones.
Regards
Jörn