KHTML

From Wikipedia, the free encyclopedia

KHTML

Konqueror using KHTML to render the Wikipedia front page.
Developer: KDE project
OS: Linux/Unix
Use: Layout engine
License: LGPL
Website: khtml.info

KHTML is the HTML layout engine developed by the KDE project.

Contents

Built on the then new KPart framework, it was introduced with KDE2 in 2000, for use in the new Konqueror file and web browser which replaced the monolithic KDE File Manager. Written in C++ and licensed under the LGPL, it supports most of the standards related to web browsing. To render as many pages as possible, some extra abilities and quirks from Internet Explorer are supported, even though they are not part of the HTML standard definition.

KHTML is faster than the Gecko layout engine, its main open source rival and core of the Mozilla and Mozilla Firefox browsers, among others. However, being a less widely known browser, many websites fail to support it or claim no support even if the site does work. Gmail and Facebook, for instance, only work if Konqueror reports itself as Firefox (See UA Spoofing).

The engine was adopted by Apple in 2002 for its Safari web browser. Apple publishes the source code for up to date and all previous versions of their version of the KHTML engine, called WebCore and WebKit, as required by the LGPL. The exchange of code patches between the two branches of KHTML has diverged because the projects have increasingly different approaches. [1]

Contributing to the separation, Apple had not complied with parts of the Open Source philosophy. Examples include Apple working on their version of KHTML for a year before making their fork public, and Apple sometimes submitting their changes in large patches that incorporate a great number of changes, in some cases leaving code to do with future feature additions undocumented. The former example made it difficult for the KDE developers to incorporate the changes. Regardless, the KDE project was able to incorporate some of these changes to improve KHTML's rendering speed and add features, including compliance with the Acid2 rendering test.

According to Apple, some changes involved Mac OS X-specific features (e.g. Objective-C, KWQ, OS X calls) which are absent in KDE's KHTML, which called for different development tactics. [2]

Apple has since released changes of the sourcecode of its KHTML fork in a CVS repository. [3] Since the divesture of the sourcecode into the CVS repository, Apple and KHTML developers have had increasing collaboration. Many of the top KHTML developers have become reviewers and submitters for Apple's WebKit SVN repository. Because the WebKit and KHTML source differ so greatly at this date, some key KHTML developers are looking to backport the WebKit source to KDE through a project codenamed 'Unity' [4].

The following standards are supported by the KHTML engine:

  • KDE Konqueror - web browser and file manager for KDE
  • KMail - uses KHTML for viewing HTML-formatted email
  • KHelpCenter - documentation viewer for KDE
  • Akregator - uses KHTML to display full articles without opening a separate web browser
  • Amarok - uses KHTML to display information about currently playing file

  • Safari - Apple's web browser
  • Shiira, an open source browser for Mac OS X based on WebKit with more features than Safari
  • OmniWeb 5 - The Omni Group browser for Mac OS X

Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.