Way back in 1998 Apple contributed several patches to KHTML (KDE's browser). I think in 2001 Apple forked KHTML to become WebKit. WebKit is LGPLv2.1[1] and Apple dedicates the second-most[2] number of developers to its development, second only to Google.