Comparison of layout engines (XHTML)

From Wikipedia, the free encyclopedia

The following tables compare XHTML compatibility and support for a number of layout engines. Please see the individual products' articles for further information. This article is not all-inclusive or necessarily up-to-date. Unless otherwise specified in footnotes, comparisons are based on the stable versions without any add-ons, extensions or external programs.

Only XHTML 1.1 is considered. XHTML 1.1 is necessarily XHTML 1.0 Strict with more elements and attributes deprecated. XHTML 2.0 is still a working draft with no layout engine support. XHTML 1.0 and HTML 4 (both served with text/html) are covered in comparison of layout engines (HTML). The comparison of XML capabilities are covered in comparison of layout engines (XML).

Version number, if possible, is provided for feature that is fully supported. Proprietary extensions are not included.

Contents

[edit] Browser Products

The layout engines listed in the following tables correspond to well-known browser products as follows:

[edit] Media types

The responses when a well-formatted XHTML document is served with different media types. Note that only application/xhtml+xml is the recommended media type.

Trident Tasman Gecko WebCore KHTML Presto iCab
application/xhtml+xml Prompt for download Prompt for download XHTML XML HTML XHTML (X)HTML
application/xml XML Crash XHTML XML XML XHTML Text
text/xml XML Crash XHTML XML XML XHTML Text
text/html HTML HTML HTML HTML HTML HTML HTML

[edit] WebCore media type notes

  1. application/xhtml+xml, application/xml, text/xml — HTML entities and custom entities defined by custom DTD are not recognized.

[edit] KHTML media type notes

  1. application/xhtml+xml — KHTML supports this media type, but processes the document as HTML.
  2. application/xml, text/xml — HTML entities and custom entities defined by custom DTD are not recognized.

[edit] iCab media type notes

  1. application/xhtml+xml — Type selector in CSS is matched case-insensitively.

[edit] Combined profiles

Extending XHTML by combining with other applications of XML (not referring using img/object element).

Trident Tasman Gecko WebCore KHTML Presto iCab
MathML No No 1.0 No No No No
SVG No No 1.8 Nightly No 8.0 No
XForms No No Nightly No No No No
VoiceXML No No No No No 8.0 No

[edit] Gecko combined profile notes

  1. SVG — The current Firefox 1.5 includes partial support for SVG.
  2. XForms — XForms is supported experimentally in nightly builds dated after January 28, 2005 [1]. Requires installation of an extension.

[edit] Webkit combined profile notes

  1. SVG — Experimental SVG support is available with the nightly builds.

[edit] Presto combined profile notes

  1. SVG — Complete SVG 1.1 Tiny support; large but incomplete support of SVG Basic present in Presto 9.0.

[edit] References

[edit] See also