Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 2.86 KB

File metadata and controls

49 lines (31 loc) · 2.86 KB
title slug
Firefox 26 for developers
Mozilla/Firefox/Releases/26

{{FirefoxSidebar}}

Web 开发者需要注意的变化

CSS

HTML

No change.

JavaScript

Interfaces/APIs/DOM

  • {{domxref("DOMImplementation.createDocument")}} 方法的第三个参数 doctype 成为可选参数(Firefox bug 909859)。
  • 实现了新的 {{domxref("element.classList")}} 规范,可以同时添加或删除多个类名,比如 element.classList.add("x", "y", "z")Firefox bug 814014)。
  • 实现了 {{domxref("URL.URL", "URL()")}} 构造函数 (Firefox bug 887364).
  • The properties {{domxref("URLUtils.origin")}}, {{domxref("URLUtils.password")}}, and {{domxref("URLUtils.username")}} are now available to all interfaces implementing {{domxref("URLUtils")}}: {{domxref("URL")}}, {{domxref("Location")}}, {{domxref("HTMLAnchorElement")}}, and {{domxref("HTMLAreaElement")}} (Firefox bug 887364).
  • The {{domxref("URL")}} interface is now accessible from Web Workers (Firefox bug 887364).
  • IndexedDB can now be used as a "optimistic" storage area so it doesn't require any prompts and data is stored in a pool with LRU eviction policy, in short temporary storage (Firefox bug 785884).
  • Path of the persistent storage has been changed from <profile>/indexedDB to <profile>/storage/persistent (on b2g from /data/local/indexedDB to /data/local/storage/persistent).

MathML

  • Inconsistent renderings of {{MathMLElement("mmultiscripts")}}, {{MathMLElement("msub")}}, {{MathMLElement("msup")}} and {{MathMLElement("msubsup")}} have been unified and the error handling of these elements has been improved (Firefox bug 827713).

SVG

No change.

参见

更早期的版本

{{Firefox_for_developers}}