title | slug |
---|---|
Firefox 61 技術變動摘要 |
Mozilla/Firefox/Releases/61 |
{{FirefoxSidebar}}
此文章提供 Firefox 61 中與開發者較為相關之變動資訊。Firefox 61 預定於 2018 年 6 月 26 日正式發表。
無變動。
無變動。
無變動。
- {{SVGElement("a")}} 元素({{domxref("SVGAElement")}})新增
ping
、rel
、referrerPolicy
、relList
、hreflang
、type
及text
等屬性,以便與 HTML {{HTMLElement("a")}} 元素抱持一致。(Firefox bug 1451823) - {{SVGElement("textPath")}} 元素({{domxref("SVGTextPathElement")}})現在支援 SVG2 的
path
及side
屬性。(Firefox bug 1446617 與 Firefox bug 1446650) - 除 {{SVGElement("path")}} 之外,現在有更多元素支援{{domxref("SVGGeometryElement")}} 。(Firefox bug 1325320)
- 已實作 {{jsxref("String.prototype.trimStart()")}} 及 {{jsxref("String.prototype.trimEnd()")}} 方法(參考 Firefox bug 1434007)。為了確保相容性,將保留
trimLeft
和trimRight
作為別名。
無變動。
- 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).
無變動。
無變動。
{{domxref("AudioContext.AudioContext", "AudioContext()")}} 建構式現在可以選擇性傳入一個 {{domxref("AudioContextOptions")}} 型態的 options
參數,用以調整新的 AudioContext 下偏好的延遲時間及取樣率。
無變動。
無變動。
- 已實作 cookie 管理中的
SameSite
,見 Set-Cookie 及 HTTP cookie。(Firefox bug 795346)
無變動。
無變動。
無變動。
無變動。
無變動。
無變動。
-
從未良好實作且已為標準所廢棄的 {{domxref("SVGViewElement")}}
.viewTarget
屬性已經移除。(Firefox bug 1455763) -
在標準規格中廢棄的下列屬性已經自 {{domxref("SVGSVGElement")}} 移除(Firefox bug 1133172):
pixelUnitToMillimeterX
pixelUnitToMillimeterY
screenPixelToMillimeterX
screenPixelToMillimeterY
-
不在標準規格內的
SVGNumber()
建構式已經移除。(Firefox bug 1455940)
無變動。
無變動。
- Firefox 61 網站相容資訊
{{Firefox_for_developers}}