[TYPO3-core] FYI24: #11058: Validation issue: <input type="image"> can't have height and width attribute in typo3/alt_doc.php

Patrick Broens patrick at netcreators.com
Fri May 8 22:13:55 CEST 2009


Hi,

this is a SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=11058

Branches: Trunk


Problem: typo3/alt_doc.php has some <input type="image"> where the width
and height attributes are declared. These attributes are illegal for
this kind of tag which leads to the following errors doing a validation:
* there is no attribute "width"
* there is no attribute "height"

Solution:
* Add a fourth variable, set to the value 1, to the call of
t3lib_iconWorks::skinImg, which makes the function only output the
source to the image
* Add the src attribute to the input tag

Notes:
I consider this a no-brainer, as it does not change any functionality,
only proper markup. Please object if you don't agree, otherwise this
patch will be committed after 24 hours.

Cheers,

Patrick
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20090508_RFC_11058.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090508/58e671d1/attachment-0001.txt 


More information about the TYPO3-team-core mailing list