Skip to content

Latest commit

 

History

History
124 lines (68 loc) · 3.83 KB

File metadata and controls

124 lines (68 loc) · 3.83 KB
title slug
Firefox 61 技術變動摘要
Mozilla/Firefox/Releases/61

{{FirefoxSidebar}}

此文章提供 Firefox 61 中與開發者較為相關之變動資訊。Firefox 61 預定於 2018 年 6 月 26 日正式發表

Web 開發相關變動

開發者工具

無變動。

HTML

無變動。

CSS

無變動。

SVG

  • {{SVGElement("a")}} 元素({{domxref("SVGAElement")}})新增 pingrelreferrerPolicyrelListhreflangtypetext 等屬性,以便與 HTML {{HTMLElement("a")}} 元素抱持一致。(Firefox bug 1451823
  • {{SVGElement("textPath")}} 元素({{domxref("SVGTextPathElement")}})現在支援 SVG2 的 pathside 屬性。(Firefox bug 1446617Firefox bug 1446650
  • 除 {{SVGElement("path")}} 之外,現在有更多元素支援{{domxref("SVGGeometryElement")}} 。(Firefox bug 1325320

JavaScript

  • 已實作 {{jsxref("String.prototype.trimStart()")}} 及 {{jsxref("String.prototype.trimEnd()")}} 方法(參考 Firefox bug 1434007)。為了確保相容性,將保留 trimLefttrimRight 作為別名。

API

新 API

無變動。

DOM

  • The {{domxref("Document.anchors", "anchors")}}, {{domxref("Document.applets", "applets")}}, {{domxref("Document.embeds", "embeds")}}, {{domxref("Document.forms", "forms")}}, {{domxref("Document.head", "head")}}, {{domxref("Document.images", "images")}}, {{domxref("Document.links", "links")}}, {{domxref("Document.plugins", "plugins")}}, and {{domxref("Document.scripts", "scripts")}} properties have been moved from the {{domxref("HTMLDocument")}} interface onto {{domxref("Document")}} (Firefox bug 1415588).
  • The {{domxref("Node.getUserData()")}} and {{domxref("Node.setUserData()")}} methods have been removed from the platform completely (Firefox bug 749981).
  • {{domxref("DOMTokenList.replace()")}} now returns a {{domxref("Boolean")}} to indicate whether the replacement occurred successfully, rather than void (Firefox bug 1444909).

DOM 事件

無變動。

Service workers

無變動。

Media 及 WebRTC

{{domxref("AudioContext.AudioContext", "AudioContext()")}} 建構式現在可以選擇性傳入一個 {{domxref("AudioContextOptions")}} 型態的 options 參數,用以調整新的 AudioContext 下偏好的延遲時間及取樣率。

Canvas 及 WebGL

無變動。

CSSOM

無變動。

HTTP

安全性

無變動。

外掛程式

無變動。

其他

無變動。

Web 平台中移除的項目

HTML

無變動。

CSS

無變動。

APIs

無變動。

SVG

  • 從未良好實作且已為標準所廢棄的 {{domxref("SVGViewElement")}}.viewTarget 屬性已經移除。(Firefox bug 1455763

  • 在標準規格中廢棄的下列屬性已經自 {{domxref("SVGSVGElement")}} 移除(Firefox bug 1133172):

    • pixelUnitToMillimeterX
    • pixelUnitToMillimeterY
    • screenPixelToMillimeterX
    • screenPixelToMillimeterY
  • 不在標準規格內的 SVGNumber() 建構式已經移除。(Firefox bug 1455940

其他

無變動。

附加元件及 Mozilla 軟體開發相關變動

WebExtensions

無變動。

請參見

  • Firefox 61 網站相容資訊

舊版資訊

{{Firefox_for_developers}}