From: Henri S. <hsi...@ik...> - 2010-09-02 08:03:56
|
Hi, I'm the developer of the HTML5 parser that's in Firefox 4. It has been brought to my attention that the targeting of table of contents links into the main content frame no longer works in Hyperlatex output browsed in Firefox when the HTML5 parser is in use. The frame targeting also doesn't work in IE8 or in the latest IE9 Platform Preview. The reason why the frame targeting no longer works is that Hyperlatex output puts <base target> inside <body>, but link navigation only considers <base target> as child of <head> (http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#following-hyperlinks) and the HTML5 parsing algorithm doesn't hoist <base> from inside <body> into <head> (like the HTML parser in previous versions of Firefox did). <base> handling also changed in IE after IE6 (so even if we changed the HTML5 spec and/or Firefox behavior Hyperlatex output would still be broken for many users). Putting <base> in <body> is invalid according to HTML5 and also according to previous (X)HTML specifications. It would be really nice if you could patch Hyperlatex to put <base> properly in <head>. -- Henri Sivonen hsi...@ik... http://hsivonen.iki.fi/ |