Mozilla Mac developer Josh Aas has written a weblog post discussing some of the under-the-hood improvements specific to the Mac OS X version of Mozilla Firefox 3.
-Josh describes how Firefox 3 has largely switched from Apple’s legacy Carbon API (initially created to make it easier for developers to migrate OS 9 applications to OS X) to the more modern Cocoa. He also details how Firefox 3 delivers native-looking Aqua-style form controls in Web pages and explains how this actually has very little to do with the change to Cocoa.
Finally, Josh covers how graphics in Firefox 3 are drawn using Core Graphics (which encompasses the Quartz technologies) and ATSUI instead of the deprecated QuickDraw (which has been around in some form or another since the original Macintosh was launched in 1984). This change was achieved by replacing the Mac-specific graphics code with the cross-platform cairo library, which uses Core Graphics and ATSUI on OS X. Core Graphics can take advantage of hardware acceleration to improve performance.
All the changes Josh discusses were implemented in version 1.9 of the core Gecko rendering engine (rather than being specific to Firefox 3), so they will also find their way into other Mozilla-based applications, such as Mozilla Thunderbird (version 3.0 will be based on Gecko 1.9) and Camino (though Camino has used modern OS X technologies since its inception, it will benefit further from the upgrade to Gecko 1.9 in Camino 2.0).
You can read Josh’s ful post HERE
Via: MozillaZine