排版引擎比较(HTML5画布):修订间差异

求闻百科,共笔求闻
添加的内容 删除的内容
(机器人:替换{{reflist}}等模板参数、替换裸露的<references />)
(机器人:清理不当的来源、移除无用的模板参数)
 
第21行: 第21行:
|-
|-
! style="text-align: left;" | <code>toDataURL</code>
! style="text-align: left;" | <code>toDataURL</code>
| {{yes|1.8}}<ref group="g">{{Cite web |url=https://developer.mozilla.org/en/HTML/Element/canvas |title=存档副本 |access-date=2016-02-06 |||}}</ref>
| {{yes|1.8}}<ref group="g">{{Cite web |url=https://developer.mozilla.org/en/HTML/Element/canvas |title=存档副本 |access-date=2016-02-06 }}</ref>
| {{yes}}<ref group="w">{{citation |url=http://developer.apple.com/safari/library/documentation/appleapplications/conceptual/SafariJSProgTopics/Tasks/Canvas.html |title=WebKit DOM Programming Topics: Using the Canvas |accessdate=2016-02-06 |||}}</ref>
| {{yes}}<ref group="w">{{citation |url=http://developer.apple.com/safari/library/documentation/appleapplications/conceptual/SafariJSProgTopics/Tasks/Canvas.html |title=WebKit DOM Programming Topics: Using the Canvas |accessdate=2016-02-06 }}</ref>
| {{yes|2.1}}<ref group="注">Presto 2.0部分支持此属性。</ref>
| {{yes|2.1}}<ref group="注">Presto 2.0部分支持此属性。</ref>
|}
|}
第42行: 第42行:
|-
|-
! style="text-align: left;" | [[WebGL]]
! style="text-align: left;" | [[WebGL]]
| {{yes|7.0}}<ref group="t">{{cite web |url=http://blogs.msdn.com/b/ie/archive/2013/06/26/introducing-ie11-the-best-way-to-experience-the-web-on-modern-touch-devices.aspx |title=Introducing IE11: The Best Way to Experience the Web on Modern Touch Devices |publisher=Microsoft |accessdate=8 November 2013 |||}}</ref>
| {{yes|7.0}}<ref group="t">{{cite web |url=http://blogs.msdn.com/b/ie/archive/2013/06/26/introducing-ie11-the-best-way-to-experience-the-web-on-modern-touch-devices.aspx |title=Introducing IE11: The Best Way to Experience the Web on Modern Touch Devices |publisher=Microsoft |accessdate=8 November 2013 }}</ref>
| {{depends}}<ref group="g">{{citation |url=https://developer.mozilla.org/en/WebGL |title=WebGL - MDC |publisher=Mozilla |accessdate=2016-02-06 |||}}</ref>
| {{depends}}<ref group="g">{{citation |url=https://developer.mozilla.org/en/WebGL |title=WebGL - MDC |publisher=Mozilla |accessdate=2016-02-06 }}</ref>
| {{depends}}<ref group="w">{{citation |url=http://webkit.org/blog/603/webgl-now-available-in-webkit-nightlies/ |title=WebGL Now Available in WebKit Nightlies |publisher=Surfin' Safari |first=Chris |last=Marrin |date=2009-10-19 |accessdate=2016-02-06 |||}}</ref>
| {{depends}}<ref group="w">{{citation |url=http://webkit.org/blog/603/webgl-now-available-in-webkit-nightlies/ |title=WebGL Now Available in WebKit Nightlies |publisher=Surfin' Safari |first=Chris |last=Marrin |date=2009-10-19 |accessdate=2016-02-06 }}</ref>
| 2.9.220<ref group="p">{{citation |url=http://my.opera.com/desktopteam/blog/2011/10/13/introducing-opera-12-alpha |title=Opera Desktop Team Blog |accessdate=2016-02-06 |||}}</ref>
| 2.9.220<ref group="p">{{citation |url=http://my.opera.com/desktopteam/blog/2011/10/13/introducing-opera-12-alpha |title=Opera Desktop Team Blog |accessdate=2016-02-06 }}</ref>
|}
|}


第54行: 第54行:
! |
! |
! style="width: 18%;" | [[Trident (排版引擎)|Trident]]<ref group="t">{{citation |url=http://ie.microsoft.com/testdrive/info/ReleaseNotes/Default.html#WhatsNew |title=Internet Explorer Platform Preview Release Notes ||||df= }}</ref>
! style="width: 18%;" | [[Trident (排版引擎)|Trident]]<ref group="t">{{citation |url=http://ie.microsoft.com/testdrive/info/ReleaseNotes/Default.html#WhatsNew |title=Internet Explorer Platform Preview Release Notes ||||df= }}</ref>
! style="width: 18%;" | [[Gecko (layout engine)|Gecko]]<ref group="g">{{citation |url=https://developer.mozilla.org/en/Canvas_tutorial |title=Canvas tutorial - MDC |accessdate=2016-02-06 |||}}</ref>
! style="width: 18%;" | [[Gecko (layout engine)|Gecko]]<ref group="g">{{citation |url=https://developer.mozilla.org/en/Canvas_tutorial |title=Canvas tutorial - MDC |accessdate=2016-02-06 }}</ref>
! style="width: 18%;" | [[WebKit]]<ref group="w">{{citation |url=http://developer.apple.com/safari/library/documentation/appleapplications/Reference/WebKitDOMRef/CanvasRenderingContext2D_idl/Classes/CanvasRenderingContext2D/index.html#//apple_ref/js/cl/CanvasRenderingContext2D |title=WebKit DOM reference - CanvasRenderingContext2D |accessdate=2016-02-06 |||}}</ref>
! style="width: 18%;" | [[WebKit]]<ref group="w">{{citation |url=http://developer.apple.com/safari/library/documentation/appleapplications/Reference/WebKitDOMRef/CanvasRenderingContext2D_idl/Classes/CanvasRenderingContext2D/index.html#//apple_ref/js/cl/CanvasRenderingContext2D |title=WebKit DOM reference - CanvasRenderingContext2D |accessdate=2016-02-06 }}</ref>
! style="width: 18%;" | [[Presto]]<ref group="p">{{citation |url=http://www.opera.com/docs/specs/opera9/canvas/ |title=Opera 9 canvas support |access-date=2016-02-06 |||}}</ref><ref group="p">{{citation |url=http://www.opera.com/docs/specs/opera95/canvas/ |title=Opera 9.5 canvas support |access-date=2016-02-06 |||}}</ref>
! style="width: 18%;" | [[Presto]]<ref group="p">{{citation |url=http://www.opera.com/docs/specs/opera9/canvas/ |title=Opera 9 canvas support |access-date=2016-02-06 }}</ref><ref group="p">{{citation |url=http://www.opera.com/docs/specs/opera95/canvas/ |title=Opera 9.5 canvas support |access-date=2016-02-06 }}</ref>
|-
|-
! colspan="5" | 画布状态
! colspan="5" | 画布状态
第81行: 第81行:
|-
|-
! style="text-align: left;" | <code>transform</code>
! style="text-align: left;" | <code>transform</code>
| {{yes|2.6}}<ref group="注" name="presto-dropped-and-recovered">Opera 9.5(Presto 2.1)支持此功能,但Presto 2.1.1至2.5的支持表格表明该属性不被支持。</ref><ref group="p">{{citation |url=http://www.opera.com/docs/specs/presto211/canvas/ |title=Presto 2.1.1 canvas support table |access-date=2016-02-06 |||}}</ref><ref group="p">{{citation |url=http://www.opera.com/docs/specs/presto25/canvas/ |title=Presto 2.5 canvas support table |access-date=2016-02-06 |||}}</ref><ref group="p">{{citation|url=http://www.opera.com/docs/specs/presto26/canvas/|title=Presto 2.6 canvas support table|ref=note|access-date=2016-02-06|||}}</ref>
| {{yes|2.6}}<ref group="注" name="presto-dropped-and-recovered">Opera 9.5(Presto 2.1)支持此功能,但Presto 2.1.1至2.5的支持表格表明该属性不被支持。</ref><ref group="p">{{citation |url=http://www.opera.com/docs/specs/presto211/canvas/ |title=Presto 2.1.1 canvas support table |access-date=2016-02-06 }}</ref><ref group="p">{{citation |url=http://www.opera.com/docs/specs/presto25/canvas/ |title=Presto 2.5 canvas support table |access-date=2016-02-06 }}</ref><ref group="p">{{citation|url=http://www.opera.com/docs/specs/presto26/canvas/|title=Presto 2.6 canvas support table|ref=note|access-date=2016-02-06}}</ref>
|-
|-
! style="text-align: left;" | <code>setTransform</code>
! style="text-align: left;" | <code>setTransform</code>
第130行: 第130行:
! style="text-align: left;" | <code>shadowOffsetX</code>
! style="text-align: left;" | <code>shadowOffsetX</code>
| rowspan="4" {{yes|5.0}}
| rowspan="4" {{yes|5.0}}
| rowspan="4" {{yes|1.9.1}}<ref group="g">{{citation |url=https://bugzilla.mozilla.org/show_bug.cgi?id=310682 |title=Bug 310682 - Implement shadows for &lt;html:canvas&gt; |publisher=Mozilla |accessdate=2016-02-06 |||}}</ref>
| rowspan="4" {{yes|1.9.1}}<ref group="g">{{citation |url=https://bugzilla.mozilla.org/show_bug.cgi?id=310682 |title=Bug 310682 - Implement shadows for &lt;html:canvas&gt; |publisher=Mozilla |accessdate=2016-02-06 }}</ref>
| rowspan="4" {{yes}}
| rowspan="4" {{yes}}
| rowspan="4" {{yes|2.4}}<ref group="注" name="presto-shadow">Presto 2.4之前仅部分支持此属性。</ref>
| rowspan="4" {{yes|2.4}}<ref group="注" name="presto-shadow">Presto 2.4之前仅部分支持此属性。</ref>
第174行: 第174行:
|-
|-
! style="text-align: left;" | <code>arcTo</code>
! style="text-align: left;" | <code>arcTo</code>
| {{yes|1.8.1}}<ref group="g">{{citation |url=https://bugzilla.mozilla.org/show_bug.cgi?id=333613 |title=Bug 333613 – update canvas on branch |publisher=Mozilla |accessdate=2016-02-06 |||}}</ref>
| {{yes|1.8.1}}<ref group="g">{{citation |url=https://bugzilla.mozilla.org/show_bug.cgi?id=333613 |title=Bug 333613 – update canvas on branch |publisher=Mozilla |accessdate=2016-02-06 }}</ref>
|-
|-
! style="text-align: left;" | <code>rect</code>
! style="text-align: left;" | <code>rect</code>
第193行: 第193行:
! style="text-align: left;" | <code>drawFocusRing</code>
! style="text-align: left;" | <code>drawFocusRing</code>
| {{no}}
| {{no}}
| {{yes|28.0}}<ref group="g">{{citation |url=https://bugzilla.mozilla.org/show_bug.cgi?id=540456 |title=Bug 540456 - Support HTML5 canvas drawFocusRing() |publisher=Mozilla |accessdate=2016-02-06 |||}}</ref>
| {{yes|28.0}}<ref group="g">{{citation |url=https://bugzilla.mozilla.org/show_bug.cgi?id=540456 |title=Bug 540456 - Support HTML5 canvas drawFocusRing() |publisher=Mozilla |accessdate=2016-02-06 }}</ref>
| {{no}}
| {{no}}
| {{no}}
| {{no}}
第201行: 第201行:
! style="text-align: left;" | <code>font</code>
! style="text-align: left;" | <code>font</code>
| rowspan="6" {{yes|5.0}}
| rowspan="6" {{yes|5.0}}
| rowspan="6" {{yes|1.9.1}}{{#tag:ref|Gecko在1.9中以不同的名字加入了实验性支持。<ref group="g">{{citation |url=https://bugzilla.mozilla.org/show_bug.cgi?id=436904 |title=Bug 436904 - implementing Canvas text spec |publisher=Mozilla |accessdate=2016-02-06 |||}}</ref>|group=注}}
| rowspan="6" {{yes|1.9.1}}{{#tag:ref|Gecko在1.9中以不同的名字加入了实验性支持。<ref group="g">{{citation |url=https://bugzilla.mozilla.org/show_bug.cgi?id=436904 |title=Bug 436904 - implementing Canvas text spec |publisher=Mozilla |accessdate=2016-02-06 }}</ref>|group=注}}
| rowspan="6" {{yes}}
| rowspan="6" {{yes}}
| {{no}}
| {{no}}
第225行: 第225行:
|-
|-
! style="text-align: left;" | <code>createImageData</code>
! style="text-align: left;" | <code>createImageData</code>
| {{yes|1.9.1}}<ref group="g">{{citation |url=https://bugzilla.mozilla.org/show_bug.cgi?id=433004 |title=Bug 433004 - Support canvas.getContext("2d").createImageData() |publisher=Mozilla |accessdate=2016-02-06 |||}}</ref><ref group="g" name="gecko-pixel-canvas">{{citation |url=https://developer.mozilla.org/en/html/canvas/pixel_manipulation_with_canvas |title=Pixel manipulation with canvas - MDC |accessdate=2016-02-06 |||}}</ref>
| {{yes|1.9.1}}<ref group="g">{{citation |url=https://bugzilla.mozilla.org/show_bug.cgi?id=433004 |title=Bug 433004 - Support canvas.getContext("2d").createImageData() |publisher=Mozilla |accessdate=2016-02-06 }}</ref><ref group="g" name="gecko-pixel-canvas">{{citation |url=https://developer.mozilla.org/en/html/canvas/pixel_manipulation_with_canvas |title=Pixel manipulation with canvas - MDC |accessdate=2016-02-06 }}</ref>
| {{yes|2.7}}<ref group="p">{{citation |url=http://www.opera.com/docs/specs/presto27/#changes |title=Web specifications support in Opera Presto 2.7 - Core Milestone additions since Opera Presto 2.6 |access-date=2016-02-06 |||}}</ref>
| {{yes|2.7}}<ref group="p">{{citation |url=http://www.opera.com/docs/specs/presto27/#changes |title=Web specifications support in Opera Presto 2.7 - Core Milestone additions since Opera Presto 2.6 |access-date=2016-02-06 }}</ref>
|-
|-
! style="text-align: left;" | <code>getImageData</code>
! style="text-align: left;" | <code>getImageData</code>
第233行: 第233行:
|-
|-
! style="text-align: left;" | <code>putImageData</code>
! style="text-align: left;" | <code>putImageData</code>
| {{yes|2.0}}<ref group="g">{{citation |url=https://bugzilla.mozilla.org/show_bug.cgi?id=498826 |title=Bug 498826 - canvas putImageData doesn't implement optional arguments |publisher=Mozilla |accessdate=2016-02-06 |||}}</ref><ref group="g" name="gecko-pixel-canvas" />
| {{yes|2.0}}<ref group="g">{{citation |url=https://bugzilla.mozilla.org/show_bug.cgi?id=498826 |title=Bug 498826 - canvas putImageData doesn't implement optional arguments |publisher=Mozilla |accessdate=2016-02-06 }}</ref><ref group="g" name="gecko-pixel-canvas" />
|}
|}