Strange IE7 Bug
February 9, 2007
Ok, so I was doing some work on my new blog and discovered a weird IE (and only IE) bug. After many hours of testing and re coding, it turned out to be something quite simple: a missing comment.
Now, comments should not be rendered, in fact, they should be discarded by the browser. Not in this case. If the comment is missing, IE fails to render the div correctly. Now, it doesn’t matter what is in the comment, just as long as it’s there.
Proof:
- Fixed bug-free version (Works in IE).
- Bugged Version (Only fails in IE).
If anyone can give me some insight as to why this happens let me know.