Fixed #17552 -- Removed a hack for IE6 and earlier.

Thanks Aaron Cannon for the report.
I also removed the failing test (well done, pull request testing!)