HTML5 conformance and documentation fixes