Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Firefox 14 for developers

草案
本页尚未完工.

Firefox 14, based on Gecko , will ship in . This article provides information about the changes in this release that will affect developers. Nightly builds of what will become Firefox 14 are currently available on the channel.

Note: Items listed here are tentatively slated for Firefox 14; however, they may be held for a future release if testing shows they're not ready by the time Firefox 14 is due to ship. Please keep an eye on this page to stay up to date on the plans for Firefox 14.

Want to help document Firefox 14? See the list of bugs that need to be written about and pitch in!

Changes for Web developers

HTML

  • <progress>元素不在错误的归为一个表单元素,因此不再有一个form属性.
  • The default modifier keys for the accesskey of HTML contents on Mac are changed to Control+Option.  This is the same as WebKit-based browsers on Mac.

DOM

  • input events are fired also on editing host element of contenteditable editor and root element of designMode editor.
  • DOMException.code已被废弃,根据最新的DOM Level 4 规范.
  • Range.insertNode() method now works correctly when used on collapsed ranges.
  • The MozBlobBuilder interface has been deprecated in favor of the constructor on Blob. If you use MozBlobBuilder you'll see a warning message in the Web Console.
  • Support for the Mutation Observers has been landed. It is designed as a replacement for the Mutation Events in DOM3, which has a number of issues regarding performance.
  • The HTMLImageElement interface's x and y properties were removed in Gecko 7.0 (Firefox 7.0 / Thunderbird 7.0 / SeaMonkey 2.4) but restored in this release for compatibility reasons.
  • Document上的方法execCommandShowHelp()queryCommandText(),没有任何作用,已被删除.
  • The GeoPositionAddress interface, an obsolete part of the Geolocation API, has been removed.
  • localStorage/sessionStorage now correctly return undefined instead of null for undeclared keys through property access.

JavaScript

  • 试验性的支持 ECMAScript 6 中的MapSet 对象.

CSS

  • The text-transform and font-variant CSS properties have been fixed to correctly handle the iİ and ıI Turkic-specific case pairs.
  • The Dutch IJ digraph is now correctly handled by text-transform: capitalization. Similarly the Greek letter Σ, which has two lowercase forms, σ and ς, is now correctly handled by text-transform: lowercase.
  • As it has been removed from the draft standard, support for the skew() function has been removed from transform property.
  • The column-fill property has been implemented (prefixed).
  • The syntax for border-image has been updated to match the latest revision of the specification; it no longer accepts a trailing slash ("/").

MathML

  • The syntax of the statusline action type on <maction> elements has been adjusted to follow the MathML specification.

HTTP

  • Gecko开始支持新的HTTP 308永久重定向 状态码. 由于Gecko并不区分永久重定向和零食重定向,所以该状态码的表现行为和307 临时重定向状态码是一样的, 和302以及301状态码的区别是,它们禁止用户代理改变重定之后的HTTP方法(POST还是POST, GET还是GET).

Changes for Mozilla and add-on developers

JavaScript代码模块

source-editor.jsm

  • Added a keyboard shortcut to toggle commenting for the current selection (Ctrl-/ or Cmd-/ on Mac OS X).
  • Added the Ctrl-[ and Ctrl-] keyboard shortcuts for moving the text input position to the beginning and end of the current block.
  • Added the new getLineStart() and getLineEnd() methods.

XUL

  • window元素上添加了新的 fullscreenbutton属性; 将该属性设置为true,会在窗口上添加一个进入全屏模式的按钮.

XPCOM接口

拼写检查

  • Dictionary names are now parsed as full BCP 47 language tags (bug 730209, bug 741842). Developers are encouraged to not hard-code the name of their language in their dictionary names.

相关链接

文档标签和贡献者

 此页面的贡献者: ethertank, ziyunfei
 最后编辑者: ethertank,