[TYPO3-core] RFC #16740: <img> Tags are rendered with border attribute in HTML5 mode

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon Jan 17 15:14:16 CET 2011


Sebastian Michaelsen schrieb am 15.01.2011 09:00:

> Thanks for bringing this up.
>> It seems that you have to check if either config.doctype or
>> config.xhtmlDoctype is set to an xhtml
>> keyword or html(_)5 (.. snip ..) to decide that the
>> border attribute is not rendered.
> 
> I think it's the following schema:
> 
> if config.doctype == html5
>     config.doctype = html5
>     config.xhtmlDoctype =
> 
> if config.doctype == xhtml_*
>     config.doctype = xhtml_*
>     config.xhtmlDoctype xhtml_*
> 
> if config.xhtmlDoctype == xhtml_*
>     config.doctype = (maybe some doctype content string)
>     config.xhtmlDoctype xhtml_*
> 
> Based on that v3 should work

+1 by reading and testing. Thanks!

Committed to trunk rev. 10101.

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list