Author:
iwyg
Version:
1
Released:
18 May 2011
Category:
Other

Description

msiehtml5

The only way to get older version of Internet Explorer to render html5 tags without any javascript shiv script is to put these tags in their own namespace.

This extension sniffes for IE older than 9, post-processes the output markup and replaces all html5 tags with <html5:tagname></html5:tagname>.

Don't forget to escape tag declarations in you css stylesheet, e.g. "html\:header"

I have tested this in combination with the html5_doctype extension (it's actually just a slight modified version of it), and in my case, it worked quite well, but I think page caching will be a problem.

Note that, depending on the size of the document, it may have noticeable impact on the page performance.

Repository

https://github.com/iwyg/msiehtml5/

Discuss this Extension

Compatibility

2.7.10 Unsure
2.7.9 Unsure
2.7.8 Unsure
2.7.7 Unsure
2.7.6 Unsure
2.7.5 Unsure
2.7.4 Unsure
2.7.3 Unsure
2.7.2 Unsure
2.7.1 Unsure
2.7.0 Unsure
2.6.11 Unsure
2.6.10 Unsure
2.6.9 Unsure
2.6.8 Unsure
2.6.7 Unsure
2.6.6 Unsure
2.6.5 Unsure
2.6.4 Unsure
2.5.4 Unsure

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details