Project

General

Profile

Actions

Bug #20410

closed

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

Added by Patrick Broens over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-05-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

20090508_RFC_11058.diff (3.28 KB) 20090508_RFC_11058.diff Administrator Admin, 2009-05-08 22:11
Actions #1

Updated by Patrick Broens over 15 years ago

Committed to trunk, rev 5404.

Actions

Also available in: Atom PDF