排版引擎比较 (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及开发者版126.0b7[5]在维基数据编辑(2024年4月29日)
Nightly127.0a1[6]在维基数据编辑(2024年4月15日)
所有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/126.0b7/. 2024年4月29日 [2024年4月30日] (英語). 
  6. ^ Firefox Nightly 127.0a1, See All New Features, Updates and Fixes. 2024年4月15日 [2024年4月16日] (英語). 
  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).