[TYPO3-dam-devel] RFC #13884: Cleanup: Duplicate title attribute in img tag in element browser

Dan Osipov dosipov at phillyburbs.com
Sun Apr 4 14:21:24 CEST 2010


+1 by reading.

Dan Osipov
http://danosipov.com/blog/

Chris Müller wrote:
> This is an SVN patch request.
> 
> Type: Cleanup
> 
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=13884
> 
> Branches:
> 1.1 and trunk
> 
> Problem:
> Validating the html code of the element browser throws errors. One error 
> is a duplicate title attribute in the image tag of the media types in 
> the tree view.
> 
> Solution:
> To get a more valid code the duplicate title attribute is removed from 
> the image tag. The second title attribute is inserted by the wrapIcon() 
> method, so it shouldn't be set in the getIcon() method.
> 
> Note:
> The method getIcon() is also made CGL compliant.
> 
> Regards,
> Chris.
> 


More information about the TYPO3-team-dam mailing list