[Html-widget] Re: "name" attribute not set by HTML::Widget::Element::Span::containerize()

Adam Sjøgren asjo at koldfront.dk
Mon Mar 26 16:57:57 GMT 2007


On Mon, 26 Mar 2007 16:48:43 +0100, Will wrote:

> As above - most (if not all) of the other ::Element::* classes set the
> element name in their containerize() method. Span doesn't.

> My guess is that it's an oversight, because it's often useful to be
> able to access an element's name within a template.

Could it be because the HTML-standard does not allow span-elements to
have a name-attribute?

 <http://www.w3.org/TR/html4/struct/global.html#edef-SPAN>


  Best regards,

     Adam

-- 
 "I'm not sure it never causes any harm to all users."        Adam Sjøgren
                                                         asjo at koldfront.dk



More information about the Html-widget mailing list