[TYPO3-core] RFC #16740: <img> Tags are rendered with border attribute in HTML5 mode
Sebastian Michaelsen
sebastian.gebhard at gmail.com
Fri Jan 14 12:01:41 CET 2011
This is an SVN patch request.
Type: Bug
Bugtracker references: http://bugs.typo3.org/view.php?id=16740
Branches: trunk
Problem: The HTML5 specification marked the border attribute for the <img> tag as obsolete, so it
should not be used anymore. But by default TYPO3 uses this attribute when rendering an HTML5 page.
Solution: On XHTML Strict and others the border attribute is already ommitted, expand that behaviour
to HTML5.
How to test:
* config.doctype = html_5
* Output an image on your website, e.g. with an Image Content Object
* Check if it has a border attribute
Kind regards,
Sebastian Michaelsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16740_v1.diff
Type: text/x-diff
Size: 1141 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110114/c9e8ce98/attachment.diff>
More information about the TYPO3-team-core
mailing list