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

Dan Osipov dosipov at phillyburbs.com
Sun Jun 27 03:25:50 CEST 2010


Committed to trunk & 1.1
Revisions 34964 and 34965

On 3/22/10 8:55 AM, 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.

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


More information about the TYPO3-team-dam mailing list