I think it's worth noting that WebKit itself is based on KDE's KHTML library. Apple didn't develop WebKit so much as decided to use KHTML over Gecko.
Both the Gecko and KHTML projects were started around the same time.
Both the Gecko and KHTML projects were started around the same time.