Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Difference between IE (and Moz) and Opera innerHTML

1 view
Skip to first unread message

Lasse Reichstein Nielsen

unread,
Jan 21, 2003, 10:58:48 AM1/21/03
to

This page <URL:http://www.sovavsiti.cz/css/abbr.html> contains a hack
to make IE look like it understands the abbr-tag (don't know which
versions need it).

It works on body.innerHTML by replacing <abbr>...</abbr> with
<abbr><span ...>...</span></abbr>. However, in O7, it also manages
to match the construction &lt;abbr&gt;. It appears innerHTML
returns &lt; and &gt; as < and >.

Try adding
onload="document.body.innerHTML=document.body.innerHTML;"
to a page containing
&lt;tagname&gt;

It differs from the "reference implementation" (i.e., IE). Bug?

/L
--
Lasse Reichstein Nielsen - l...@hotpop.com
'Faith without judgement merely degrades the spirit divine.'

0 new messages