From f50224d6530da96293ddbc16943e374a8b236e39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Sat, 9 Sep 2006 23:21:30 +0000 Subject: [PATCH] Added test to verify bug #160, had to modify fixture (index.html) --- build/test/index.html | 6 +++--- src/jquery/jquery.js | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build/test/index.html b/build/test/index.html index 3af2240..e05c176 100644 --- a/build/test/index.html +++ b/build/test/index.html @@ -32,8 +32,8 @@

Try them out:

    -
    - + + @@ -42,7 +42,7 @@ - + diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 4fe14f8..c1d64f2 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -390,6 +390,8 @@ jQuery.fn = jQuery.prototype = { * @test ok( $('#en').attr('lang') == "en", 'Check for lang attribute' ); * @test ok( $('#simon').attr('class') == "blog link", 'Check for class attribute' ); * @test ok( $('#name').attr('name') == "name", 'Check for name attribute' ); + * @test ok( $('#text1').attr('name') == "action", 'Check for name attribute' ); + * @test ok( $('#form').attr('action') == "formaction", 'Check for action attribute' ); * * @name attr * @type Object -- 1.7.10.4