summaryrefslogtreecommitdiff
path: root/lib/CGI
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-12-07 02:10:26 +0000
committerSteve Peters <steve@fisharerojo.org>2005-12-07 02:10:26 +0000
commit1f42692825f0c2ae2aff7c8dc9679ad797e3f97c (patch)
tree20da882095e261949aa4ef5a6d9cf513a2ef0a6a /lib/CGI
parent1f440eb2be23907e83a24cd58474579346e67832 (diff)
downloadperl-1f42692825f0c2ae2aff7c8dc9679ad797e3f97c.tar.gz
Upgrade to CGI-3.14.
Mmm...pi. Oh, also including some Pod fixes in bleadperl that haven't yet been applied to the actual CGI distribution yet. p4raw-id: //depot/perl@26288
Diffstat (limited to 'lib/CGI')
-rw-r--r--lib/CGI/Changes3
-rwxr-xr-xlib/CGI/t/form.t12
2 files changed, 14 insertions, 1 deletions
diff --git a/lib/CGI/Changes b/lib/CGI/Changes
index b4b46198b5..8c0c42c377 100644
--- a/lib/CGI/Changes
+++ b/lib/CGI/Changes
@@ -1,3 +1,6 @@
+ Version 3.14 Tue Dec 6 17:12:03 EST 2005
+ 1. Fixed broken scrolling_list() select attribute.
+
Version 3.13
1. Removed extraneous empty "?" from end of self_url().
diff --git a/lib/CGI/t/form.t b/lib/CGI/t/form.t
index 558dce9037..54b3792789 100755
--- a/lib/CGI/t/form.t
+++ b/lib/CGI/t/form.t
@@ -4,7 +4,7 @@
# ensure the blib's are in @INC, else we might use the core CGI.pm
use lib qw(. ./blib/lib ./blib/arch);
-use Test::More tests => 17;
+use Test::More tests => 18;
BEGIN { use_ok('CGI'); };
use CGI (':standard','-no_debug','-tabindex');
@@ -117,3 +117,13 @@ is(popup_menu(-name => 'game',
<option selected="selected" value="cribbage">cribbage</option>
</select>',
'popup_menu()');
+is(scrolling_list(-name => 'game',
+ '-values' => [qw/checkers chess cribbage/],
+ -default => 'cribbage',
+ -override=>1),
+ '<select name="game" tabindex="22" size="3">
+<option value="checkers">checkers</option>
+<option value="chess">chess</option>
+<option selected="selected" value="cribbage">cribbage</option>
+</select>',
+ 'scrolling_list()');