[Jifty-commit] r4450 - in Template-Declare: lib/Template/Declare/TagSet t

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Nov 16 05:10:21 EST 2007


Author: agentz
Date: Fri Nov 16 05:10:11 2007
New Revision: 4450

Modified:
   Template-Declare/Changes
   Template-Declare/lib/Template/Declare/TagSet/HTML.pm
   Template-Declare/t/tagset_html.t

Log:
[TD] added the canvas tag to the HTML tag set

Modified: Template-Declare/Changes
==============================================================================
--- Template-Declare/Changes	(original)
+++ Template-Declare/Changes	Fri Nov 16 05:10:11 2007
@@ -1,5 +1,6 @@
-0.28 - 2007-XX-XX
+0.28 - XXX
 * Added the missing dependency Class::ISA to Makefile.PL
+* Added the "canvas" tag to the HTML tagset.
 
 0.27 - 2007-11-02
 * Added support for the RDF tag set (T::D::TagSet::RDF).

Modified: Template-Declare/lib/Template/Declare/TagSet/HTML.pm
==============================================================================
--- Template-Declare/lib/Template/Declare/TagSet/HTML.pm	(original)
+++ Template-Declare/lib/Template/Declare/TagSet/HTML.pm	Fri Nov 16 05:10:11 2007
@@ -23,7 +23,7 @@
         @CGI::EXPORT_TAGS{
                 qw/:html2 :html3 :html4 :netscape :form/
         };
-    return [ @tags, qw/form/ ];
+    return [ @tags, qw/form canvas/ ];
 }
 
 sub can_combine_empty_tags {

Modified: Template-Declare/t/tagset_html.t
==============================================================================
--- Template-Declare/t/tagset_html.t	(original)
+++ Template-Declare/t/tagset_html.t	Fri Nov 16 05:10:11 2007
@@ -16,6 +16,7 @@
     }
     img { attr { src => 'cat.gif' } }
     label {}
+    canvas { attr { id => 'foo' } }
 };
 
 package main;
@@ -40,5 +41,6 @@
 </table>
 <img src="cat.gif" />
 <label></label>
+<canvas id="foo"></canvas>
 _EOC_
 


More information about the Jifty-commit mailing list