I don't think that Safari is based on the same rendering engie used in Firefox. Firefox uses the Gecko rendering engine, whereas Safari is based on Konqueror, the browser engine developed by KDE for Linux. A quick google confirms this.