Sunday, January 12, 2014

KHTML



History

[edit]Origins

KHTML was preceded by an earlier engine called khtmlw or the KDE HTML Widget, developed by Torben Weis and Martin Jones,[1] which implemented support for HTML 3.2, HTTP1.0, and HTML frames, but not the W3C DOM, CSS, or scripting.

KHTML came into existence on November 4, 1998,[2] as a copy of the khtmlw library, with some slight refactoring and the addition of Unicode support and changes to support the move to Qt 2. Waldo Bastian[3] was among those who did the work of creating that early version of KHTML.[4]

[edit]Re-write and improvement

The real work on KHTML actually started between May and October 1999, with the realization that the choice facing the project was "either do a significant effort to move KHTML forward or to use Mozilla"[5] and with adding support for scripting as the highest priority. So in May 1999, Lars Knoll[6] began doing research with an eye toward implementing theW3C DOM specification, finally announcing[7] on August 16, 1999 that he had checked in[8] what amounted to a complete rewrite of the KHTML library — changing KHTML to use the standard W3C DOM as its internal document representation. That in turn allowed the beginnings of JavaScript support to be added in October 1999,[9] with the integration ofHarri Porten's KJS following shortly afterward.

In the closing months of 1999 and first few months of 2000, Knoll did further work[10] with Antti Koivisto[11] and Dirk Mueller[12] to add CSS support and to refine and stabilize the KHTML architecture,[13] with most of that work being completed by March 2000. Among other things, those changes enabled KHTML to become the second browser after Internet Explorer to correctly support Hebrew and Arabic and languages written right-to-left[14] — before Mozilla had such support.

KDE 2.0 was the first KDE release (on October 23, 2000) to include KHTML[15] (as the rendering engine of the new Konqueror file and web browser, which replaced the monolithic KDE File Manager).

[edit]Other modules

KSVG was first developed in 2001 by Nikolas Zimmermann and Rob Buis; however, by 2003, it was decided to fork the then-current KSVG implementation into two new projects:KDOM/KSVG2 (to improve the state of DOM rendering in KHTML underneath a more formidable SVG 1.0 render state) and Kcanvas (to abstract any rendering done within khtml/ksvg2 in a single shared library, with multiple backends for it, e.g., Cairo/Qt, etc.).[16]

KSVG2 is also a part of WebKit.[17]


No comments:

Post a Comment