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:
- Trident: Internet Explorer for Windows
- Tasman: Internet Explorer for Mac
- Gecko: Mozilla derivatives, including later Netscape releases and Mozilla Firefox
- WebCore: Safari (Mac OS X)
- KHTML: Konqueror
- Presto: Opera
- iCab: Macintosh Pre-Safari
[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
- application/xhtml+xml, application/xml, text/xml — HTML entities and custom entities defined by custom DTD are not recognized.
[edit] 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.
[edit] iCab media type notes
- 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
- SVG — The current Firefox 1.5 includes partial support for SVG.
- XForms — XForms is supported experimentally in nightly builds dated after January 28, 2005 [1]. Requires installation of an extension.
[edit] Webkit combined profile notes
- SVG — Experimental SVG support is available with the nightly builds.
[edit] Presto combined profile notes
- SVG — Complete SVG 1.1 Tiny support; large but incomplete support of SVG Basic present in Presto 9.0.
[edit] References
- W3C. XHTML media type test. Retrieved on May 1, 2005.
- the mozilla.org projects list. MathML in Mozilla. Retrieved on May 1, 2005.
- the mozilla.org projects list. Mozilla SVG project. Retrieved on May 1, 2005.
- the mozilla.org projects list. Mozilla XForms project. Retrieved on May 1, 2005.
- Opera Features. SVG. Retrieved on May 1, 2005.
- Developer's corner. Authoring XHTML+Voice. Retrieved on May 1, 2005.
[edit] See also
- Comparison of layout engines
- Comparison of layout engines (HTML)
- Comparison of layout engines (XML)
- Comparison of layout engines (graphics)
- Comparison of layout engines (CSS)
- Comparison of layout engines (DOM)