r48990 - in /branches/upstream/libgraphics-colornames-www-perl/current: Changes META.yml README SIGNATURE lib/Graphics/ColorNames/CSS.pm lib/Graphics/ColorNames/IE.pm lib/Graphics/ColorNames/SVG.pm lib/Graphics/ColorNames/WWW.pm t/11pod_cover.t
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sun Dec 20 00:18:43 UTC 2009
Author: jawnsy-guest
Date: Sun Dec 20 00:18:32 2009
New Revision: 48990
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=48990
Log:
[svn-upgrade] Integrating new upstream version, libgraphics-colornames-www-perl (1.13)
Modified:
branches/upstream/libgraphics-colornames-www-perl/current/Changes
branches/upstream/libgraphics-colornames-www-perl/current/META.yml
branches/upstream/libgraphics-colornames-www-perl/current/README
branches/upstream/libgraphics-colornames-www-perl/current/SIGNATURE
branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/CSS.pm
branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/IE.pm
branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/SVG.pm
branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/WWW.pm
branches/upstream/libgraphics-colornames-www-perl/current/t/11pod_cover.t
Modified: branches/upstream/libgraphics-colornames-www-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgraphics-colornames-www-perl/current/Changes?rev=48990&op=diff
==============================================================================
--- branches/upstream/libgraphics-colornames-www-perl/current/Changes (original)
+++ branches/upstream/libgraphics-colornames-www-perl/current/Changes Sun Dec 20 00:18:32 2009
@@ -1,4 +1,8 @@
Revision history for Perl extension Graphics::ColorNames::WWW
+
+1.13 Sat Dec 19 00:00:00 2009
+ - better documentation
+ - fix FAIL in t/11pod_cover.t
1.12 Thu Dec 17 00:00:00 2009
- only use ASCII in POD, fixes FAILs with perl 5.6.x
Modified: branches/upstream/libgraphics-colornames-www-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgraphics-colornames-www-perl/current/META.yml?rev=48990&op=diff
==============================================================================
--- branches/upstream/libgraphics-colornames-www-perl/current/META.yml (original)
+++ branches/upstream/libgraphics-colornames-www-perl/current/META.yml Sun Dec 20 00:18:32 2009
@@ -1,6 +1,6 @@
---
name: Graphics-ColorNames-WWW
-version: 1.12
+version: 1.13
author:
- 'Claus FE<auml>rber <CFAERBER at cpan.org>'
abstract: WWW color names and equivalent RGB values
@@ -17,16 +17,16 @@
provides:
Graphics::ColorNames::CSS:
file: lib/Graphics/ColorNames/CSS.pm
- version: 1.12
+ version: 1.13
Graphics::ColorNames::IE:
file: lib/Graphics/ColorNames/IE.pm
- version: 1.12
+ version: 1.13
Graphics::ColorNames::SVG:
file: lib/Graphics/ColorNames/SVG.pm
- version: 1.12
+ version: 1.13
Graphics::ColorNames::WWW:
file: lib/Graphics/ColorNames/WWW.pm
- version: 1.12
+ version: 1.13
generated_by: Module::Build version 0.35
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
Modified: branches/upstream/libgraphics-colornames-www-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgraphics-colornames-www-perl/current/README?rev=48990&op=diff
==============================================================================
--- branches/upstream/libgraphics-colornames-www-perl/current/README (original)
+++ branches/upstream/libgraphics-colornames-www-perl/current/README Sun Dec 20 00:18:32 2009
@@ -7,10 +7,10 @@
To install this module type the following:
- perl Makefile.PL
- make
- make test
- make install
+ perl Build.PL
+ ./Build
+ ./Build test
+ ./Build install
DEPENDENCIES
Modified: branches/upstream/libgraphics-colornames-www-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgraphics-colornames-www-perl/current/SIGNATURE?rev=48990&op=diff
==============================================================================
--- branches/upstream/libgraphics-colornames-www-perl/current/SIGNATURE (original)
+++ branches/upstream/libgraphics-colornames-www-perl/current/SIGNATURE Sun Dec 20 00:18:32 2009
@@ -15,18 +15,18 @@
Hash: SHA1
SHA1 429476e068ac049695af4561b08ef6673a1da2e3 Build.PL
-SHA1 53ab2c7e5d5c116421f584ee0ab00d2d1a764545 Changes
+SHA1 20cf5d15a1eac09ee5ae199b99be2e256a6760fc Changes
SHA1 276c6f551968687e626a539e7d33bb1c9929f528 LICENSE
SHA1 49a8d4a8e784ad5fe0f3283bdc78c8bbd00dd47f MANIFEST
-SHA1 570a550da53f32281aa590daf174eb513ee7bd83 META.yml
+SHA1 aa8538b9a0e94150c5b8ee07dd8bf2fe5bd03cad META.yml
SHA1 723992d2e7ea02c46a5ca8aa01840d68813d3c4c Makefile.PL
-SHA1 4094489840472fd2daa9dc7d207fd87366e54358 README
-SHA1 0cc6945904cbd3c424c1128df27e253326bfef72 lib/Graphics/ColorNames/CSS.pm
-SHA1 da64cf372ffbdc7efecd68ccc23f4cdad51d9e9b lib/Graphics/ColorNames/IE.pm
-SHA1 d2cd0ffb7b926d34d5cf004867af161137f1d369 lib/Graphics/ColorNames/SVG.pm
-SHA1 d7e74c14ff61036ba19d488a84429ba655288f30 lib/Graphics/ColorNames/WWW.pm
+SHA1 75a736a35800e12d8be3eaaa62e3b6376ad63395 README
+SHA1 91c7dd9c9499efdecc5e1669700ec6f5e959a718 lib/Graphics/ColorNames/CSS.pm
+SHA1 b41023a3170ce0b38b2559b3b5c49b1de887ccec lib/Graphics/ColorNames/IE.pm
+SHA1 a556171c7de14882ba52b551c322a13d376f5948 lib/Graphics/ColorNames/SVG.pm
+SHA1 fe7730f128ec49225a2fdcbfc5f0571951680e13 lib/Graphics/ColorNames/WWW.pm
SHA1 056063d18c3f48338620bbff698f81f91f2ea4d0 t/10pod.t
-SHA1 e2b1f468d6ea1199f0d68655d25532095435aac8 t/11pod_cover.t
+SHA1 d1cc4bffb520930d347a32d8ed043e4736acd8e4 t/11pod_cover.t
SHA1 74f2bc2b75e5619a13f3078abde72b247f959017 t/CSS.t
SHA1 b8f11f28d1b277235b9b126354d7f174fec3a225 t/IExplore.t
SHA1 2c172ab132e7c90671bda28211fe7cfb31b085e4 t/SVG.t
@@ -39,7 +39,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
-iEYEARECAAYFAksqoS0ACgkQSKUOY2OWgPCj6gCfRwUYmJZTv9VfFp9NsI7n0ZKv
-ZS4AoImpcggHvckSxi0LQLENiur0JHa2
-=QPbZ
+iEYEARECAAYFAksssr4ACgkQSKUOY2OWgPCzaQCfSigcexWgQFT6bGWfs84KUgW/
+5mwAnjsA3YoIRdeB6MN0w2rtEcaleW9C
+=jliw
-----END PGP SIGNATURE-----
Modified: branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/CSS.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/CSS.pm?rev=48990&op=diff
==============================================================================
--- branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/CSS.pm (original)
+++ branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/CSS.pm Sun Dec 20 00:18:32 2009
@@ -7,7 +7,7 @@
use Graphics::ColorNames::WWW();
-our $VERSION = '1.12';
+our $VERSION = '1.13';
*NamesRgbTable = \&Graphics::ColorNames::WWW::NamesRgbTable;
@@ -26,11 +26,20 @@
=head1 DESCRIPTION
-This module defines color names and their associated RGB values
-from the CSS Color Module Level 3 Working Draft (2008-07-21).
+This module defines color names and their associated RGB values from the CSS
+Color Module Level 3 W3C Working Draft of 2008-07-21.
-It is actually an alias for L<Graphic::ColorNames::WWW>. This may
-change in the future should the specs happen to diverge.
+It is currently an alias for L<Graphic::ColorNames::WWW>. This may change in
+the future. It is recommended to use the WWW module, which will always
+implement a superset of this module.
+
+See the documentation of L<Graphics::ColorNames> for information how to use
+this module.
+
+=head1 SEE ALSO
+
+L<Graphics::ColorNames::WWW>,
+CSS Color Module Level 3 (L<http://w3.org/TR/CSS3-color>)
=head1 AUTHOR
Modified: branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/IE.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/IE.pm?rev=48990&op=diff
==============================================================================
--- branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/IE.pm (original)
+++ branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/IE.pm Sun Dec 20 00:18:32 2009
@@ -5,7 +5,7 @@
use strict;
use warnings;
-our $VERSION = '1.12';
+our $VERSION = '1.13';
sub NamesRgbTable() {
use integer;
@@ -60,7 +60,7 @@
(lc 'GhostWhite') => 0xF8F8FF, # 248,248,255
(lc 'Gold') => 0xFFD700, # 255,215,0
(lc 'Goldenrod') => 0xDAA520, # 218,165,32
- (lc 'Gray') => 0x808080, # 128,128,128
+ (lc 'Gray') => 0x808080, # 128,128,128 ## NB: Grey is missing!
(lc 'Green') => 0x008000, # 0,128,0
(lc 'GreenYellow') => 0xADFF2F, # 173,255,47
(lc 'Honeydew') => 0xF0FFF0, # 240,255,240
@@ -171,6 +171,11 @@
This module defines color names and their associated RGB values recognized by
Microsoft Internet Explorer.
+This currently is a subset of the colors defined by CSS and SVG specifications.
+
+See the documentation of L<Graphics::ColorNames> for information how to use
+this module.
+
=head2 NOTE
Although Microsoft calls them "X11 color names", some of them are not identical
@@ -178,7 +183,7 @@
=head1 SEE ALSO
-C<Graphics::ColorNames>, MSDN <http://msdn.microsoft.com/library/en-us/dnwebgen/html/X11_names.asp>
+C<Graphics::ColorNames::WWW>, MSDN <http://msdn.microsoft.com/library/en-us/dnwebgen/html/X11_names.asp>
=head1 AUTHOR
Modified: branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/SVG.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/SVG.pm?rev=48990&op=diff
==============================================================================
--- branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/SVG.pm (original)
+++ branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/SVG.pm Sun Dec 20 00:18:32 2009
@@ -7,7 +7,7 @@
use Graphics::ColorNames::WWW();
-our $VERSION = '1.12';
+our $VERSION = '1.13';
*NamesRgbTable = \&Graphics::ColorNames::WWW::NamesRgbTable;
@@ -29,8 +29,17 @@
This module defines color names and their associated RGB values
from the SVG 1.2 Specification.
-It is actually an alias for L<Graphic::ColorNames::WWW>. This may
-change should the specs happen to diverge.
+It is currently an alias for L<Graphic::ColorNames::WWW>. This may change in
+the future. It is recommended to use the WWW module, which will always
+implement a superset of this module.
+
+See the documentation of L<Graphics::ColorNames> for information how to use
+this module.
+
+=head1 SEE ALSO
+
+L<Graphics::ColorNames::WWW>,
+Scalable Vector Graphics (SVG) 1.1 Specification, Section 4.2 (L<http://www.w3.org/TR/SVG/types.html#ColorKeywords>)
=head1 AUTHOR
Modified: branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/WWW.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/WWW.pm?rev=48990&op=diff
==============================================================================
--- branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/WWW.pm (original)
+++ branches/upstream/libgraphics-colornames-www-perl/current/lib/Graphics/ColorNames/WWW.pm Sun Dec 20 00:18:32 2009
@@ -5,160 +5,160 @@
use strict;
use warnings;
-our $VERSION = '1.12';
+our $VERSION = '1.13';
sub NamesRgbTable() {
- sub rgb { ($_[0] << 16) + ($_[1] << 8) + ($_[2]) }
+ sub _mk_rgb { ($_[0] << 16) + ($_[1] << 8) + ($_[2]) }
use integer;
return {
- 'aliceblue' => rgb(240, 248, 255),
- 'antiquewhite' => rgb(250, 235, 215),
- 'aqua' => rgb( 0, 255, 255),
- 'aquamarine' => rgb(127, 255, 212),
- 'azure' => rgb(240, 255, 255),
- 'beige' => rgb(245, 245, 220),
- 'bisque' => rgb(255, 228, 196),
- 'black' => rgb( 0, 0, 0),
- 'blanchedalmond' => rgb(255, 235, 205),
- 'blue' => rgb( 0, 0, 255),
- 'blueviolet' => rgb(138, 43, 226),
- 'brown' => rgb(165, 42, 42),
- 'burlywood' => rgb(222, 184, 135),
- 'cadetblue' => rgb( 95, 158, 160),
- 'chartreuse' => rgb(127, 255, 0),
- 'chocolate' => rgb(210, 105, 30),
- 'coral' => rgb(255, 127, 80),
- 'cornflowerblue' => rgb(100, 149, 237),
- 'cornsilk' => rgb(255, 248, 220),
- 'crimson' => rgb(220, 20, 60),
- 'cyan' => rgb( 0, 255, 255),
- 'darkblue' => rgb( 0, 0, 139),
- 'darkcyan' => rgb( 0, 139, 139),
- 'darkgoldenrod' => rgb(184, 134, 11),
- 'darkgray' => rgb(169, 169, 169),
- 'darkgreen' => rgb( 0, 100, 0),
- 'darkgrey' => rgb(169, 169, 169),
- 'darkkhaki' => rgb(189, 183, 107),
- 'darkmagenta' => rgb(139, 0, 139),
- 'darkolivegreen' => rgb( 85, 107, 47),
- 'darkorange' => rgb(255, 140, 0),
- 'darkorchid' => rgb(153, 50, 204),
- 'darkred' => rgb(139, 0, 0),
- 'darksalmon' => rgb(233, 150, 122),
- 'darkseagreen' => rgb(143, 188, 143),
- 'darkslateblue' => rgb( 72, 61, 139),
- 'darkslategray' => rgb( 47, 79, 79),
- 'darkslategrey' => rgb( 47, 79, 79),
- 'darkturquoise' => rgb( 0, 206, 209),
- 'darkviolet' => rgb(148, 0, 211),
- 'deeppink' => rgb(255, 20, 147),
- 'deepskyblue' => rgb( 0, 191, 255),
- 'dimgray' => rgb(105, 105, 105),
- 'dimgrey' => rgb(105, 105, 105),
- 'dodgerblue' => rgb( 30, 144, 255),
- 'firebrick' => rgb(178, 34, 34),
- 'floralwhite' => rgb(255, 250, 240),
- 'forestgreen' => rgb( 34, 139, 34),
+ 'aliceblue' => _mk_rgb(240, 248, 255),
+ 'antiquewhite' => _mk_rgb(250, 235, 215),
+ 'aqua' => _mk_rgb( 0, 255, 255),
+ 'aquamarine' => _mk_rgb(127, 255, 212),
+ 'azure' => _mk_rgb(240, 255, 255),
+ 'beige' => _mk_rgb(245, 245, 220),
+ 'bisque' => _mk_rgb(255, 228, 196),
+ 'black' => _mk_rgb( 0, 0, 0),
+ 'blanchedalmond' => _mk_rgb(255, 235, 205),
+ 'blue' => _mk_rgb( 0, 0, 255),
+ 'blueviolet' => _mk_rgb(138, 43, 226),
+ 'brown' => _mk_rgb(165, 42, 42),
+ 'burlywood' => _mk_rgb(222, 184, 135),
+ 'cadetblue' => _mk_rgb( 95, 158, 160),
+ 'chartreuse' => _mk_rgb(127, 255, 0),
+ 'chocolate' => _mk_rgb(210, 105, 30),
+ 'coral' => _mk_rgb(255, 127, 80),
+ 'cornflowerblue' => _mk_rgb(100, 149, 237),
+ 'cornsilk' => _mk_rgb(255, 248, 220),
+ 'crimson' => _mk_rgb(220, 20, 60),
+ 'cyan' => _mk_rgb( 0, 255, 255),
+ 'darkblue' => _mk_rgb( 0, 0, 139),
+ 'darkcyan' => _mk_rgb( 0, 139, 139),
+ 'darkgoldenrod' => _mk_rgb(184, 134, 11),
+ 'darkgray' => _mk_rgb(169, 169, 169),
+ 'darkgreen' => _mk_rgb( 0, 100, 0),
+ 'darkgrey' => _mk_rgb(169, 169, 169),
+ 'darkkhaki' => _mk_rgb(189, 183, 107),
+ 'darkmagenta' => _mk_rgb(139, 0, 139),
+ 'darkolivegreen' => _mk_rgb( 85, 107, 47),
+ 'darkorange' => _mk_rgb(255, 140, 0),
+ 'darkorchid' => _mk_rgb(153, 50, 204),
+ 'darkred' => _mk_rgb(139, 0, 0),
+ 'darksalmon' => _mk_rgb(233, 150, 122),
+ 'darkseagreen' => _mk_rgb(143, 188, 143),
+ 'darkslateblue' => _mk_rgb( 72, 61, 139),
+ 'darkslategray' => _mk_rgb( 47, 79, 79),
+ 'darkslategrey' => _mk_rgb( 47, 79, 79),
+ 'darkturquoise' => _mk_rgb( 0, 206, 209),
+ 'darkviolet' => _mk_rgb(148, 0, 211),
+ 'deeppink' => _mk_rgb(255, 20, 147),
+ 'deepskyblue' => _mk_rgb( 0, 191, 255),
+ 'dimgray' => _mk_rgb(105, 105, 105),
+ 'dimgrey' => _mk_rgb(105, 105, 105),
+ 'dodgerblue' => _mk_rgb( 30, 144, 255),
+ 'firebrick' => _mk_rgb(178, 34, 34),
+ 'floralwhite' => _mk_rgb(255, 250, 240),
+ 'forestgreen' => _mk_rgb( 34, 139, 34),
'fuchsia' => 0xff00ff, # "fuscia" is incorrect but common
'fuscia' => 0xff00ff, # mis-spelling...
- 'gainsboro' => rgb(220, 220, 220),
- 'ghostwhite' => rgb(248, 248, 255),
- 'gold' => rgb(255, 215, 0),
- 'goldenrod' => rgb(218, 165, 32),
- 'gray' => rgb(128, 128, 128),
- 'grey' => rgb(128, 128, 128),
- 'green' => rgb( 0, 128, 0),
- 'greenyellow' => rgb(173, 255, 47),
- 'honeydew' => rgb(240, 255, 240),
- 'hotpink' => rgb(255, 105, 180),
- 'indianred' => rgb(205, 92, 92),
- 'indigo' => rgb( 75, 0, 130),
- 'ivory' => rgb(255, 255, 240),
- 'khaki' => rgb(240, 230, 140),
- 'lavender' => rgb(230, 230, 250),
- 'lavenderblush' => rgb(255, 240, 245),
- 'lawngreen' => rgb(124, 252, 0),
- 'lemonchiffon' => rgb(255, 250, 205),
- 'lightblue' => rgb(173, 216, 230),
- 'lightcoral' => rgb(240, 128, 128),
- 'lightcyan' => rgb(224, 255, 255),
- 'lightgoldenrodyellow' => rgb(250, 250, 210),
- 'lightgray' => rgb(211, 211, 211),
- 'lightgreen' => rgb(144, 238, 144),
- 'lightgrey' => rgb(211, 211, 211),
- 'lightpink' => rgb(255, 182, 193),
- 'lightsalmon' => rgb(255, 160, 122),
- 'lightseagreen' => rgb( 32, 178, 170),
- 'lightskyblue' => rgb(135, 206, 250),
- 'lightslategray' => rgb(119, 136, 153),
- 'lightslategrey' => rgb(119, 136, 153),
- 'lightsteelblue' => rgb(176, 196, 222),
- 'lightyellow' => rgb(255, 255, 224),
- 'lime' => rgb( 0, 255, 0),
- 'limegreen' => rgb( 50, 205, 50),
- 'linen' => rgb(250, 240, 230),
- 'magenta' => rgb(255, 0, 255),
- 'maroon' => rgb(128, 0, 0),
- 'mediumaquamarine' => rgb(102, 205, 170),
- 'mediumblue' => rgb( 0, 0, 205),
- 'mediumorchid' => rgb(186, 85, 211),
- 'mediumpurple' => rgb(147, 112, 219),
- 'mediumseagreen' => rgb( 60, 179, 113),
- 'mediumslateblue' => rgb(123, 104, 238),
- 'mediumspringgreen' => rgb( 0, 250, 154),
- 'mediumturquoise' => rgb( 72, 209, 204),
- 'mediumvioletred' => rgb(199, 21, 133),
- 'midnightblue' => rgb( 25, 25, 112),
- 'mintcream' => rgb(245, 255, 250),
- 'mistyrose' => rgb(255, 228, 225),
- 'moccasin' => rgb(255, 228, 181),
- 'navajowhite' => rgb(255, 222, 173),
- 'navy' => rgb( 0, 0, 128),
- 'oldlace' => rgb(253, 245, 230),
- 'olive' => rgb(128, 128, 0),
- 'olivedrab' => rgb(107, 142, 35),
- 'orange' => rgb(255, 165, 0),
- 'orangered' => rgb(255, 69, 0),
- 'orchid' => rgb(218, 112, 214),
- 'palegoldenrod' => rgb(238, 232, 170),
- 'palegreen' => rgb(152, 251, 152),
- 'paleturquoise' => rgb(175, 238, 238),
- 'palevioletred' => rgb(219, 112, 147),
- 'papayawhip' => rgb(255, 239, 213),
- 'peachpuff' => rgb(255, 218, 185),
- 'peru' => rgb(205, 133, 63),
- 'pink' => rgb(255, 192, 203),
- 'plum' => rgb(221, 160, 221),
- 'powderblue' => rgb(176, 224, 230),
- 'purple' => rgb(128, 0, 128),
- 'red' => rgb(255, 0, 0),
- 'rosybrown' => rgb(188, 143, 143),
- 'royalblue' => rgb( 65, 105, 225),
- 'saddlebrown' => rgb(139, 69, 19),
- 'salmon' => rgb(250, 128, 114),
- 'sandybrown' => rgb(244, 164, 96),
- 'seagreen' => rgb( 46, 139, 87),
- 'seashell' => rgb(255, 245, 238),
- 'sienna' => rgb(160, 82, 45),
- 'silver' => rgb(192, 192, 192),
- 'skyblue' => rgb(135, 206, 235),
- 'slateblue' => rgb(106, 90, 205),
- 'slategray' => rgb(112, 128, 144),
- 'slategrey' => rgb(112, 128, 144),
- 'snow' => rgb(255, 250, 250),
- 'springgreen' => rgb( 0, 255, 127),
- 'steelblue' => rgb( 70, 130, 180),
- 'tan' => rgb(210, 180, 140),
- 'teal' => rgb( 0, 128, 128),
- 'thistle' => rgb(216, 191, 216),
- 'tomato' => rgb(255, 99, 71),
- 'turquoise' => rgb( 64, 224, 208),
- 'violet' => rgb(238, 130, 238),
- 'wheat' => rgb(245, 222, 179),
- 'white' => rgb(255, 255, 255),
- 'whitesmoke' => rgb(245, 245, 245),
- 'yellow' => rgb(255, 255, 0),
- 'yellowgreen' => rgb(154, 205, 50),
+ 'gainsboro' => _mk_rgb(220, 220, 220),
+ 'ghostwhite' => _mk_rgb(248, 248, 255),
+ 'gold' => _mk_rgb(255, 215, 0),
+ 'goldenrod' => _mk_rgb(218, 165, 32),
+ 'gray' => _mk_rgb(128, 128, 128),
+ 'grey' => _mk_rgb(128, 128, 128),
+ 'green' => _mk_rgb( 0, 128, 0),
+ 'greenyellow' => _mk_rgb(173, 255, 47),
+ 'honeydew' => _mk_rgb(240, 255, 240),
+ 'hotpink' => _mk_rgb(255, 105, 180),
+ 'indianred' => _mk_rgb(205, 92, 92),
+ 'indigo' => _mk_rgb( 75, 0, 130),
+ 'ivory' => _mk_rgb(255, 255, 240),
+ 'khaki' => _mk_rgb(240, 230, 140),
+ 'lavender' => _mk_rgb(230, 230, 250),
+ 'lavenderblush' => _mk_rgb(255, 240, 245),
+ 'lawngreen' => _mk_rgb(124, 252, 0),
+ 'lemonchiffon' => _mk_rgb(255, 250, 205),
+ 'lightblue' => _mk_rgb(173, 216, 230),
+ 'lightcoral' => _mk_rgb(240, 128, 128),
+ 'lightcyan' => _mk_rgb(224, 255, 255),
+ 'lightgoldenrodyellow' => _mk_rgb(250, 250, 210),
+ 'lightgray' => _mk_rgb(211, 211, 211),
+ 'lightgreen' => _mk_rgb(144, 238, 144),
+ 'lightgrey' => _mk_rgb(211, 211, 211),
+ 'lightpink' => _mk_rgb(255, 182, 193),
+ 'lightsalmon' => _mk_rgb(255, 160, 122),
+ 'lightseagreen' => _mk_rgb( 32, 178, 170),
+ 'lightskyblue' => _mk_rgb(135, 206, 250),
+ 'lightslategray' => _mk_rgb(119, 136, 153),
+ 'lightslategrey' => _mk_rgb(119, 136, 153),
+ 'lightsteelblue' => _mk_rgb(176, 196, 222),
+ 'lightyellow' => _mk_rgb(255, 255, 224),
+ 'lime' => _mk_rgb( 0, 255, 0),
+ 'limegreen' => _mk_rgb( 50, 205, 50),
+ 'linen' => _mk_rgb(250, 240, 230),
+ 'magenta' => _mk_rgb(255, 0, 255),
+ 'maroon' => _mk_rgb(128, 0, 0),
+ 'mediumaquamarine' => _mk_rgb(102, 205, 170),
+ 'mediumblue' => _mk_rgb( 0, 0, 205),
+ 'mediumorchid' => _mk_rgb(186, 85, 211),
+ 'mediumpurple' => _mk_rgb(147, 112, 219),
+ 'mediumseagreen' => _mk_rgb( 60, 179, 113),
+ 'mediumslateblue' => _mk_rgb(123, 104, 238),
+ 'mediumspringgreen' => _mk_rgb( 0, 250, 154),
+ 'mediumturquoise' => _mk_rgb( 72, 209, 204),
+ 'mediumvioletred' => _mk_rgb(199, 21, 133),
+ 'midnightblue' => _mk_rgb( 25, 25, 112),
+ 'mintcream' => _mk_rgb(245, 255, 250),
+ 'mistyrose' => _mk_rgb(255, 228, 225),
+ 'moccasin' => _mk_rgb(255, 228, 181),
+ 'navajowhite' => _mk_rgb(255, 222, 173),
+ 'navy' => _mk_rgb( 0, 0, 128),
+ 'oldlace' => _mk_rgb(253, 245, 230),
+ 'olive' => _mk_rgb(128, 128, 0),
+ 'olivedrab' => _mk_rgb(107, 142, 35),
+ 'orange' => _mk_rgb(255, 165, 0),
+ 'orangered' => _mk_rgb(255, 69, 0),
+ 'orchid' => _mk_rgb(218, 112, 214),
+ 'palegoldenrod' => _mk_rgb(238, 232, 170),
+ 'palegreen' => _mk_rgb(152, 251, 152),
+ 'paleturquoise' => _mk_rgb(175, 238, 238),
+ 'palevioletred' => _mk_rgb(219, 112, 147),
+ 'papayawhip' => _mk_rgb(255, 239, 213),
+ 'peachpuff' => _mk_rgb(255, 218, 185),
+ 'peru' => _mk_rgb(205, 133, 63),
+ 'pink' => _mk_rgb(255, 192, 203),
+ 'plum' => _mk_rgb(221, 160, 221),
+ 'powderblue' => _mk_rgb(176, 224, 230),
+ 'purple' => _mk_rgb(128, 0, 128),
+ 'red' => _mk_rgb(255, 0, 0),
+ 'rosybrown' => _mk_rgb(188, 143, 143),
+ 'royalblue' => _mk_rgb( 65, 105, 225),
+ 'saddlebrown' => _mk_rgb(139, 69, 19),
+ 'salmon' => _mk_rgb(250, 128, 114),
+ 'sandybrown' => _mk_rgb(244, 164, 96),
+ 'seagreen' => _mk_rgb( 46, 139, 87),
+ 'seashell' => _mk_rgb(255, 245, 238),
+ 'sienna' => _mk_rgb(160, 82, 45),
+ 'silver' => _mk_rgb(192, 192, 192),
+ 'skyblue' => _mk_rgb(135, 206, 235),
+ 'slateblue' => _mk_rgb(106, 90, 205),
+ 'slategray' => _mk_rgb(112, 128, 144),
+ 'slategrey' => _mk_rgb(112, 128, 144),
+ 'snow' => _mk_rgb(255, 250, 250),
+ 'springgreen' => _mk_rgb( 0, 255, 127),
+ 'steelblue' => _mk_rgb( 70, 130, 180),
+ 'tan' => _mk_rgb(210, 180, 140),
+ 'teal' => _mk_rgb( 0, 128, 128),
+ 'thistle' => _mk_rgb(216, 191, 216),
+ 'tomato' => _mk_rgb(255, 99, 71),
+ 'turquoise' => _mk_rgb( 64, 224, 208),
+ 'violet' => _mk_rgb(238, 130, 238),
+ 'wheat' => _mk_rgb(245, 222, 179),
+ 'white' => _mk_rgb(255, 255, 255),
+ 'whitesmoke' => _mk_rgb(245, 245, 245),
+ 'yellow' => _mk_rgb(255, 255, 0),
+ 'yellowgreen' => _mk_rgb(154, 205, 50),
};
}
@@ -177,9 +177,23 @@
=head1 DESCRIPTION
-This module defines color names and their associated RGB values from
-various WWW specifications, such as SVG or CSS.
-
+This module defines color names and their associated RGB values from various
+WWW specifications, such as SVG or CSS as well as common browser
+implementations.
+
+See the documentation of L<Graphics::ColorNames> for information how to use
+this module.
+
+Currently, SVG and CSS define the same color keywords and include all color
+keywords supported by common web browsers. Therefore, the modules
+Graphics::ColorNames::WWW, L<Graphics::ColorNames::SVG> and
+L<Graphics::ColorNames::CSS> behave in identical ways.
+
+This may change if the specs should happen to diverge; then this module will
+become a superset of all color keywords defined by W3C's specs.
+
+It is recommended to use this module unless you require exact compatibility
+with the CSS and SVG specifications or specific browsers.
=head2 NOTE
@@ -187,11 +201,25 @@
specification. It also appears to be a common misspelling, so both names are
recognized.
+=head1 LIMITATIONS
+
+The C<transparent> keyword is unsupported. Currently, Graphics::ColorNames does
+not allow RGBA values.
+
+Further, the system color keywords are not assigned to a fixed RGB value and
+thus unsupported: C<ActiveBorder>, C<ActiveCaption>, C<AppWorkspace>,
+C<Background>, C<ButtonFace>, C<ButtonHighlight>, C<ButtonShadow>,
+C<ButtonText>, C<CaptionText>, C<GrayText>, C<Highlight>, C<HighlightText>,
+C<InactiveBorder>, C<InactiveCaption>, C<InactiveCaptionText>,
+C<InfoBackground>, C<InfoText>, C<Menu>, C<MenuText>, C<Scrollbar>,
+C<ThreeDDarkShadow>, C<ThreeDFace>, C<ThreeDHighlight>, C<ThreeDLightShadow>,
+C<ThreeDShadow>, C<Window>, C<WindowFrame>, C<WindowText> (these are deprecated
+in CSS3)
+
=head1 SEE ALSO
-C<Graphics::ColorNames>,
-SVG 1.2 Specificiation <http://www.w3.org/SVG/>,
-CSS Color Module Level 3 <http://www.w3.org/TR/css3-color>.
+L<Graphics::ColorNames::HTML>, L<Graphics::ColorNames::CSS>,
+L<Graphics::ColorNames::SVG>
=head1 AUTHOR
Modified: branches/upstream/libgraphics-colornames-www-perl/current/t/11pod_cover.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgraphics-colornames-www-perl/current/t/11pod_cover.t?rev=48990&op=diff
==============================================================================
--- branches/upstream/libgraphics-colornames-www-perl/current/t/11pod_cover.t (original)
+++ branches/upstream/libgraphics-colornames-www-perl/current/t/11pod_cover.t Sun Dec 20 00:18:32 2009
@@ -4,10 +4,11 @@
eval "use Test::Pod::Coverage;";
plan skip_all => "Test::Pod::Coverage required for testing POD coverage" if $@;
-plan tests => 2;
+plan tests => 4;
-pod_coverage_ok( 'Color::Calc', {
- trustme => [ qr/_(tuple|html|pdf|hex|obj|object)$/, qr/^color(_.+)?$/ ],
- }, 'Color::Calc is covered by POD' );
+my $trm = { 'trustme' => [ 'NamesRgbTable' ] }; # for use by base module
-pod_coverage_ok( 'Color::Calc::WWW', 'Color::Calc::WWW is covered by POD' );
+pod_coverage_ok( 'Graphics::ColorNames::WWW', $trm );
+pod_coverage_ok( 'Graphics::ColorNames::SVG', $trm );
+pod_coverage_ok( 'Graphics::ColorNames::IE', $trm );
+pod_coverage_ok( 'Graphics::ColorNames::CSS', $trm );
More information about the Pkg-perl-cvs-commits
mailing list