Note: If the page is using HTML5, the latest version of html5.js should be running on it (some earlier versions were not did not include
hgroup), otherwise the results are quite unpredictable and you may see some JS errors.
In the foreseeable future, it is unlikely that IE support of H5O will be improved - for reasons please visit ProblemsWithInternetExplorer wiki page.
/** * This code contains an implementation of HTML5 outlining algorithm, as described by WHATWG at  * * The copyright notice at  says: * (c) Copyright 2004-2009 Apple Computer, Inc., Mozilla Foundation, and Opera Software ASA. * You are granted a license to use, reproduce and create derivative works of this document. * *  http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#outlines *  http://www.whatwg.org/specs/web-apps/current-work/multipage/index.html */