This post originated from an RSS feed registered with Ruby Buzz
by Jared Richardson.
Original Post: Fun bug in FireFox
Feed Title: 6th Sense Analytics
Feed URL: http://www.6thsenseanalytics.com/?feed=rss
Feed Description: The 6th Sense Analytics corporate blog
This took me several days to dig out, so I thought I'd blog it and maybe save someone else the research time we lost.
FireFox truncates your HTML to 4,906 characters when you're creating HTML elements (createElement). So when you're developing, it looks like you're seeing random HTML weirdness. By the time you've got 4k of data, it's pretty complicated page. Large tables with many fields, divs, CSS, and all that good stuff, so the truncation looked pretty random to us.
I found a fix for it Prototype, which we were already using. It's also been addressed in Rails (Changeset 5568).
We encountered the bug in FireFox 1 and 2, so it might not being going anywhere...