During the last days I've been searching for a critical bug in khtmld. I need to completly rewrite this function. After dozen of modifications the code of this function got a bit confusing. While waiting for an update, watch Binky.