Comparison of layout engines (XHTML)
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.
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 |
|
|---|---|---|---|---|---|---|---|
|
|||||||
|
|||||||
|
|||||||
|
KHTML media type notes
application/xhtml+xmlâ KHTML supports this media type, but processes the document as HTML.application/xml, text/xmlâ HTML entities and custom entities defined by custom DTD are not recognized.
iCab media type notes
application/xhtml+xmlâ Type selector in CSS is matched case-insensitively.
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 |
|||||||
SVG |
|||||||
XForms |
|||||||
VoiceXML |
Gecko combined profile notes
XForms is supported experimentally in nightly builds dated after January 28 2005 1. Requires installation of an extension.
Presto combined profile notes
Since last nightly build, Opera comes with MathML support out-of-the-box. (2). This feature is expected to be publicly released with Opera 9.5.