[TYPO3-core] RFC: #11503: HTML5 doctype implementation

Benjamin Mack benni at typo3.org
Sat May 22 16:07:49 CEST 2010


Hey Steffen,

for FE this would work as well, right?

config.doctype = <!DOCTYPE html>
config.xmlprologue = none

so it *is* possible for current versions of TYPO3...

All the best,
Benni.

On 22.05.10 15:35, Steffen Kamper wrote:
> Hi,
>
> i made a new patch to enable HTML5 rendering.
>
> FE: the easy part. Only the doctype has to be defined.
> tested with:
> config.doctype = html_5
> config.xmlprologue = none
>
> BE: doctype defined, supressed xml prolog for HTML5.
> Also i added a var to supress the X-UA compatible meta tag - it doesn't
> validate in HTML5.
>
> I got valid HTML5 source for my test module, except the docheader
> buttons: the input type="image" has invalid attributes. But the rest is
> ok and can be done from be module itself.
>
> tested with:
> $this->doc->docType = 'html_5';
> $this->doc->noCompatibleTag = TRUE;
>
> A small addition was done to the xUaCompatible function that now allows
> also to return different compatible tags.
>
> vg Steffen



More information about the TYPO3-team-core mailing list