I was wondering, does anyone know why the html5shiv has not been included somewhere?
Without it there is no support for html5 elements like <section, <article, <nav, <header, etc.
I was about to start updating markup in core views to use these elements (so we actually generate html5 rather than just change the doctype) but without the shiv IE8 will go in a corner and cry.
It's included in Bootstrap for this very reason; https://github.com/twitter/bootstrap/blob/master/docs/index.html#L16
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/8ppMrBDxz10J.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
Agreed! At a minimum, html5shiv should be included. Frankly, I see no reason to even use the HTML5 doctype if we aren't going to use the new elements. The problem is we do need a polyfill before we can do this.
Best,
Matt
Sent from my phone that uses an open source operating system.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/f523dnjUKQkJ.
JHtml::_('behavior.html5shiv');
Best,To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/Y1tB-3w4MSYJ.
Agreed. If you have disabled javascript you have broken Joomla anyway.
If it only breaks on IE8 with .js disabled I see that as perfectly acceptable.
For those that critically need to support IE8 with JavaScript disabled, they can create template overrides to remove the newer HTML5 elements. Since those browsers are likely to be the vast minority, I see this as being a better solution than holding back the CMS and forcing us to continue to override the entire core so that we can use current technology.
I've been using html5shiv(m) with Construct5 since its inception and haven't received a single complaint or bug report due to JS being disabled.
Best,
Matt Thomas
Founder betweenbrain™
Lead Developer Construct Template Development Framework
Phone: 203.632.9322
Twitter: @betweenbrain
Github: https://github.com/betweenbrain
Composed and delivered courtesy of Nexus 7.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/UUHdRr1R_JUJ.
I too support the idea of having semantic HTML5 included to core and I see Matt's idea the best one...I is the next step to get this going?
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/cg6CWu09xN4J.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/XM_0N6Asxs4J.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
-- Sincerely, Brad Gies ----------------------------------------------
employees working on WinXP + IE6."
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
