Issue Bug Closed

#20410Validation issue: <input type="image"> can't have height and width attribute in typo3/alt_doc.php

Patrick Broens 05/08/09, 22:08 updated 08/06/10, 13:24

Description

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

(issue imported from #M11058)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.