You are using code that was written for the browsers current in 1998 or so.
I have no idea why you would want to use something so ancient, but in any case it's not surprising that Chrome, which didn't even appear until 10 years later, can't handle obsolete code like that.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.