排版引擎比較 (XHTML 1.1)

本頁使用了標題或全文手工轉換
本頁使用了標題或全文手工轉換
維基百科,自由的百科全書

下表比較了XHTML 1.1對一些排版引擎的支持與兼容性。

XHTML 1.1主要是對XHTML 1.0的模塊化,其由20個元素模塊(其中7個是子模塊)組成, 包括額外的旁註模塊與兩個屬性模塊(服務器端圖像映射模塊和內部事件模塊)。

表格說明[編輯]

引擎命名[編輯]

這裡使用後端的引擎名而不是瀏覽器的名稱。使用各瀏覽器引擎的瀏覽器如下表所示。

排版引擎 發行版本 預覽版本 使用
Amaya 11.4.7[1] 不適用 停止開發;Amaya
Blink 537.36 源代碼[注 1] Chromium/Chrome(28+)、Opera(15+)、YandexMicrosoft Edge(新版)
EdgeHTML 13.10586 [2] 不適用 Microsoft Edge(舊版)、通用Windows平台 (UWP)JavaScript應用
Gecko
標準版77.0.1(2018年8月8日,​5年前​(2018-08-08[3]
延長支持版(ESR)68.9.0(2018年6月26日,​5年前​(2018-06-26[4]


Beta及開發者版127.0b4[5]在維基數據編輯(2024年5月20日)
Nightly128.0a1[6]在維基數據編輯(2024年5月13日)
所有Mozilla軟件,包括FirefoxSeaMonkeyGaleonCaminoK-MeleonFlock(至2.x版本);Debian IceWeaselGNU IceCat(前身為GNU IceWeasel);CyberfoxIcedoveIceapeIceowlFirefox for mobile("Fennec")
KHTML 4.12.3[7] 不適用 Konqueror[注 2]
Presto 2.12.388 不適用 停止開發;OperaOpera Mobile現在使用Blink;任天堂DS & DSi瀏覽器Internet Channel
Tasman (Mac版IE 5.2.3) 不適用 2003年停止開發;Mac OS XInternet Explorer 5以上
Trident 7.0(IE 11) 不適用 Internet Explorer與其他Internet Explorer shellMaxthon(僅限Microsoft Windows操作系統)、Windows Phone 8
WebKit 534.20 每日構建[注 3] Tizen(OS與瀏覽器)、Safari(桌面與移動版)、Google Chrome(28版本之前)、Maxthon 3Shiira, iCab 4OmniWeb 5.5+、WebAdobe AIRMidori, Adobe Dreamweaver CS4CS5Android瀏覽器、Palm webOS瀏覽器、Symbian S60瀏覽器、OWB英語Origyn Web BrowserSteamRekonqAroraFlock (版本3以上)、RockMelt海豚瀏覽器SleipnirKonqueror[注 2]
  1. ^ chromium / chromium/blink. chromium.googlesource.com. Google. [2014-05-27]. 
  2. ^ 2.0 2.1 在Konqueror中,用戶可以切換排版引擎。
  3. ^ WebKit Nightly Builds. webkit.org. [2014-05-27]. 


取值[編輯]

以下各格的顏色表示該排版引擎的最新版本或指定版本(如果給出版本號的話)對該功能的支援程度。沒有取值的版本號表示該排版引擎首次完全支援該功能。

取值 含義
表示該排版引擎完全地支援該功能或元素。
表示該功能或元素尚未有支援。
部份 表示該功能或元素有實作進展,但並不支援所有取值,對於已支援的取值,該實作是正確的。
不正確 表示該功能或元素有實作進展,但是實作並非在所有情況都是正確無誤的。
實驗性質 表示該功能或元素有實作進展,但是使用另外的屬性或元素名(瀏覽器前輟)。多半是不完全實作或是有過多的漏洞
拋棄 表示該屬性/元素不再受到支持。
每日構建 表示該功能或元素在未釋出的版本有某種程度的支援。預期將有完整支援。
依情況 表示該屬性/元素僅在某些平台支持或設定在某些配置後支持。

元素[編輯]

核心模塊[編輯]

結構模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
body <3.1[IE 1.0]

[8]

head
html <3.1[IE 1.0]

[9]

title <3.1[IE 1.0]

[10]

文本模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
abbr
acronym <3.1[IE 4.0]

[11]

address <3.1[IE 1.0]

[11]

blockquote
br <3.1[IE 1.0]

[12]

cite <3.1[IE 1.0]

[11]

code
dfn
div <3.1[IE 3.0]

[13]

em <3.1[IE 1.0]

[11]

h1
h2
h3
h4
h5
h6
kbd
p <3.1[IE 1.0]

[12]

pre <3.1[IE 1.0]

[11]

q <3.1[IE 4.0]

[11]

samp <3.1[IE 1.0]

[11]

span <3.1[IE 3.0]

[13]

strong <3.1[IE 1.0]

[11]

var

超文本模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
a <3.1[IE 1.0]

[12]

列表模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
dl <3.1[IE 1]

[14]

dt
dd
ol
ul
li

文本擴展模塊[編輯]

表現模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
b <3.1[IE 1]

[13]

big <3.1[IE 3]

[13]

hr <3.1[IE 1]

[15]

i <3.1[IE 1]

[13]

small <3.1[IE 3]

[13]

sub
sup
tt

編輯模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
del
ins

雙向文本模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
bdo <3.1[IE 5.0]

[13]

? 部份 ?

表單模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
form
input
select
option
textarea
button
fieldset
label
legend
optgroup

表格模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
caption
table
td
th
tr
col ?
colgroup
tbody
thead
tfoot ?

圖片模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
img <3.1[IE 1.0]

[15]

客戶端圖像映射模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
area <3.1[IE 1.0]

[15]

map

對象模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
object <3.1[IE 3.0]

[15]

param

元信息模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
meta <3.1[IE 2.0]

[10]

腳本模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
script <3.1[IE 3.0]

[9]

noscript <3.1[IE 3.0]

[9]

樣式表模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
style <3.1[IE 3.0]

[9][注 1]

鏈接模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
link <3.1[IE 3.0]

[10]

基本模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
base <3.1[IE 1.0]

[10]

旁註模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
ruby
rbc
rtc
rb
rt
rp

屬性[編輯]

核心[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
class
id
title

國際化[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
dir
xml:lang ? ? ? ? ? ? ?

事件[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
Mouse
onclick ? ? ? ? ? ? ?
ondblclick
onmousedown
onmouseup
onmouseover
onmousemove
onmouseout
Keyboard
onkeypress ? ? ? ? ? ? ?
onkeydown
onkeyup

服務器端圖像映射模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
ismap ? ? ? ? ? ? ?

內部事件模塊[編輯]

Trident Tasman Gecko WebKit KHTML Presto iCab
Structure Module
onload ? ? ? ? ? ? ?
onunload
Forms Module
onchange ? ? ? ? ? ? ?
onblur
onfocus
onreset
onselect
onsubmit

注釋[編輯]

  1. ^ 前31個style標籤後的所有style標籤不再適用。
    前4095個規則後所有規則不再適用。[16]

參考來源[編輯]

  1. ^ Amaya Binary Releases, Most recent download link in stable
  2. ^ Change log between EdgeHTML 12.10240 and 13.10586
  3. ^ Firefox 77.0.1, See All New Features, Updates and Fixes. mozilla.org. Mozilla基金會. 2020-06-03. 
  4. ^ Firefox ESR 68.9.0, See All New Features, Updates and Fixes. mozilla.org. Mozilla基金會. 2020-06-02. 
  5. ^ Index of /pub/firefox/releases/127.0b4/. 2024年5月20日 [2024年5月20日] (英語). 
  6. ^ Firefox Nightly 128.0a1, See All New Features, Updates and Fixes. 2024年5月13日 [2024年5月14日] (英語). 
  7. ^ Download for kdelibs, Most recent download link in stable
  8. ^ Document structure. webref.info. [29 May 2011]. (原始內容存檔於2020-08-01). 
  9. ^ 9.0 9.1 9.2 9.3 Language declarations. webref.info. [29 May 2011]. (原始內容存檔於2020-08-01). 
  10. ^ 10.0 10.1 10.2 10.3 Document properties. webref.info. [29 May 2011]. (原始內容存檔於2020-08-01). 
  11. ^ 11.0 11.1 11.2 11.3 11.4 11.5 11.6 11.7 Document layout. webref.info. [29 May 2011]. (原始內容存檔於2020-08-01). 
  12. ^ 12.0 12.1 12.2 Document layout. webref.info. [29 May 2011]. (原始內容存檔於2020-08-01). 
  13. ^ 13.0 13.1 13.2 13.3 13.4 13.5 13.6 Physical text formatting. webref.info. [29 May 2011]. (原始內容存檔於2020-07-31). 
  14. ^ Lists. webref.info. [29 May 2011]. (原始內容存檔於2020-08-01). 
  15. ^ 15.0 15.1 15.2 15.3 Images and objects. webref.info. [29 May 2011]. (原始內容存檔於2020-08-01). 
  16. ^ A webpage that uses CSS styles does not render correctly in Internet Explorer. Microsoft Support. Microsoft. 10 February 2011 [29 May 2011]. (原始內容存檔於2015-03-02).