Firefox 27 for developers 编辑

Firefox 27 was released on February 4, 2014. This article lists key changes that are useful not only for web developers, but also Firefox and Gecko developers as well as add-on developers.

Changes for Web developers

Developer Tools

  • Breakpoints can now be set on DOM events.
  • JavaScript in the debugger panel can be unminified, using the { } button.
  • The inspector now has an "edit-element-html" feature, without needing an add-on.
  • Background-URLs and colors have preview in inspector. Even hovering over canvas elements will give a pop-up with an image preview.
  • Reflow logging has been added.
  • Styles of SVG elements are now inspectable (bug 921191).
  • Failure to find the image when clicking URL link in CSS inspector has been fixed (bug 921686).
  • The X-SourceMap header is now supported (bug 765993).

More details in this post.

CSS

  • The -moz-grab and -moz-grabbing keywords on the CSS cursor property have been unprefixed to grab and grabbing (bug 880672).
  • Support for the -moz-hsla() and -moz-rgba() functional notations has been dropped. Only the unprefixed versions, hsla() and rgba() are supported from now on (bug 893319).
  • The "true" value for text-align has been added (bug 929991).
  • Experimental support of position:sticky is now active by default on non-release builds (bug 902992). For releases builds, the layout.css.sticky.enabled preference still needs to be set to true.
  • The all shorthand property has been added (bug 842329).
  • The unset global value has been added; it allows to reset any CSS property (bug 921731).
  • Curly brackets are no longer allowed in HTML style attributes: doing <div style="{ display: none }"> was working in quirks mode, but won't anymore bug 915053.
  • The overflow property now works on <fieldset> (bug 261037).

HTML

  • The color value of the <input> type attribute has been implemented on desktop platforms. It was already available on mobile ones.
  • The allow-popups directive is now supported with the sandbox attribute of the <iframe> element (bug 766282).
  • Blending of HTML elements using the mix-blend-mode property has been implemented. The layout.css.mix-blend-mode.enabled preference must be set to true (bug 902525).
  • The typemustmatch attribute on the <object> element is now supported (bug 827160).

JavaScript

EcmaScript 2015 implementation continues!

Interfaces/APIs/DOM

MathML

No change.

SVG

  • Blending of SVG elements using the mix-blend-mode property has been implemented. The layout.css.mix-blend-mode.enabled preference must be set to true (bug 902525).

Changes for addon and Mozilla developers

  • The downloads-indicator button has gone away. You should now use the downloads-button element. If you need to check that it has loaded its overlay, check for the indicator attribute on that button.
  • The chrome://browser/skin/downloads/indicator.css stylesheet is no longer referenced in Firefox.

Security

  • TLS 1.2 has been implemented for improved security (bug 861266).

See also

Older versions

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:95 次

字数:15803

最后编辑:7年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文