Apple used the rendering engine from KDE (KHTML) to make Safari. Here is a mailing list post detailing the changes they made.