From f8df8966a905f3bdd7f1bdb8942ab8c298f8797c Mon Sep 17 00:00:00 2001 From: A1lo Date: Tue, 16 May 2023 17:25:56 +0800 Subject: [PATCH] chore(zh): remove all {{bug}} macro (#13257) Co-authored-by: Jason Ren <40999116+jasonren0403@users.noreply.github.com> --- .../mozilla/firefox/releases/12/index.md | 4 +- .../mozilla/firefox/releases/15/index.md | 12 +++--- .../mozilla/firefox/releases/16/index.md | 8 ++-- .../mozilla/firefox/releases/18/index.md | 40 +++++++++--------- .../mozilla/firefox/releases/19/index.md | 34 +++++++-------- .../mozilla/firefox/releases/20/index.md | 34 +++++++-------- .../mozilla/firefox/releases/21/index.md | 34 +++++++-------- .../mozilla/firefox/releases/22/index.md | 28 ++++++------- .../mozilla/firefox/releases/25/index.md | 42 +++++++++---------- .../mozilla/firefox/releases/26/index.md | 16 +++---- .../mozilla/firefox/releases/27/index.md | 6 +-- .../mozilla/firefox/releases/28/index.md | 34 +++++++-------- .../mozilla/firefox/releases/32/index.md | 10 ++--- .../mozilla/firefox/releases/41/index.md | 4 +- .../mozilla/firefox/releases/59/index.md | 2 +- .../mozilla/firefox/releases/78/index.md | 16 +++---- files/zh-cn/web/api/domtokenlist/index.md | 2 +- .../comparison_of_event_targets/index.md | 2 +- .../web/api/event/defaultprevented/index.md | 2 +- files/zh-cn/web/api/file/index.md | 2 +- .../web/api/htmlelement/change_event/index.md | 2 +- .../idbdatabase/createobjectstore/index.md | 2 +- .../idbdatabase/deleteobjectstore/index.md | 2 +- files/zh-cn/web/api/idbfactory/open/index.md | 4 +- files/zh-cn/web/api/idbtransaction/index.md | 2 +- .../indexeddb_api/using_indexeddb/index.md | 2 +- .../touch_events/using_touch_events/index.md | 2 +- files/zh-cn/web/api/window/find/index.md | 4 +- .../zh-cn/web/api/window/fullscreen/index.md | 2 +- .../xmlhttprequest/xmlhttprequest/index.md | 4 +- files/zh-cn/web/css/cursor/index.md | 4 +- files/zh-cn/web/css/flex-basis/index.md | 2 +- files/zh-cn/web/html/element/embed/index.md | 2 +- .../functions/arguments/callee/index.md | 2 +- .../global_objects/error/stack/index.md | 6 +-- .../global_objects/function/caller/index.md | 2 +- .../object/getownpropertynames/index.md | 2 +- .../zh-cn/web/mathml/element/mspace/index.md | 2 +- files/zh-cn/web/mathml/element/msub/index.md | 2 +- files/zh-cn/web/mathml/element/msup/index.md | 2 +- .../mozilla/firefox/releases/10/index.md | 2 +- .../mozilla/firefox/releases/11/index.md | 4 +- .../zh-tw/mozilla/firefox/releases/5/index.md | 8 ++-- .../mozilla/firefox/releases/61/index.md | 8 ++-- .../zh-tw/mozilla/firefox/releases/7/index.md | 2 +- .../comparison_of_event_targets/index.md | 2 +- files/zh-tw/web/api/file/index.md | 2 +- files/zh-tw/web/api/htmlelement/index.md | 6 +-- files/zh-tw/web/api/idbdatabase/index.md | 2 +- .../api/window/beforeunload_event/index.md | 2 +- .../xmlhttprequest/xmlhttprequest/index.md | 4 +- files/zh-tw/web/css/cursor/index.md | 4 +- .../functions/arguments/callee/index.md | 2 +- 53 files changed, 216 insertions(+), 216 deletions(-) diff --git a/files/zh-cn/mozilla/firefox/releases/12/index.md b/files/zh-cn/mozilla/firefox/releases/12/index.md index f89dfb85fe9a46..6c2802427a9650 100644 --- a/files/zh-cn/mozilla/firefox/releases/12/index.md +++ b/files/zh-cn/mozilla/firefox/releases/12/index.md @@ -47,8 +47,8 @@ Firefox 12 was shipped on April 24, 2012. This page summarizes the changes in Fi ### SVG -- Firefox now implements the {{domxref("SVGTests")}} DOM API, see {{bug("607854")}} -- The {{domxref("SVGStringList")}} DOM interface support the non-standard `length` property see {{bug("711958")}} +- Firefox now implements the {{domxref("SVGTests")}} DOM API, see [Firefox bug 607854](https://bugzil.la/607854) +- The {{domxref("SVGStringList")}} DOM interface support the non-standard `length` property see [Firefox bug 711958](https://bugzil.la/711958) ### MathML diff --git a/files/zh-cn/mozilla/firefox/releases/15/index.md b/files/zh-cn/mozilla/firefox/releases/15/index.md index c535332e952489..8173681ae960dc 100644 --- a/files/zh-cn/mozilla/firefox/releases/15/index.md +++ b/files/zh-cn/mozilla/firefox/releases/15/index.md @@ -24,13 +24,13 @@ Firefox 15 shipped on August 28, 2012. This article lists key changes that are u - The CSS {{ cssxref("word-break") }} property has been implemented. - The {{ cssxref("border-image") }} property has been updated to match the latest Specification and properties have been unprefixed. ([bug 713643](https://bugzilla.mozilla.org/show_bug.cgi?id=713643)) - The `skew()` {{cssxref("transform")}} function dropped in Firefox 14 has been restored due to existing site compatibility. Authors are however, advised to use `skewX()` and `skewY(`) functions instead. -- The value `plaintext` of CSS {{cssxref("unicode-bidi")}} property now applies to inline elements too. ({{bug("746987")}}). +- The value `plaintext` of CSS {{cssxref("unicode-bidi")}} property now applies to inline elements too. ([Firefox bug 746987](https://bugzil.la/746987)). ### DOM -- The DOM Events Level 3 methods [`KeyboardEvent.getModifierState()`](/zh-CN/DOM/KeyboardEvent#getModifierState%28%29) and [`MouseEvent.getModifierState()`](/zh-CN/DOM/MouseEvent#getModifierState%28%29), which let you query the state of modifier keys, like `Ctrl` or `Shift`, have been implemented (bugs [630811](https://bugzilla.mozilla.org/show_bug.cgi?id=630811) and [731878](https://bugzilla.mozilla.org/show_bug.cgi?id=731878)). But the behavior conforms to the latest D3E draft. So, some modifier key names are different from IE ({{ bug("769190") }}). +- The DOM Events Level 3 methods [`KeyboardEvent.getModifierState()`](/zh-CN/DOM/KeyboardEvent#getModifierState%28%29) and [`MouseEvent.getModifierState()`](/zh-CN/DOM/MouseEvent#getModifierState%28%29), which let you query the state of modifier keys, like `Ctrl` or `Shift`, have been implemented (bugs [630811](https://bugzilla.mozilla.org/show_bug.cgi?id=630811) and [731878](https://bugzilla.mozilla.org/show_bug.cgi?id=731878)). But the behavior conforms to the latest D3E draft. So, some modifier key names are different from IE ([Firefox bug 769190](https://bugzil.la/769190)). - On mouse events, support for querying the state of the mouse buttons using the [`MouseEvent.buttons`](/zh-CN/DOM/MouseEvent) attribute, has been implemented. -- On keyboard events, support for querying the key location (standard, left or right of modifier key, in the Numpad) using the [KeyboardEvent.location](/zh-CN/DOM/KeyboardEvent#Attributes_location) attribute, has been implemented ({{ bug("166240") }}). +- On keyboard events, support for querying the key location (standard, left or right of modifier key, in the Numpad) using the [KeyboardEvent.location](/zh-CN/DOM/KeyboardEvent#Attributes_location) attribute, has been implemented ([Firefox bug 166240](https://bugzil.la/166240)). - KeyboardEvent.keycode result has been computed from better rules which were almost same on Windows/Linux/Mac. And now they are available on some keyboard layouts which are not ASCII capable layouts on Linux and Mac, such as Arabic, Cyrillic, Thai and so on. See [the document for virtual key codes](/zh-CN/DOM/KeyboardEvent#Virtual_key_codes). - The [`range.detach()`](/zh-CN/DOM/range.detach) method has been transformed in a no-op and will probably be removed in the future. - The method `HTMLVideoElement.mozHasAudio()` has been implemented. It indicates if there is an audio track associated to a given video element. ([bug 480376](https://bugzilla.mozilla.org/show_bug.cgi?id=480376)) @@ -41,7 +41,7 @@ Firefox 15 shipped on August 28, 2012. This article lists key changes that are u - The [`Blob`](/zh-CN/DOM/Blob) constructor now takes `ArrayBufferView` as a member of `blobParts` parameter in addition to `ArrayBuffer`. ([bug 752402](https://bugzilla.mozilla.org/show_bug.cgi?id=752402)) - The {{domxref("DeviceLightEvent")}} specified in the [Ambient Light Events Working Draft](http://www.w3.org/TR/ambient-light/) has been implemented. - The {{domxref("DeviceProximityEvent")}} and {{domxref("UserProximityEvent")}} [Proximity Events](http://www.w3.org/TR/proximity/) have been implemented. -- The {{domxref("File")}} `lastModifiedDate` property has been implemented. ({{bug("673586")}}) +- The {{domxref("File")}} `lastModifiedDate` property has been implemented. ([Firefox bug 673586](https://bugzil.la/673586)) ### JavaScript @@ -58,12 +58,12 @@ Firefox 15 shipped on August 28, 2012. This article lists key changes that are u - Mathematical operators can now use downloadable fonts specified with {{ cssxref("@font-face") }}. This makes the [MathML-fonts add-on](https://addons.mozilla.org/en-US/firefox/addon/mathml-fonts/) work with stretchy operators too. - The `selection` attribute of the {{ MathMLElement("maction") }} is now only taken into account with the `toggle` actiontype. -- [Deprecated namedspace binding](http://www.w3.org/TR/MathML3/chapter3.html#id.3.3.4.2.1) has been removed ({{ bug("673759") }}). +- [Deprecated namedspace binding](http://www.w3.org/TR/MathML3/chapter3.html#id.3.3.4.2.1) has been removed ([Firefox bug 673759](https://bugzil.la/673759)). - Supported syntax for [Length](/zh-CN/MathML/Attributes/Values) and {{ MathMLElement("mpadded") }} values have been made closer to the one specified in MathML3 spec. ### SVG -- Added support for the {{SVGElement("view")}} element ({{bug("512525")}}). +- Added support for the {{SVGElement("view")}} element ([Firefox bug 512525](https://bugzil.la/512525)). ### Network diff --git a/files/zh-cn/mozilla/firefox/releases/16/index.md b/files/zh-cn/mozilla/firefox/releases/16/index.md index 6516ec867334d5..6f21b5bdf97dd9 100644 --- a/files/zh-cn/mozilla/firefox/releases/16/index.md +++ b/files/zh-cn/mozilla/firefox/releases/16/index.md @@ -13,8 +13,8 @@ Firefox 16 shipped on October 9, 2012. This article lists key changes that are u - The {{HTMLElement("meter")}} element is now supported. - Support for the HTML Microdata API has been added. ([bug 591467](https://bugzilla.mozilla.org/show_bug.cgi?id=591467)) -- {{HTMLElement("canvas")}} now supports the CSS `currentColor` in all case. ({{bug("629882")}}) -- {{HTMLElement("input")}} now allows filtering based on arbitrary mimetypes in `accept` ({{bug("565274")}}). +- {{HTMLElement("canvas")}} now supports the CSS `currentColor` in all case. ([Firefox bug 629882](https://bugzil.la/629882)) +- {{HTMLElement("input")}} now allows filtering based on arbitrary mimetypes in `accept` ([Firefox bug 565274](https://bugzil.la/565274)). - Two new attributes, `width` and `height` have been added to the {{HTMLElement("input")}} element ([bug 683855](https://bugzilla.mozilla.org/show_bug.cgi?id=683855)). ### CSS @@ -31,7 +31,7 @@ Firefox 16 shipped on October 9, 2012. This article lists key changes that are u - On screen, for [media queries](/zh-CN/docs/CSS/Media_queries), `dppx`, `dpi`, and `dpcm` are now representing values based on CSS pixels and no more with the physical units ([bug 771390](https://bugzilla.mozilla.org/show_bug.cgi?id=771390)). - Three new pseudo-classes `:-moz-meter-optimum`, `:-moz-meter-sub-optimum`, and `:-moz-meter-sub-sub-optimum` have been added for accessing/styling a {{HTMLElement("meter")}} element in a paraticular state ([bug 660238](https://bugzilla.mozilla.org/show_bug.cgi?id=660238)). - The {{cssxref("-moz-appearance")}} property gains two new values: `meterbar` and `meterchunk`. They represent components inside the {{HTMLElement("meter")}} element ([bug 659999](https://bugzilla.mozilla.org/show_bug.cgi?id=659999)). -- The {{cssxref("min-width")}} and {{cssxref("min-height")}} now supports the `auto`keyword for flex items (and resolves to `0` for other items) ({{bug("763689")}}). +- The {{cssxref("min-width")}} and {{cssxref("min-height")}} now supports the `auto`keyword for flex items (and resolves to `0` for other items) ([Firefox bug 763689](https://bugzil.la/763689)). ### API/DOM @@ -80,7 +80,7 @@ _No change_ ### 修改接口 -`nsIPrivateDOMEvent` has been merged into `nsIDOMEvent`. ({{bug("761613")}}) +`nsIPrivateDOMEvent` has been merged into `nsIDOMEvent`. ([Firefox bug 761613](https://bugzil.la/761613)) #### 新增接口 diff --git a/files/zh-cn/mozilla/firefox/releases/18/index.md b/files/zh-cn/mozilla/firefox/releases/18/index.md index 8499e2d71a5afa..23063a157bae29 100644 --- a/files/zh-cn/mozilla/firefox/releases/18/index.md +++ b/files/zh-cn/mozilla/firefox/releases/18/index.md @@ -11,29 +11,29 @@ Firefox 18 已于 2013 年 1 月 8 日发布。 ### HTML -- 实现了{{HTMLElement("ol")}}元素上的[`reversed`](/zh-CN/docs/Web/HTML/Element/ol#reversed)属性 ({{bug("601912")}}). -- 实现了{{HTMLElement("link")}}元素上的[`crossorigin`](/zh-CN/docs/Web/HTML/Element/link#crossorigin)属性 ({{bug("786564")}}). +- 实现了{{HTMLElement("ol")}}元素上的[`reversed`](/zh-CN/docs/Web/HTML/Element/ol#reversed)属性 ([Firefox bug 601912](https://bugzil.la/601912)). +- 实现了{{HTMLElement("link")}}元素上的[`crossorigin`](/zh-CN/docs/Web/HTML/Element/link#crossorigin)属性 ([Firefox bug 786564](https://bugzil.la/786564)). ### CSS -- {{cssxref("min-width")}} 和 {{cssxref("min-height")}} 属性使用 `auto` 关键字作为初始值 (This has an effect only on flex items as it resolves to `0`, the previous initial value, for other items). ({{bug("763689")}}) -- The cascade has been updated: now author `!important` rules override [CSS animations](/zh-CN/docs/CSS/Using_CSS_animations). ({{bug("783714")}}) -- {{cssxref("background")}}简写属性可以包含 CSS3 中的{{cssxref("background-size")}}属性了。({{bug("570326")}}) -- 初步实现了 Flexbox.默认禁用状态,可以通过设置`layout.css.flexbox.enabled`选项激活该特性.({{bug('666041')}}) +- {{cssxref("min-width")}} 和 {{cssxref("min-height")}} 属性使用 `auto` 关键字作为初始值 (This has an effect only on flex items as it resolves to `0`, the previous initial value, for other items). ([Firefox bug 763689](https://bugzil.la/763689)) +- The cascade has been updated: now author `!important` rules override [CSS animations](/zh-CN/docs/CSS/Using_CSS_animations). ([Firefox bug 783714](https://bugzil.la/783714)) +- {{cssxref("background")}}简写属性可以包含 CSS3 中的{{cssxref("background-size")}}属性了。([Firefox bug 570326](https://bugzil.la/570326)) +- 初步实现了 Flexbox.默认禁用状态,可以通过设置`layout.css.flexbox.enabled`选项激活该特性.([Firefox bug 666041](https://bugzil.la/666041)) ### DOM -- 实现了 `navigator.mozPay` 属性({{bug("767818")}}) -- 实现了 `window.devicePixelRatio` 属性。({{bug("564815")}}) -- 在 MacOS 上实现了`window.navigator.battery` 属性。({{bug("696045")}}) -- 删除了 {{domxref("BlobBuilder", "MozBlobBuilder")}}。开发者应该使用 {{domxref("Blob")}} 构造函数来创建 `Blob` 对象。({{bug("744907")}}) -- [`visibilitychange`](/zh-CN/docs/Web/API/Document/visibilitychange_event)事件和[页面可见性 API](/zh-CN/docs/DOM/Using_the_Page_Visibility_API)取消前缀{{bug("812086")}}). -- 实现了 `TextDecoder` 和 `TextEncoder`。({{bug("764234")}}) -- `HTMLMediaElement.src` 被分成了两个属性:一个是标准的 `src` 属性,返回普通的字符串 {{domxref("DOMString")}},另一个是带前缀的`mozSrcObject`属性,返回 [media streams](/zh-CN/docs/WebRTC/MediaStream_API)({{bug("792665")}})。 +- 实现了 `navigator.mozPay` 属性([Firefox bug 767818](https://bugzil.la/767818)) +- 实现了 `window.devicePixelRatio` 属性。([Firefox bug 564815](https://bugzil.la/564815)) +- 在 MacOS 上实现了`window.navigator.battery` 属性。([Firefox bug 696045](https://bugzil.la/696045)) +- 删除了 {{domxref("BlobBuilder", "MozBlobBuilder")}}。开发者应该使用 {{domxref("Blob")}} 构造函数来创建 `Blob` 对象。([Firefox bug 744907](https://bugzil.la/744907)) +- [`visibilitychange`](/zh-CN/docs/Web/API/Document/visibilitychange_event)事件和[页面可见性 API](/zh-CN/docs/DOM/Using_the_Page_Visibility_API)取消前缀[Firefox bug 812086](https://bugzil.la/812086)). +- 实现了 `TextDecoder` 和 `TextEncoder`。([Firefox bug 764234](https://bugzil.la/764234)) +- `HTMLMediaElement.src` 被分成了两个属性:一个是标准的 `src` 属性,返回普通的字符串 {{domxref("DOMString")}},另一个是带前缀的`mozSrcObject`属性,返回 [media streams](/zh-CN/docs/WebRTC/MediaStream_API)([Firefox bug 792665](https://bugzil.la/792665))。 ### JavaScript -- 实现了 EcmaScript 6 中的[直接代理](/zh-CN/docs/JavaScript/Reference/Global_Objects/Proxy)({{bug("703537")}}).警告:该实现包含了一些已知的 bug,以及未根据最新规范草案实现某些特性。不要在生产环境中使用它。 +- 实现了 EcmaScript 6 中的[直接代理](/zh-CN/docs/JavaScript/Reference/Global_Objects/Proxy)([Firefox bug 703537](https://bugzil.la/703537)).警告:该实现包含了一些已知的 bug,以及未根据最新规范草案实现某些特性。不要在生产环境中使用它。 - 实现了 ECMAScript 6 中的字符串方法`contains()`. ### WebGL @@ -46,8 +46,8 @@ Firefox 18 已于 2013 年 1 月 8 日发布。 ### 网络 -- HTTP 请求头`Accept-Language` 可以使用两位数字的质量因子("q-values")({{bug("672448")}})。 -- HTTP 响应头支持了[`X-FRAME-OPTIONS`](/zh-CN/docs/The_X-FRAME-OPTIONS_response_header)中的`ALLOW-FROM`语法 ({{bug("690168")}}). +- HTTP 请求头`Accept-Language` 可以使用两位数字的质量因子("q-values")([Firefox bug 672448](https://bugzil.la/672448))。 +- HTTP 响应头支持了[`X-FRAME-OPTIONS`](/zh-CN/docs/The_X-FRAME-OPTIONS_response_header)中的`ALLOW-FROM`语法 ([Firefox bug 690168](https://bugzil.la/690168)). ### 开发者工具 @@ -56,14 +56,14 @@ Firefox 18 已于 2013 年 1 月 8 日发布。 ### 接口变更 - `nsIStreamListener` - - : `onDataAvailable()`方法的第四个参数 (aOffset) 类型改为无符号长整型。({{bug("784912")}}) + - : `onDataAvailable()`方法的第四个参数 (aOffset) 类型改为无符号长整型。([Firefox bug 784912](https://bugzil.la/784912)) - `nsIUploadChannel` - - : `setUploadStream()` 支持了超过 2GB 大小的 content-length ({{bug("790617")}}) + - : `setUploadStream()` 支持了超过 2GB 大小的 content-length ([Firefox bug 790617](https://bugzil.la/790617)) - `nsIEditor` - - : 删除了 `addEditorObserver()`,使用 `setEditorObserver()` 来替代,`removeEditorObserver()` 不再需要一个 `nsIEditorObserver` 参数({{bug("785091")}}) + - : 删除了 `addEditorObserver()`,使用 `setEditorObserver()` 来替代,`removeEditorObserver()` 不再需要一个 `nsIEditorObserver` 参数([Firefox bug 785091](https://bugzil.la/785091)) - `nsIHttpProtocolHandler` - : `http-on-modify-request` observers are no longer guaranteed to be called synchronously during - `nsIChannel.asyncOpen()`. For observers that need to be called during `asyncOpen`(), the new `http-on-opening-request` observer topic has been added. ({{bug("800799")}}) + `nsIChannel.asyncOpen()`. For observers that need to be called during `asyncOpen`(), the new `http-on-opening-request` observer topic has been added. ([Firefox bug 800799](https://bugzil.la/800799)) #### 新增接口 diff --git a/files/zh-cn/mozilla/firefox/releases/19/index.md b/files/zh-cn/mozilla/firefox/releases/19/index.md index 7b091f0fab28aa..7900f02ce07a78 100644 --- a/files/zh-cn/mozilla/firefox/releases/19/index.md +++ b/files/zh-cn/mozilla/firefox/releases/19/index.md @@ -11,28 +11,28 @@ Firefox 19 已于 2013 年 2 月 19 日正式发布。 ### JavaScript -- [`Map`](/zh-CN/docs/JavaScript/Reference/Global_Objects/Map) 和 [`Set`](/zh-CN/docs/JavaScript/Reference/Global_Objects/Set) 对象的 `size()` 方法变成了 `size` 属性。({{bug("807001")}}) -- [`Map`](/zh-CN/docs/JavaScript/Reference/Global_Objects/Map) 和 [`Set`](/zh-CN/docs/JavaScript/Reference/Global_Objects/Set) 对象新增了一个 clear() 方法。({{bug("805003")}}) +- [`Map`](/zh-CN/docs/JavaScript/Reference/Global_Objects/Map) 和 [`Set`](/zh-CN/docs/JavaScript/Reference/Global_Objects/Set) 对象的 `size()` 方法变成了 `size` 属性。([Firefox bug 807001](https://bugzil.la/807001)) +- [`Map`](/zh-CN/docs/JavaScript/Reference/Global_Objects/Map) 和 [`Set`](/zh-CN/docs/JavaScript/Reference/Global_Objects/Set) 对象新增了一个 clear() 方法。([Firefox bug 805003](https://bugzil.la/805003)) ### CSS -- 支持了几个 viewport-relative 的 {{cssxref("<length>")}} 单位:`vh`, `vw`, `vmin` 以及 `vmax` ({{bug("503720")}}) -- CSS Flexbox 脱前缀,但仍然被默认禁止 ({{bug("801098")}}). -- `-moz-initial` 脱前缀 ({{bug("806068")}}).不过 `-moz-initial` 仍然会作为别名保留一段时间,但仍然推荐你尽快改用 `initial`. -- {{cssxref("text-transform")}} 属性现在支持了 `full-width` 关键字,which allows a more seamless inclusion of Latin characters in text using ideographic fixed-width characters, like Chinese or Japanese ({{bug("774560")}}). -- 实现了 {{cssxref("page-break-inside")}} ({{bug("685012")}}). +- 支持了几个 viewport-relative 的 {{cssxref("<length>")}} 单位:`vh`, `vw`, `vmin` 以及 `vmax` ([Firefox bug 503720](https://bugzil.la/503720)) +- CSS Flexbox 脱前缀,但仍然被默认禁止 ([Firefox bug 801098](https://bugzil.la/801098)). +- `-moz-initial` 脱前缀 ([Firefox bug 806068](https://bugzil.la/806068)).不过 `-moz-initial` 仍然会作为别名保留一段时间,但仍然推荐你尽快改用 `initial`. +- {{cssxref("text-transform")}} 属性现在支持了 `full-width` 关键字,which allows a more seamless inclusion of Latin characters in text using ideographic fixed-width characters, like Chinese or Japanese ([Firefox bug 774560](https://bugzil.la/774560)). +- 实现了 {{cssxref("page-break-inside")}} ([Firefox bug 685012](https://bugzil.la/685012)). - {{cssxref("calc", "calc()")}} 函数可以使用在 `` 上 ( {{cssxref("<gradient>")}}上的一个值). -- 实现了 {{cssxref("@page")}} @规则 ({{bug("115199")}}).但是 {{cssxref(":first")}}, {{cssxref(":right")}}, {{cssxref(":left")}} 仍没实现。 -- {{cssxref(":-moz-placeholder")}} 伪类替换成 {{cssxref("::-moz-placeholder")}} 伪元素 ({{bug("737786")}}). +- 实现了 {{cssxref("@page")}} @规则 ([Firefox bug 115199](https://bugzil.la/115199)).但是 {{cssxref(":first")}}, {{cssxref(":right")}}, {{cssxref(":left")}} 仍没实现。 +- {{cssxref(":-moz-placeholder")}} 伪类替换成 {{cssxref("::-moz-placeholder")}} 伪元素 ([Firefox bug 737786](https://bugzil.la/737786)). ### DOM -- {{domxref("element.getElementsByTagName")}} 方法开始返回 `HTMLCollection` 对象,而不是以前的 `NodeList` 对象。({{bug("799464")}}). -- 实现了 {{domxref("File")}} 对象的 `mozLastModifiedDate` 属性。({{bug("793955")}}) -- 当 {{domxref("File")}} 对象的最后修改时间无法获取到时,它的 lastModifiedDate 属性会返回当前日期。({{bug("793459")}} -- 实现了 {{domxref("CanvasRenderingContext2D")}}对象的 `isPointInStroke` 方法。({{bug("803124")}}). -- 实现了 {{domxref("HTMLCanvasElement")}} 对象的 `toBlob` 方法 ({{bug("648610")}}). -- {{domxref("Node.isSupported")}} 和 {{domxref("document.implementation", "document.implementation.hasFeature()")}} 方法会总是放回 `true` ({{bug("801425")}}). +- {{domxref("element.getElementsByTagName")}} 方法开始返回 `HTMLCollection` 对象,而不是以前的 `NodeList` 对象。([Firefox bug 799464](https://bugzil.la/799464)). +- 实现了 {{domxref("File")}} 对象的 `mozLastModifiedDate` 属性。([Firefox bug 793955](https://bugzil.la/793955)) +- 当 {{domxref("File")}} 对象的最后修改时间无法获取到时,它的 lastModifiedDate 属性会返回当前日期。([Firefox bug 793459](https://bugzil.la/793459) +- 实现了 {{domxref("CanvasRenderingContext2D")}}对象的 `isPointInStroke` 方法。([Firefox bug 803124](https://bugzil.la/803124)). +- 实现了 {{domxref("HTMLCanvasElement")}} 对象的 `toBlob` 方法 ([Firefox bug 648610](https://bugzil.la/648610)). +- {{domxref("Node.isSupported")}} 和 {{domxref("document.implementation", "document.implementation.hasFeature()")}} 方法会总是放回 `true` ([Firefox bug 801425](https://bugzil.la/801425)). - 当调用 `document.createElement(null)` 时,`null` 会被转换成字符串,就像执行了 `document.createElement("null")`。 ### XForms @@ -43,8 +43,8 @@ Firefox 19 已于 2013 年 2 月 19 日正式发布。 > **备注:** A key change in Firefox 19 is that [`nsresult`](/zh-CN/docs/XPCOM_API_Reference/nsresult) is now strongly typed. This will help make it easier to detect bugs that are caused by mishandling of return values, but may cause existing code to break if it's making incorrect assumptions in this regard. -- `getBrowserSelection()` now returns the selected text in a text input field. As a result, `gContextMenu.isTextSelected` will be `true` when the user selects text in a text input field that is not a password field. ({{bug("565717")}}) -- [Dict.jsm](/zh-CN/docs/Mozilla/JavaScript_code_modules/Dict.jsm): [`Dict()`](/zh-CN/docs/Mozilla/JavaScript_code_modules/Dict.jsm#Creating_a_dictionary) now takes a JSON String. [`Dict.toJSON()`]() was added, and it returns a JSON String. ({{bug("727967")}}) +- `getBrowserSelection()` now returns the selected text in a text input field. As a result, `gContextMenu.isTextSelected` will be `true` when the user selects text in a text input field that is not a password field. ([Firefox bug 565717](https://bugzil.la/565717)) +- [Dict.jsm](/zh-CN/docs/Mozilla/JavaScript_code_modules/Dict.jsm): [`Dict()`](/zh-CN/docs/Mozilla/JavaScript_code_modules/Dict.jsm#Creating_a_dictionary) now takes a JSON String. [`Dict.toJSON()`]() was added, and it returns a JSON String. ([Firefox bug 727967](https://bugzil.la/727967)) ### 接口变化 diff --git a/files/zh-cn/mozilla/firefox/releases/20/index.md b/files/zh-cn/mozilla/firefox/releases/20/index.md index 5c80b11403e267..f83ae26bfdc572 100644 --- a/files/zh-cn/mozilla/firefox/releases/20/index.md +++ b/files/zh-cn/mozilla/firefox/releases/20/index.md @@ -11,36 +11,36 @@ Firefox 20 正式版发布于 2013 年 4 月 2 日。 ### HTML -- 实现了{{HTMLElement("a")}}和{{HTMLElement("area")}}元素上的[`download`](/zh-CN/docs/Web/HTML/Element/a#download)属性 ({{bug("676619")}}). -- [全局属性](/zh-CN/docs/HTML/Global_attributes) [`dir`](/zh-CN/docs/HTML/Global_attributes#attr-dir) 的值开始支持 `auto` ({{bug("548206")}}). +- 实现了{{HTMLElement("a")}}和{{HTMLElement("area")}}元素上的[`download`](/zh-CN/docs/Web/HTML/Element/a#download)属性 ([Firefox bug 676619](https://bugzil.la/676619)). +- [全局属性](/zh-CN/docs/HTML/Global_attributes) [`dir`](/zh-CN/docs/HTML/Global_attributes#attr-dir) 的值开始支持 `auto` ([Firefox bug 548206](https://bugzil.la/548206)). ### JavaScript -- 实现了`Weakmap.prototype.clear()`方法 ({{bug("814562")}}). -- 实现了[`Math.imul()`](/zh-CN/docs/JavaScript/Reference/Global_Objects/Math/imul)方法,可以进行 C 风格的 32 位整数乘法运算。还不属于 harmony (EcmaScript 6) 提案,所以是非标准的 ({{bug("808148")}}). -- Web apps using draggable text with Kinetic 3.x are working, even when using the Cairo canvas backend. ({{bug("835064")}}) -- E4X 规范中的[for each...in](/zh-CN/docs/JavaScript/Reference/Statements/for_each...in)语句被废弃,请使用 ES6 中的[for...of](/zh-CN/docs/JavaScript/Reference/Statements/for...of)语句代替 ({{Bug("804834")}}). +- 实现了`Weakmap.prototype.clear()`方法 ([Firefox bug 814562](https://bugzil.la/814562)). +- 实现了[`Math.imul()`](/zh-CN/docs/JavaScript/Reference/Global_Objects/Math/imul)方法,可以进行 C 风格的 32 位整数乘法运算。还不属于 harmony (EcmaScript 6) 提案,所以是非标准的 ([Firefox bug 808148](https://bugzil.la/808148)). +- Web apps using draggable text with Kinetic 3.x are working, even when using the Cairo canvas backend. ([Firefox bug 835064](https://bugzil.la/835064)) +- E4X 规范中的[for each...in](/zh-CN/docs/JavaScript/Reference/Statements/for_each...in)语句被废弃,请使用 ES6 中的[for...of](/zh-CN/docs/JavaScript/Reference/Statements/for...of)语句代替 ([Firefox bug 804834](https://bugzil.la/804834)). ### CSS - [CSS Flexbox](/zh-CN/docs/CSS/Using_CSS_flexible_boxes)默认开启,不需要设置 about:config. -- 实现了 [CSS Masking specification](https://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html) 中的 `mask-type` 属性({{bug("793617")}})。 +- 实现了 [CSS Masking specification](https://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html) 中的 `mask-type` 属性([Firefox bug 793617](https://bugzil.la/793617))。 ### DOM -- {{domxref("HTMLMediaElement")}}支持可`playbackRate`属性 (both read and write), with pitch correction. Pitch correction can be controlled using the property `mozPreservesPitch` ({{bug('495040')}}). -- CSSOM: 实现了新的{{domxref("CSSGroupingRule")}}和{{domxref("CSSConditionRule")}} ({{bug("814907")}}). -- CSSOM:{{domxref("CSSRule")}}上的常量 CSSRule.MOZ_KEYFRAME_RULE 和 CSSRule.MOZ_KEYFRAMES_RULE 去掉前缀成为了 CSSRule.KEYFRAME_RULE 和 CSSRule.KEYFRAMES_RULE.带前缀的版本仍暂时保留让开发者过度他们的代码{{bug("816431")}}). -- CSSOM: 现在可以设置 {{domxref("CSSMediaRule")}} 上的 `conditionText` 属性的值({{bug("815021")}})。 -- {{domxref("DOMParser")}}上的 `parseFromStream` 和 `parseFromBuffer` 方法在 web 页面上被禁用.({{bug('816410')}}). -- [`XMLSerializer`](/zh-CN/docs/XMLSerializer)上的`serializeToStream`方法在 web 页面上被禁用.({{bug('816410')}}). -- `TextDecoder`和`TextEncoder`接口可以在 Worker 中使用 ({{bug('795542')}}). -- 实现了 `CSS.supports()` 方法({{bug("779917")}})。 -- 实现了`UndoManager`({{bug("617532")}}). +- {{domxref("HTMLMediaElement")}}支持可`playbackRate`属性 (both read and write), with pitch correction. Pitch correction can be controlled using the property `mozPreservesPitch` ([Firefox bug 495040](https://bugzil.la/495040)). +- CSSOM: 实现了新的{{domxref("CSSGroupingRule")}}和{{domxref("CSSConditionRule")}} ([Firefox bug 814907](https://bugzil.la/814907)). +- CSSOM:{{domxref("CSSRule")}}上的常量 CSSRule.MOZ_KEYFRAME_RULE 和 CSSRule.MOZ_KEYFRAMES_RULE 去掉前缀成为了 CSSRule.KEYFRAME_RULE 和 CSSRule.KEYFRAMES_RULE.带前缀的版本仍暂时保留让开发者过度他们的代码[Firefox bug 816431](https://bugzil.la/816431)). +- CSSOM: 现在可以设置 {{domxref("CSSMediaRule")}} 上的 `conditionText` 属性的值([Firefox bug 815021](https://bugzil.la/815021))。 +- {{domxref("DOMParser")}}上的 `parseFromStream` 和 `parseFromBuffer` 方法在 web 页面上被禁用.([Firefox bug 816410](https://bugzil.la/816410)). +- [`XMLSerializer`](/zh-CN/docs/XMLSerializer)上的`serializeToStream`方法在 web 页面上被禁用.([Firefox bug 816410](https://bugzil.la/816410)). +- `TextDecoder`和`TextEncoder`接口可以在 Worker 中使用 ([Firefox bug 795542](https://bugzil.la/795542)). +- 实现了 `CSS.supports()` 方法([Firefox bug 779917](https://bugzil.la/779917))。 +- 实现了`UndoManager`([Firefox bug 617532](https://bugzil.la/617532)). ## 附加组件和 Mozilla 开发者需要注意的变化 -- 移除了 nsIDOMParserJS 接口{{bug('816410')}}.使用[nsIDOMParser](/zh-CN/docs/nsIDOMParser)来代替。 +- 移除了 nsIDOMParserJS 接口[Firefox bug 816410](https://bugzil.la/816410).使用[nsIDOMParser](/zh-CN/docs/nsIDOMParser)来代替。 ## 相关链接 diff --git a/files/zh-cn/mozilla/firefox/releases/21/index.md b/files/zh-cn/mozilla/firefox/releases/21/index.md index d9c612b4172492..7eb1dd57444857 100644 --- a/files/zh-cn/mozilla/firefox/releases/21/index.md +++ b/files/zh-cn/mozilla/firefox/releases/21/index.md @@ -9,43 +9,43 @@ slug: Mozilla/Firefox/Releases/21 ### HTML -- 实现了{{HTMLElement("style")}}元素上的[`scoped`](/zh-CN/docs/Web/HTML/Element/style#scoped)属性。拥有该属性的{{HTMLElement("style")}}元素可以通过在 Firefox 20 中实现的 CSS 伪类{{cssxref(":scope")}}选择器选择到.({{bug("508725")}}). -- 实现了新的{{HTMLElement("main")}}元素 ({{bug("820508")}}). +- 实现了{{HTMLElement("style")}}元素上的[`scoped`](/zh-CN/docs/Web/HTML/Element/style#scoped)属性。拥有该属性的{{HTMLElement("style")}}元素可以通过在 Firefox 20 中实现的 CSS 伪类{{cssxref(":scope")}}选择器选择到.([Firefox bug 508725](https://bugzil.la/508725)). +- 实现了新的{{HTMLElement("main")}}元素 ([Firefox bug 820508](https://bugzil.la/820508)). ### JavaScript -- [E4X](/zh-CN/docs/E4X),一个古老的 JavaScript 扩展 (ECMA-357),已经被删除。因为一直以来,只有 Gecko 支持它.({{bug("788293")}}). -- [parseInt](/zh-CN/docs/JavaScript/Reference/Global_Objects/parseInt)不再将以"0"开头的字符串作为 8 进制数字来解析 ({{bug("786135")}}). +- [E4X](/zh-CN/docs/E4X),一个古老的 JavaScript 扩展 (ECMA-357),已经被删除。因为一直以来,只有 Gecko 支持它.([Firefox bug 788293](https://bugzil.la/788293)). +- [parseInt](/zh-CN/docs/JavaScript/Reference/Global_Objects/parseInt)不再将以"0"开头的字符串作为 8 进制数字来解析 ([Firefox bug 786135](https://bugzil.la/786135)). ### CSS -- {{cssxref("user-select", "-moz-user-select")}}属性的属性值在设置为 `none` 时和设置为 `-moz-none` 时效果等同于,这样才能让 Gecko 和其他内核 WebKit(Chrome, Safari),Presto (Opera) 以及 Trident(Internet Explorer) 中的表现相同 ({{bug("816298")}}). -- On XHTML content, the `auto` value of {{cssxref("hyphens", "-moz-hyphens")}} incorrectly applied hyphenation rules when the language was not explicitly declared. This is fixed by ({{bug("702121")}}). -- CSS 属性{{cssxref("-moz-orient")}}现在支持新的值 `auto`. 当应用到一个{{HTMLElement("meter")}}元素或者{{HTMLElement("progress")}}元素上时,`auto` 就等同于 `horizontal`({{bug("835883")}}). +- {{cssxref("user-select", "-moz-user-select")}}属性的属性值在设置为 `none` 时和设置为 `-moz-none` 时效果等同于,这样才能让 Gecko 和其他内核 WebKit(Chrome, Safari),Presto (Opera) 以及 Trident(Internet Explorer) 中的表现相同 ([Firefox bug 816298](https://bugzil.la/816298)). +- On XHTML content, the `auto` value of {{cssxref("hyphens", "-moz-hyphens")}} incorrectly applied hyphenation rules when the language was not explicitly declared. This is fixed by ([Firefox bug 702121](https://bugzil.la/702121)). +- CSS 属性{{cssxref("-moz-orient")}}现在支持新的值 `auto`. 当应用到一个{{HTMLElement("meter")}}元素或者{{HTMLElement("progress")}}元素上时,`auto` 就等同于 `horizontal`([Firefox bug 835883](https://bugzil.la/835883)). ### DOM -- 实现了{{domxref("window.location")}}上的 `origin` 属性 ({{bug("828261")}}). -- 实现了 `` 对象上的 `valueAsDate` 和 `valueAsNumber` 方法 ({{bug("781570")}}). -- 实现了 `` 对象上的 `min` 和 `max` 属性 ({{bug("781572")}}). -- Some new keyCodes for volume control are supported ({{bug("674739")}}). -- Some new keyCodes for ancient keyboard layout such as AS/400 are now supported on Windows and Linux ({{bug("833719")}}). -- Various keyCode values for OEM sepecific keys on Windows are now supported again ({{bug("833719")}}). -- 实现了[`window.crypto.getRandomValues`](/zh-CN/docs/Web/API/Crypto/getRandomValues)函数 ({{bug("440046")}})。 +- 实现了{{domxref("window.location")}}上的 `origin` 属性 ([Firefox bug 828261](https://bugzil.la/828261)). +- 实现了 `` 对象上的 `valueAsDate` 和 `valueAsNumber` 方法 ([Firefox bug 781570](https://bugzil.la/781570)). +- 实现了 `` 对象上的 `min` 和 `max` 属性 ([Firefox bug 781572](https://bugzil.la/781572)). +- Some new keyCodes for volume control are supported ([Firefox bug 674739](https://bugzil.la/674739)). +- Some new keyCodes for ancient keyboard layout such as AS/400 are now supported on Windows and Linux ([Firefox bug 833719](https://bugzil.la/833719)). +- Various keyCode values for OEM sepecific keys on Windows are now supported again ([Firefox bug 833719](https://bugzil.la/833719)). +- 实现了[`window.crypto.getRandomValues`](/zh-CN/docs/Web/API/Crypto/getRandomValues)函数 ([Firefox bug 440046](https://bugzil.la/440046))。 ### SVG -- 实现了{{cssxref("paint-order")}}属性 ({{bug("828805")}}). +- 实现了{{cssxref("paint-order")}}属性 ([Firefox bug 828805](https://bugzil.la/828805)). ### 网络 - 更新 CSP 实现到最新的 CSP 规范 1.0(CR): - - Support for the spec-compliant `Content-Security-Policy` HTTP header (in addition to the experimental `X-Content-Security-Policy`) has been added ({{bug("783049")}}). **Note**: the patch for this new header landed in Firefox 21, it is disabled on builds ({{bug("842657")}}). + - Support for the spec-compliant `Content-Security-Policy` HTTP header (in addition to the experimental `X-Content-Security-Policy`) has been added ([Firefox bug 783049](https://bugzil.la/783049)). **Note**: the patch for this new header landed in Firefox 21, it is disabled on builds ([Firefox bug 842657](https://bugzil.la/842657)). ## 附加组件和 Mozilla 开发者需要注意的变化 -- FUEL applications cannot use the Livemarks service anymore ({{bug("834492")}}). The Livemarks service is deprecated and phased out in favor of the new async interface. +- FUEL applications cannot use the Livemarks service anymore ([Firefox bug 834492](https://bugzil.la/834492)). The Livemarks service is deprecated and phased out in favor of the new async interface. - History API saw numerous deprecated API being removed: - Replaced by `mozIAsyncFavicons`: diff --git a/files/zh-cn/mozilla/firefox/releases/22/index.md b/files/zh-cn/mozilla/firefox/releases/22/index.md index f40f9898a682f4..b61d7345db4ace 100644 --- a/files/zh-cn/mozilla/firefox/releases/22/index.md +++ b/files/zh-cn/mozilla/firefox/releases/22/index.md @@ -29,29 +29,29 @@ slug: Mozilla/Firefox/Releases/22 - {{domxref("XMLHttpRequest/FormData", "FormData")}}对象的`append`方法现在开始接受第三个参数`filename`([Firefox bug 690659](https://bugzil.la/690659)). - 移除了{{domxref("Node.isSupported")}}方法 ([Firefox bug 801562](https://bugzil.la/801562)). - {{domxref("Node.setUserData")}} and {{domxref("Node.getUserData")}} has been removed for web content and are deprecated for chrome content ([Firefox bug 842372](https://bugzil.la/842372)). -- The {{domxref("Element.attributes")}} property has been moved there from {{domxref("Node")}} as required by the spec ({{bug("844134")}}). +- The {{domxref("Element.attributes")}} property has been moved there from {{domxref("Node")}} as required by the spec ([Firefox bug 844134](https://bugzil.la/844134)). - 实现了 Mac OS X 中的{{domxref("DeviceLightEvent", "Ambient Light Events")}}后端。 - Elements in the HTML namespace with local names {{HTMLElement("bgsound")}}, {{HTMLElement("multicol")}}, and {{HTMLElement("image")}} no longer implement the {{domxref("HTMLSpanElement")}} interface. {{HTMLElement("bgsound")}} and {{HTMLElement("bgsound")}} implement {{domxref("HTMLUnknownElement")}} and {{HTMLElement("image")}} implements {{domxref("HTMLElement")}}. -- The {{ domxref("NodeIterator.detach") }} method has been changed to do nothing ({{bug("823549")}}). -- The {{domxref("BlobEvent")}} interface has been implemented ({{bug("834165")}}). -- The properties `HTMLMediaElement.crossorigin` and `HTMLInputElement.inputmode` has been removed to match the spec in {{domxref("HTMLMediaElement.crossOrigin")}} and `HTMLInputElement.inputMode`, respectively ({{bug("847370")}} and {{bug("850346")}}). +- The {{ domxref("NodeIterator.detach") }} method has been changed to do nothing ([Firefox bug 823549](https://bugzil.la/823549)). +- The {{domxref("BlobEvent")}} interface has been implemented ([Firefox bug 834165](https://bugzil.la/834165)). +- The properties `HTMLMediaElement.crossorigin` and `HTMLInputElement.inputmode` has been removed to match the spec in {{domxref("HTMLMediaElement.crossOrigin")}} and `HTMLInputElement.inputMode`, respectively ([Firefox bug 847370](https://bugzil.la/847370) and [Firefox bug 850346](https://bugzil.la/850346)). - WebRTC: the Media Stream API and Peer Connection API are now supported by default. -- Web Components: the {{domxref("Document.register")}} method has been implemented ({{bug("783129")}}). -- The {{domxref("ProgressEvent.initProgressEvent()")}} constructor method has been removed. Uses the standard constructor, {{domxref("ProgressEvent.ProgressEvent", "ProgressEvent()")}} to construc and initialize {{domxref("ProgressEvent")}} ({{bug("843489")}}). -- Manipulated data associated with a [`cut`](/zh-CN/docs/Web/API/Element/cut_event), [`copy`](/zh-CN/docs/Web/API/Element/copy_event), or [`paste`](/zh-CN/docs/Web/API/Element/paste_event) event can now be accessed via the {{domxref("ClipboardEvent.clipboardData")}} property ({{bug("407983")}}). -- The {{domxref("HTMLTimeElement")}} interface has been implemented ({{bug("629801")}}). -- When a {{domxref("Worker")}} constructor is passed an invalid URL, it now throws {{domxref("DOMException")}} of type `SECURITY_ERR` ({{bug("587251")}}). +- Web Components: the {{domxref("Document.register")}} method has been implemented ([Firefox bug 783129](https://bugzil.la/783129)). +- The {{domxref("ProgressEvent.initProgressEvent()")}} constructor method has been removed. Uses the standard constructor, {{domxref("ProgressEvent.ProgressEvent", "ProgressEvent()")}} to construc and initialize {{domxref("ProgressEvent")}} ([Firefox bug 843489](https://bugzil.la/843489)). +- Manipulated data associated with a [`cut`](/zh-CN/docs/Web/API/Element/cut_event), [`copy`](/zh-CN/docs/Web/API/Element/copy_event), or [`paste`](/zh-CN/docs/Web/API/Element/paste_event) event can now be accessed via the {{domxref("ClipboardEvent.clipboardData")}} property ([Firefox bug 407983](https://bugzil.la/407983)). +- The {{domxref("HTMLTimeElement")}} interface has been implemented ([Firefox bug 629801](https://bugzil.la/629801)). +- When a {{domxref("Worker")}} constructor is passed an invalid URL, it now throws {{domxref("DOMException")}} of type `SECURITY_ERR` ([Firefox bug 587251](https://bugzil.la/587251)). ### CSS -- Support for [CSS Flexbox layout](/zh-CN/docs/CSS/Tutorials/Using_CSS_flexible_boxes) has been enabled by default ({{bug("841876")}}). -- Following a spec change, the initial value for {{cssxref("min-width")}} and {{cssxref("min-height")}} has been changed back to `0`, even on flex items ({{bug("848539")}}). -- Support for CSS Conditionals ({{cssxref("@supports")}} and {{domxref("CSS.supports")}}) has been enabled by default ({{bug("855455")}}). -- Support for {{cssxref("background-clip")}} and {{cssxref("background-origin")}} properties in the {{cssxref("background")}} shorthand has been implemented ({{bug("570896")}}). +- Support for [CSS Flexbox layout](/zh-CN/docs/CSS/Tutorials/Using_CSS_flexible_boxes) has been enabled by default ([Firefox bug 841876](https://bugzil.la/841876)). +- Following a spec change, the initial value for {{cssxref("min-width")}} and {{cssxref("min-height")}} has been changed back to `0`, even on flex items ([Firefox bug 848539](https://bugzil.la/848539)). +- Support for CSS Conditionals ({{cssxref("@supports")}} and {{domxref("CSS.supports")}}) has been enabled by default ([Firefox bug 855455](https://bugzil.la/855455)). +- Support for {{cssxref("background-clip")}} and {{cssxref("background-origin")}} properties in the {{cssxref("background")}} shorthand has been implemented ([Firefox bug 570896](https://bugzil.la/570896)). ## 附加组件和 Mozilla 开发者需要注意的变化 -- 移除了下面这些方法中的`properties`参数:`nsITreeView.getCellProperties()`, `nsITreeView.getColumnProperties()` and `nsITreeView.getRowProperties()` methods of `nsITreeView`. These methods should now return a string of space-separated property names. ({{bug('407956')}}) +- 移除了下面这些方法中的`properties`参数:`nsITreeView.getCellProperties()`, `nsITreeView.getColumnProperties()` and `nsITreeView.getRowProperties()` methods of `nsITreeView`. These methods should now return a string of space-separated property names. ([Firefox bug 407956](https://bugzil.la/407956)) - The `inIDOMUtils.getCSSPropertyNames()` method has been implemented and will return all supported [CSS property](/zh-CN/docs/CSS/CSS_Reference) names. - See [here](https://blog.mozilla.org/addons/2013/06/03/compatibility-for-firefox-22/) for more changes. diff --git a/files/zh-cn/mozilla/firefox/releases/25/index.md b/files/zh-cn/mozilla/firefox/releases/25/index.md index 88795f25b3a967..fc691a9725c06b 100644 --- a/files/zh-cn/mozilla/firefox/releases/25/index.md +++ b/files/zh-cn/mozilla/firefox/releases/25/index.md @@ -9,38 +9,38 @@ slug: Mozilla/Firefox/Releases/25 ### CSS -- 新增了 {{cssxref("background-attachment")}} 属性值 `local` ({{bug("483446")}}). -- 新增了一个 Mozilla 私有的媒体查询属性:[`-moz-os-version`](/zh-CN/docs/Web/Guide/CSS/Media_queries#-moz-os-version), 目前该属性只支持 Windows ({{bug("810399")}}). -- 实现了新的 {{cssxref("-moz-osx-font-smoothing")}} CSS 属性 ({{bug("857142")}}) +- 新增了 {{cssxref("background-attachment")}} 属性值 `local` ([Firefox bug 483446](https://bugzil.la/483446)). +- 新增了一个 Mozilla 私有的媒体查询属性:[`-moz-os-version`](/zh-CN/docs/Web/Guide/CSS/Media_queries#-moz-os-version), 目前该属性只支持 Windows ([Firefox bug 810399](https://bugzil.la/810399)). +- 实现了新的 {{cssxref("-moz-osx-font-smoothing")}} CSS 属性 ([Firefox bug 857142](https://bugzil.la/857142)) ### HTML -- 实现了 {{HTMLElement("iframe")}} 元素的 [`srcdoc`](/zh-CN/docs/Web/HTML/Element/iframe#srcdoc) 属性,可以用 HTML 代码来定义 {{HTMLElement("iframe")}} 元素的文档内容 ({{bug("802895")}}). -- `HTMLCanvasElement.toBlob` 方法,当第二个参数指定为 `"image/jpeg"` 时,会接受第三个参数,用来指定 jpeg 图片质量。({{bug("891884")}}). +- 实现了 {{HTMLElement("iframe")}} 元素的 [`srcdoc`](/zh-CN/docs/Web/HTML/Element/iframe#srcdoc) 属性,可以用 HTML 代码来定义 {{HTMLElement("iframe")}} 元素的文档内容 ([Firefox bug 802895](https://bugzil.la/802895)). +- `HTMLCanvasElement.toBlob` 方法,当第二个参数指定为 `"image/jpeg"` 时,会接受第三个参数,用来指定 jpeg 图片质量。([Firefox bug 891884](https://bugzil.la/891884)). ### JavaScript 下面都是 [ECMAScript 6](/zh-CN/docs/Web/JavaScript/ECMAScript_6_support_in_Mozilla) (Harmony) 中的新特性! -- 实现了 `Array.of()` 方法 ({{bug("866849")}}). -- 实现了 `Number.parseInt()` 和 `Number.parseFloat()` 方法 ({{bug("886949")}}). -- 实现了 `Map.prototype.forEach()` 和 `Set.prototype.forEach()` 方法 ({{bug("866847")}}) -- 实现了更多的数学函数:`Math.log10()`, `Math.log2()`, `Math.log1p()`, `Math.expm1()`, `Math.cosh()`, `Math.sinh()`, `Math.tanh()`, `Math.acosh()`, `Math.asinh()`, `Math.atanh()`, `Math.hypot()`, `Math.trunc()`, `Math.sign()` 以及 `Math.cbrt()` ({{bug("894026")}}). -- 实现了八进制整数字面量写法 (比如`0o777`) 和二进制整数字面量写法 (比如`0b111`) ({{bug("717379")}}). -- 实现了 ECMAScript 国际化 API —— ECMA 402 ({{bug("853301")}}) +- 实现了 `Array.of()` 方法 ([Firefox bug 866849](https://bugzil.la/866849)). +- 实现了 `Number.parseInt()` 和 `Number.parseFloat()` 方法 ([Firefox bug 886949](https://bugzil.la/886949)). +- 实现了 `Map.prototype.forEach()` 和 `Set.prototype.forEach()` 方法 ([Firefox bug 866847](https://bugzil.la/866847)) +- 实现了更多的数学函数:`Math.log10()`, `Math.log2()`, `Math.log1p()`, `Math.expm1()`, `Math.cosh()`, `Math.sinh()`, `Math.tanh()`, `Math.acosh()`, `Math.asinh()`, `Math.atanh()`, `Math.hypot()`, `Math.trunc()`, `Math.sign()` 以及 `Math.cbrt()` ([Firefox bug 894026](https://bugzil.la/894026)). +- 实现了八进制整数字面量写法 (比如`0o777`) 和二进制整数字面量写法 (比如`0b111`) ([Firefox bug 717379](https://bugzil.la/717379)). +- 实现了 ECMAScript 国际化 API —— ECMA 402 ([Firefox bug 853301](https://bugzil.la/853301)) ### DOM -- 在 Windows 上新增了 `KeyboardEvent.key` 属性对几个与 IME 有关的键盘按键的支持 ({{bug("865565")}}), 查看 [各按键对应的 key 属性列表](/zh-CN/docs/Web/API/KeyboardEvent#keyname_table_win) 了解详情。 -- Metrofox 的键盘事件和桌面版实现统一 ({{bug("843236")}}). -- 如果使用 preventDefault() 阻止了 keydown 事件的默认行为,则后续的 [keypress 事件就不会触发]() ({{bug("501496")}}) -- 实现了 {{domxref("HTMLIFrameElement")}} 接口的 `srcDoc` 属性,可以用 HTML 代码来定义 {{HTMLElement("iframe")}} 元素的文档内容 ({{bug("802895")}}). -- 实现了 {{domxref("HTMLTableElement")}} 接口的 `createTBody()` 方法,可以用来获取 (创建) 表格的 {{HTMLElement("tbody")}} 子元素 ({{bug("813034")}}). -- {{domxref("Range.collapse")}} 方法的 `toStart` 参数变为可选,且默认值为 `false` ({{bug("891340")}}). -- 按照最新 DOM 规范,`window.Future()` 改名为 `window.Promise()`({{bug("884279")}}). -- 实现了 document.firstElementChild, document.lastElementChild, document.children, document.childElementCount 以及 DocumentFragment 的 `parentNode` 等属性 ({{bug("895974")}}). -- `navigator.geolocation` 属性更新以符合最新规范。它永远不会返回 `null`。当 `geo.enabled` 偏好设置为 `false` 时,它会返回 `undefined` ({{bug("884921")}}). -- {{domxref("ImageData")}} API 在 {{domxref("Worker")}} 内也可用 ({{bug("845545")}}). +- 在 Windows 上新增了 `KeyboardEvent.key` 属性对几个与 IME 有关的键盘按键的支持 ([Firefox bug 865565](https://bugzil.la/865565)), 查看 [各按键对应的 key 属性列表](/zh-CN/docs/Web/API/KeyboardEvent#keyname_table_win) 了解详情。 +- Metrofox 的键盘事件和桌面版实现统一 ([Firefox bug 843236](https://bugzil.la/843236)). +- 如果使用 preventDefault() 阻止了 keydown 事件的默认行为,则后续的 [keypress 事件就不会触发]() ([Firefox bug 501496](https://bugzil.la/501496)) +- 实现了 {{domxref("HTMLIFrameElement")}} 接口的 `srcDoc` 属性,可以用 HTML 代码来定义 {{HTMLElement("iframe")}} 元素的文档内容 ([Firefox bug 802895](https://bugzil.la/802895)). +- 实现了 {{domxref("HTMLTableElement")}} 接口的 `createTBody()` 方法,可以用来获取 (创建) 表格的 {{HTMLElement("tbody")}} 子元素 ([Firefox bug 813034](https://bugzil.la/813034)). +- {{domxref("Range.collapse")}} 方法的 `toStart` 参数变为可选,且默认值为 `false` ([Firefox bug 891340](https://bugzil.la/891340)). +- 按照最新 DOM 规范,`window.Future()` 改名为 `window.Promise()`([Firefox bug 884279](https://bugzil.la/884279)). +- 实现了 document.firstElementChild, document.lastElementChild, document.children, document.childElementCount 以及 DocumentFragment 的 `parentNode` 等属性 ([Firefox bug 895974](https://bugzil.la/895974)). +- `navigator.geolocation` 属性更新以符合最新规范。它永远不会返回 `null`。当 `geo.enabled` 偏好设置为 `false` 时,它会返回 `undefined` ([Firefox bug 884921](https://bugzil.la/884921)). +- {{domxref("ImageData")}} API 在 {{domxref("Worker")}} 内也可用 ([Firefox bug 845545](https://bugzil.la/845545)). ### MathML diff --git a/files/zh-cn/mozilla/firefox/releases/26/index.md b/files/zh-cn/mozilla/firefox/releases/26/index.md index 822aa3b5244299..1230ff54b1f02c 100644 --- a/files/zh-cn/mozilla/firefox/releases/26/index.md +++ b/files/zh-cn/mozilla/firefox/releases/26/index.md @@ -9,8 +9,8 @@ slug: Mozilla/Firefox/Releases/26 ### CSS -- `text-decoration-line` 属性仍然带有前缀,不过现在它把 `'blink'` 也看看成了它的合法属性值,虽然并不会真正的让内容产生闪烁效果 ({{bug("812995")}}). -- 非标准的 [`-moz-text-blink`](/zh-CN/docs/Web/CSS/-moz-text-blink) 属性已被删除 ({{bug("812995")}}). +- `text-decoration-line` 属性仍然带有前缀,不过现在它把 `'blink'` 也看看成了它的合法属性值,虽然并不会真正的让内容产生闪烁效果 ([Firefox bug 812995](https://bugzil.la/812995)). +- 非标准的 [`-moz-text-blink`](/zh-CN/docs/Web/CSS/-moz-text-blink) 属性已被删除 ([Firefox bug 812995](https://bugzil.la/812995)). - 实现了 [CSS Image Values Level 4](http://dev.w3.org/csswg/css-images-4/) 中的 [`image-orientation`](/zh-CN/docs/Web/CSS/image-orientation) 属性,比起 Level 3, Level 4 增加了对 `from-image` 关键字和 EXIF 的支持。 - 支持了 `position:sticky`,需要开启 `layout.css.sticky.enabled` 选项([Firefox bug 886646](https://bugzil.la/886646))。 @@ -20,21 +20,21 @@ _No change._ ### JavaScript -- 实现了 ES6 中的 [`Math`](/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math): `Math.fround()` 方法 ({{bug("900125")}}). +- 实现了 ES6 中的 [`Math`](/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math): `Math.fround()` 方法 ([Firefox bug 900125](https://bugzil.la/900125)). ### Interfaces/APIs/DOM - {{domxref("DOMImplementation.createDocument")}} 方法的第三个参数 `doctype` 成为可选参数([Firefox bug 909859](https://bugzil.la/909859))。 - 实现了新的 {{domxref("element.classList")}} 规范,可以同时添加或删除多个类名,比如 `element.classList.add("x", "y", "z")`([Firefox bug 814014](https://bugzil.la/814014))。 -- 实现了 {{domxref("URL.URL", "URL()")}} 构造函数 ({{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")}} ({{bug("887364")}}). -- The {{domxref("URL")}} interface is now accessible from Web Workers ({{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 ({{bug("785884")}}). +- 实现了 {{domxref("URL.URL", "URL()")}} 构造函数 ([Firefox bug 887364](https://bugzil.la/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](https://bugzil.la/887364)). +- The {{domxref("URL")}} interface is now accessible from Web Workers ([Firefox bug 887364](https://bugzil.la/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](https://bugzil.la/785884)). - Path of the persistent storage has been changed from \/indexedDB to \/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 ({{bug("827713")}}). +- 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](https://bugzil.la/827713)). ### SVG diff --git a/files/zh-cn/mozilla/firefox/releases/27/index.md b/files/zh-cn/mozilla/firefox/releases/27/index.md index a0d3f4182cfe59..d2cb80cbebdbe1 100644 --- a/files/zh-cn/mozilla/firefox/releases/27/index.md +++ b/files/zh-cn/mozilla/firefox/releases/27/index.md @@ -18,7 +18,7 @@ slug: Mozilla/Firefox/Releases/27 ### CSS -- `CSS {{cssxref("cursor")}} 属性值中 -moz-grab` 和 `-moz-grabbing` 关键字脱前缀,成为 `grab` 和 `grabbing` ({{bug("880672")}}). +- `CSS {{cssxref("cursor")}} 属性值中 -moz-grab` 和 `-moz-grabbing` 关键字脱前缀,成为 `grab` 和 `grabbing` ([Firefox bug 880672](https://bugzil.la/880672)). ### HTML @@ -28,8 +28,8 @@ slug: Mozilla/Firefox/Releases/27 [EcmaScript 6](/zh-CN/docs/Web/JavaScript/ECMAScript_6_support_in_Mozilla) (Harmony) 实现了: -- [展开运算符](http://wiki.ecmascript.org/doku.php?id=harmony:spread)支持在函数调用时的实参左边位置使用 ({{bug("762363")}}). -- 实现了多个数学函数 {{jsxref("Global_Objects/Math/hypot", "Math.hypot()")}} ({{bug("896264")}}). +- [展开运算符](http://wiki.ecmascript.org/doku.php?id=harmony:spread)支持在函数调用时的实参左边位置使用 ([Firefox bug 762363](https://bugzil.la/762363)). +- 实现了多个数学函数 {{jsxref("Global_Objects/Math/hypot", "Math.hypot()")}} ([Firefox bug 896264](https://bugzil.la/896264)). ### Interfaces/APIs/DOM diff --git a/files/zh-cn/mozilla/firefox/releases/28/index.md b/files/zh-cn/mozilla/firefox/releases/28/index.md index 1a6e3df1f918f0..87b534624f3a1c 100644 --- a/files/zh-cn/mozilla/firefox/releases/28/index.md +++ b/files/zh-cn/mozilla/firefox/releases/28/index.md @@ -11,8 +11,8 @@ Firefox 28 was released on March 18, 2014. This article lists key changes that a ### Developer Tools -- The {{domxref("console.exception")}} property has been added ({{bug("922214")}}). -- The {{domxref("console.assert")}} property has been added ({{bug("760193")}}). +- The {{domxref("console.exception")}} property has been added ([Firefox bug 922214](https://bugzil.la/922214)). +- The {{domxref("console.assert")}} property has been added ([Firefox bug 760193](https://bugzil.la/760193)). - App Manager: a new Manifest Editor was added. - App Manager: the toolbox used for debugging apps is now embedded in the app manager UI. - Web Console: added a "split console" mode - press Escape to quickly open the console in any other tool. @@ -26,11 +26,11 @@ More details in [this post](https://hacks.mozilla.org/2013/12/split-console-pret ### CSS -- Support for multi-line [flexbox](/zh-CN/docs/Web/Guide/CSS/Flexible_boxes) has been added ({{bug("939901")}}). -- Longhand East Asian [counter styles](/zh-CN/docs/Web/CSS/list-style-type) have been implemented ({{bug("934072")}}). -- Experimental support for the {{cssxref("background-blend-mode")}} property has been added, but is disabled by default ({{bug("841601")}}). -- The `none` value has been added to {{cssxref("font-variant-ligatures")}} ({{bug("913264")}}). -- Support for the :hover user action pseudo-class on pseudo-elements({{bug("922669")}}). +- Support for multi-line [flexbox](/zh-CN/docs/Web/Guide/CSS/Flexible_boxes) has been added ([Firefox bug 939901](https://bugzil.la/939901)). +- Longhand East Asian [counter styles](/zh-CN/docs/Web/CSS/list-style-type) have been implemented ([Firefox bug 934072](https://bugzil.la/934072)). +- Experimental support for the {{cssxref("background-blend-mode")}} property has been added, but is disabled by default ([Firefox bug 841601](https://bugzil.la/841601)). +- The `none` value has been added to {{cssxref("font-variant-ligatures")}} ([Firefox bug 913264](https://bugzil.la/913264)). +- Support for the :hover user action pseudo-class on pseudo-elements([Firefox bug 922669](https://bugzil.la/922669)). ### HTML @@ -40,16 +40,16 @@ More details in [this post](https://hacks.mozilla.org/2013/12/split-console-pret - [ECMAScript 2015](/zh-CN/docs/Web/JavaScript/ECMAScript_6_support_in_Mozilla) implementation continues: - - New `Array` methods have been implemented: {{jsxref("Array.prototype.entries()")}} and {{jsxref("Array.prototype.keys()")}} ({{bug("894658")}}). + - New `Array` methods have been implemented: {{jsxref("Array.prototype.entries()")}} and {{jsxref("Array.prototype.keys()")}} ([Firefox bug 894658](https://bugzil.la/894658)). -- A bug causing that {{jsxref("Object.getOwnPropertyNames()")}} did not see unresolved properties of {{jsxref("Error")}} objects has been fixed ({{bug("724768")}}). +- A bug causing that {{jsxref("Object.getOwnPropertyNames()")}} did not see unresolved properties of {{jsxref("Error")}} objects has been fixed ([Firefox bug 724768](https://bugzil.la/724768)). ### Interfaces/APIs/DOM -- `HTMLVideoElement.canPlayType('video/webm')` now reports `maybe`.({{bug("884275")}}). -- The {{domxref("DocumentFragment.getElementById()")}} method has been implemented. E.g. `document.createDocumentFragment().getElementById()`({{bug("933193")}}). -- The {{domxref("KeyboardEvent.repeat")}} attribute has been implemented ({{bug("600117")}}). -- The {{domxref("File")}} constructor, e.g. `new File(["foo"], "foo.txt")` has been implemented. ({{bug("819900")}}). +- `HTMLVideoElement.canPlayType('video/webm')` now reports `maybe`.([Firefox bug 884275](https://bugzil.la/884275)). +- The {{domxref("DocumentFragment.getElementById()")}} method has been implemented. E.g. `document.createDocumentFragment().getElementById()`([Firefox bug 933193](https://bugzil.la/933193)). +- The {{domxref("KeyboardEvent.repeat")}} attribute has been implemented ([Firefox bug 600117](https://bugzil.la/600117)). +- The {{domxref("File")}} constructor, e.g. `new File(["foo"], "foo.txt")` has been implemented. ([Firefox bug 819900](https://bugzil.la/819900)). - The {{domxref("NavigatorPlugins.plugins", "navigator.plugins")}} is no more enumerable, for privacy reasons ([Firefox bug 757726](https://bugzil.la/757726)). - The two attributes {{domxref("Window.screenX")}} and {{domxref("Window.screenY")}} now return CSS pixels (and no more device pixels) ([Firefox bug 943668](https://bugzil.la/943668)). - The two methods {{domxref("CanvasRenderingContext2D.drawSystemFocusRing()")}} and {{domxref("CanvasRenderingContext2D.drawCustomFocusRing()")}} have been implemented. The preference `canvas.focusring.enabled` must be set to `true` to activate both ([Firefox bug 540456](https://bugzil.la/540456)). @@ -59,7 +59,7 @@ More details in [this post](https://hacks.mozilla.org/2013/12/split-console-pret ### MathML -- Support of "mathvariant" attribute ({{bug("114365")}}). +- Support of "mathvariant" attribute ([Firefox bug 114365](https://bugzil.la/114365)). ### SVG @@ -67,8 +67,8 @@ _No change._ ### Audio/Video -- Support Opus in WebM ({{bug("887978")}}). -- Support VP9 video decoder ({{bug("833023")}}). +- Support Opus in WebM ([Firefox bug 887978](https://bugzil.la/887978)). +- Support VP9 video decoder ([Firefox bug 833023](https://bugzil.la/833023)). ### Network @@ -76,7 +76,7 @@ _No change._ ## Changes for addon and Mozilla developers -- The interface of [DeferredTask.jsm](/zh-CN/docs/Mozilla/JavaScript_code_modules/DeferredTask.jsm) has been changed, and the `isPending()`, `start()`, `flush()`, and `cancel()` methods have been removed ({{bug("940408")}}). +- The interface of [DeferredTask.jsm](/zh-CN/docs/Mozilla/JavaScript_code_modules/DeferredTask.jsm) has been changed, and the `isPending()`, `start()`, `flush()`, and `cancel()` methods have been removed ([Firefox bug 940408](https://bugzil.la/940408)). ## Security diff --git a/files/zh-cn/mozilla/firefox/releases/32/index.md b/files/zh-cn/mozilla/firefox/releases/32/index.md index c930a505a145ee..910758484ef982 100644 --- a/files/zh-cn/mozilla/firefox/releases/32/index.md +++ b/files/zh-cn/mozilla/firefox/releases/32/index.md @@ -48,10 +48,10 @@ Highlights: - {{domxref("KeyboardEvent.getModifierState")}}() 和 {{domxref("MouseEvent.getModifierState")}}() 支持了 "Accel" 虚拟修饰符 ([Firefox bug 1009388](https://bugzil.la/1009388))。 - 实现了 {{domxref("KeyboardEvent.code")}} 属性,不过目前在正式版本中还是禁用状态 ([Firefox bug 865649](https://bugzil.la/865649))。 - Scoped selectors for {{domxref("Document.querySelector()")}} and {{domxref("Document.querySelectorAll()")}}, for example `querySelector(":scope > li")`have been implemented ([Firefox bug 528456](https://bugzil.la/528456)). -- The experimental implementation of the {{domxref("Document.timeline")}} interface, related to the [Web Animation API](http://dev.w3.org/fxtf/web-animations/), has been added ({{bug("998246")}}). It is controlled by `layout.web-animations.api.enabled` preference, enabled only on Nightly and Aurora for the moment. -- The [Data Store API](/zh-CN/docs/Web/API/Data_Store_API) has been made available to [Web Workers](/zh-CN/docs/Web/Guide/Performance/Using_web_workers) ({{bug("949325")}}). It still is only activated for certified applications. -- The [ServiceWorker](/zh-CN/docs/Web/API/ServiceWorker_API) {{domxref("InstallPhaseEvent")}} and {{domxref("InstallEvent")}} interfaces have been implemented ({{ Bug("967264") }}). -- The [MSISDN Verification API](/zh-CN/docs/Web/API/MSISDN_Verification_API), only activated for privileged apps, has been added ({{ Bug("988469") }}). +- The experimental implementation of the {{domxref("Document.timeline")}} interface, related to the [Web Animation API](http://dev.w3.org/fxtf/web-animations/), has been added ([Firefox bug 998246](https://bugzil.la/998246)). It is controlled by `layout.web-animations.api.enabled` preference, enabled only on Nightly and Aurora for the moment. +- The [Data Store API](/zh-CN/docs/Web/API/Data_Store_API) has been made available to [Web Workers](/zh-CN/docs/Web/Guide/Performance/Using_web_workers) ([Firefox bug 949325](https://bugzil.la/949325)). It still is only activated for certified applications. +- The [ServiceWorker](/zh-CN/docs/Web/API/ServiceWorker_API) {{domxref("InstallPhaseEvent")}} and {{domxref("InstallEvent")}} interfaces have been implemented ([Firefox bug 967264](https://bugzil.la/967264)). +- The [MSISDN Verification API](/zh-CN/docs/Web/API/MSISDN_Verification_API), only activated for privileged apps, has been added ([Firefox bug 988469](https://bugzil.la/988469)). - The [Gamepad API](/zh-CN/docs/Web/API/Gamepad_API) is now supported on Firefox for Android ([Firefox bug 852935](https://bugzil.la/852935)). - To match the spec and the evolution of the CSS syntax, minor changes have been done to {{domxref("CSS.escape()")}}. The identifier now can begins with `'--'` and the second dash must not be escaped. Also vendor identifier are no more escaped. ([Firefox bug 1008719](https://bugzil.la/1008719)) - To complete our Hit Regions implementation, {{domxref("MouseEvent.region")}} has been implemented ([Firefox bug 979692](https://bugzil.la/979692)). @@ -69,7 +69,7 @@ _No change._ ### WebRTC -- New constraints for [WebRTC](/zh-CN/docs/Glossary/WebRTC)'s {{domxref("NavigatorUserMedia.getUserMedia", "getUserMedia()")}}, `width`, `height`, and `framerate`, have been added, to limit stream dimensions and frame rate ({{bug("907352")}}): +- New constraints for [WebRTC](/zh-CN/docs/Glossary/WebRTC)'s {{domxref("NavigatorUserMedia.getUserMedia", "getUserMedia()")}}, `width`, `height`, and `framerate`, have been added, to limit stream dimensions and frame rate ([Firefox bug 907352](https://bugzil.la/907352)): ``` { diff --git a/files/zh-cn/mozilla/firefox/releases/41/index.md b/files/zh-cn/mozilla/firefox/releases/41/index.md index 316501c6fc79f2..c26520005e0029 100644 --- a/files/zh-cn/mozilla/firefox/releases/41/index.md +++ b/files/zh-cn/mozilla/firefox/releases/41/index.md @@ -87,9 +87,9 @@ Highlights: - {{domxref("ServiceWorkerGlobalScope.skipWaiting()")}} has been implemented ([Firefox bug 1131352](https://bugzil.la/1131352)). - {{domxref("Clients.claim()")}} has been added ([Firefox bug 1130684](https://bugzil.la/1130684)). - - The other functional events of Service Workers have been made to inherit from {{domxref("ExtendableEvent")}}, giving them access to the {{domxref("ExtendableEvent.waitUntil","waitUntil()")}} method ({{bug("1160527")}}). + - The other functional events of Service Workers have been made to inherit from {{domxref("ExtendableEvent")}}, giving them access to the {{domxref("ExtendableEvent.waitUntil","waitUntil()")}} method ([Firefox bug 1160527](https://bugzil.la/1160527)). -- The {{domxref("CacheStorage")}} and {{domxref("Cache")}} interfaces are now supported ({{bug("1110144")}}). +- The {{domxref("CacheStorage")}} and {{domxref("Cache")}} interfaces are now supported ([Firefox bug 1110144](https://bugzil.la/1110144)). #### WebGL diff --git a/files/zh-cn/mozilla/firefox/releases/59/index.md b/files/zh-cn/mozilla/firefox/releases/59/index.md index e2144c4776d165..f1fbbf68847838 100644 --- a/files/zh-cn/mozilla/firefox/releases/59/index.md +++ b/files/zh-cn/mozilla/firefox/releases/59/index.md @@ -86,7 +86,7 @@ _无变化。_ - 不标准的方法 `Event.getPreventDefault()` 已经被移除了。请使用 {{domxref("Event.defaultPrevented")}} 来决定在{{domxref("Event")}}中是否要调用{{domxref("Event.preventDefault", "preventDefault()")}} 。 - 专用属性 [`Navigator.mozNotification`](/zh-CN/docs/Archive/API/Navigator/mozNotification) 和 `DesktopNotification` 接口已被移除 , 推荐使用标准的 [Notifications API](/zh-CN/docs/Web/API/Notifications_API) ([Firefox bug 952453](https://bugzil.la/952453)). -- 专用方法 `window.external.addSearchEngine()`已被移除 ({{bug("862147")}})。欲了解更多细节,参见 {{domxref("Window.sidebar")}} 。 +- 专用方法 `window.external.addSearchEngine()`已被移除 ([Firefox bug 862147](https://bugzil.la/862147))。欲了解更多细节,参见 {{domxref("Window.sidebar")}} 。 ### SVG diff --git a/files/zh-cn/mozilla/firefox/releases/78/index.md b/files/zh-cn/mozilla/firefox/releases/78/index.md index ac1ff9ef94961c..6aa09735e16fa0 100644 --- a/files/zh-cn/mozilla/firefox/releases/78/index.md +++ b/files/zh-cn/mozilla/firefox/releases/78/index.md @@ -15,20 +15,20 @@ slug: Mozilla/Firefox/Releases/78 #### 调试器 -- 现在,您可以从[关于:调试](/zh-CN/docs/Tools/about:debugging#Connecting_to_a_remote_device)面板更改远程设备访问的 URL。({{bug("1617237")}}) -- 现在,[调试器](/zh-CN/docs/Tools/Debugger/UI_Tour)中的 **禁用 JavaScript** 菜单项仅影响当前选项卡,并且在关闭“开发人员工具”后会重置。({{bug("1640318")}}) -- 如果在[作用域](/zh-CN/docs/Tools/Debugger/UI_Tour#Scopes)中启用**映射**,则[日志点](/zh-CN/docs/Tools/Debugger/Set_a_logpoint)可以将源映射代码中的变量名称映射回其原始名称。({{bug("1536857")}}) +- 现在,您可以从[关于:调试](/zh-CN/docs/Tools/about:debugging#Connecting_to_a_remote_device)面板更改远程设备访问的 URL。([Firefox bug 1617237](https://bugzil.la/1617237)) +- 现在,[调试器](/zh-CN/docs/Tools/Debugger/UI_Tour)中的 **禁用 JavaScript** 菜单项仅影响当前选项卡,并且在关闭“开发人员工具”后会重置。([Firefox bug 1640318](https://bugzil.la/1640318)) +- 如果在[作用域](/zh-CN/docs/Tools/Debugger/UI_Tour#Scopes)中启用**映射**,则[日志点](/zh-CN/docs/Tools/Debugger/Set_a_logpoint)可以将源映射代码中的变量名称映射回其原始名称。([Firefox bug 1536857](https://bugzil.la/1536857)) #### 网络监控器 -- In the [Network Monitor](/zh-CN/docs/Tools/Network_Monitor/request_list#Network_request_columns), you can now resize the columns of the request list by dragging the column borders anywhere in the table. ({{bug("1618409")}}) -- The [request details panel](/zh-CN/docs/Tools/Network_Monitor/request_details) in the Network Monitor has some UX improvements. ({{bug("1631302")}}, {{bug("1631295")}}) -- If a request was blocked, the [request list](/zh-CN/docs/Tools/Network_Monitor/request_list) now shows the reason, such as an add-on, CSP, CORS, or Enhanced Tracking Protection. ({{bug("1555057")}}, {{bug("1445637")}}, {{bug("1556451")}}) +- In the [Network Monitor](/zh-CN/docs/Tools/Network_Monitor/request_list#Network_request_columns), you can now resize the columns of the request list by dragging the column borders anywhere in the table. ([Firefox bug 1618409](https://bugzil.la/1618409)) +- The [request details panel](/zh-CN/docs/Tools/Network_Monitor/request_details) in the Network Monitor has some UX improvements. ([Firefox bug 1631302](https://bugzil.la/1631302), [Firefox bug 1631295](https://bugzil.la/1631295)) +- If a request was blocked, the [request list](/zh-CN/docs/Tools/Network_Monitor/request_list) now shows the reason, such as an add-on, CSP, CORS, or Enhanced Tracking Protection. ([Firefox bug 1555057](https://bugzil.la/1555057), [Firefox bug 1445637](https://bugzil.la/1445637), [Firefox bug 1556451](https://bugzil.la/1556451)) #### 其他工具 -- The [Accessibility](/zh-CN/docs/Tools/Accessibility_inspector) inspector is out of beta. You can use it to check for various accessibility issues on your site. ({{bug("1602075")}}) -- Uncaught promise errors now provide all details in the Console, including their name and stack. ({{bug("1636590")}}) +- The [Accessibility](/zh-CN/docs/Tools/Accessibility_inspector) inspector is out of beta. You can use it to check for various accessibility issues on your site. ([Firefox bug 1602075](https://bugzil.la/1602075)) +- Uncaught promise errors now provide all details in the Console, including their name and stack. ([Firefox bug 1636590](https://bugzil.la/1636590)) ### CSS diff --git a/files/zh-cn/web/api/domtokenlist/index.md b/files/zh-cn/web/api/domtokenlist/index.md index 80b28a4c3613dd..8e68f214fd5050 100644 --- a/files/zh-cn/web/api/domtokenlist/index.md +++ b/files/zh-cn/web/api/domtokenlist/index.md @@ -92,4 +92,4 @@ span.textContent = `span classList is "${classes}"`; ## 参见 - {{ domxref("DOMSettableTokenList") }} (object that extends DOMTokenList with settable _.value_ property) -- {{ bug("501257") }} - Implement HTML 5's HTMLElement.classList property +- [Firefox bug 501257](https://bugzil.la/501257) - Implement HTML 5's HTMLElement.classList property diff --git a/files/zh-cn/web/api/event/comparison_of_event_targets/index.md b/files/zh-cn/web/api/event/comparison_of_event_targets/index.md index 13245772c2a7f2..26158d1e1e6102 100644 --- a/files/zh-cn/web/api/event/comparison_of_event_targets/index.md +++ b/files/zh-cn/web/api/event/comparison_of_event_targets/index.md @@ -85,7 +85,7 @@ There are 5 targets to consider: some reason other than an anonymous boundary crossing, this will be set to the target before the retargeting occurs. For example, mouse events are retargeted to their parent node when they happen over text nodes - ({{ Bug("185889") }}), and in that case .target will + ([Firefox bug 185889](https://bugzil.la/185889)), and in that case .target will show the parent and .explicitOriginalTarget will show the text node.
Unlike .originalTarget, .explicitOriginalTarget will never contain anonymous diff --git a/files/zh-cn/web/api/event/defaultprevented/index.md b/files/zh-cn/web/api/event/defaultprevented/index.md index c792c2610b6405..3409210f6895c0 100644 --- a/files/zh-cn/web/api/event/defaultprevented/index.md +++ b/files/zh-cn/web/api/event/defaultprevented/index.md @@ -9,7 +9,7 @@ slug: Web/API/Event/defaultPrevented 返回一个布尔值,表明当前事件是否调用了 {{ domxref("event.preventDefault()") }}方法。 -> **备注:** 你应该使用该属性来代替以前的非标准的已经被废弃的`getPreventDefault()`方法 (查看{{ bug("691151") }}). +> **备注:** 你应该使用该属性来代替以前的非标准的已经被废弃的`getPreventDefault()`方法 (查看[Firefox bug 691151](https://bugzil.la/691151)). ## 语法 diff --git a/files/zh-cn/web/api/file/index.md b/files/zh-cn/web/api/file/index.md index a19ff5f688e48b..f9f5e6ca0dd951 100644 --- a/files/zh-cn/web/api/file/index.md +++ b/files/zh-cn/web/api/file/index.md @@ -60,7 +60,7 @@ _`File` 接口没有定义任何方法,但是它从 {{domxref("Blob")}} 接口 new File( Array parts, String filename, BlobPropertyBag properties); ``` -- 下列非标准属性及方法在 Gecko 7 中就被移除了:{{domxref("File.fileName")}}、{{domxref("File.fileSize")}}、{{domxref("File.getAsBinary()")}}、{{domxref("File.getAsDataURL()")}}、{{domxref("File.getAsText()","File.getAsText(string encoding)")}} ({{bug("661876")}})。应当使用 {{domxref("File.name")}}、{{domxref("Blob.size")}},和 {{domxref("FileReader")}} 的方法来代替。 +- 下列非标准属性及方法在 Gecko 7 中就被移除了:{{domxref("File.fileName")}}、{{domxref("File.fileSize")}}、{{domxref("File.getAsBinary()")}}、{{domxref("File.getAsDataURL()")}}、{{domxref("File.getAsText()","File.getAsText(string encoding)")}} ([Firefox bug 661876](https://bugzil.la/661876))。应当使用 {{domxref("File.name")}}、{{domxref("Blob.size")}},和 {{domxref("FileReader")}} 的方法来代替。 ## 参见 diff --git a/files/zh-cn/web/api/htmlelement/change_event/index.md b/files/zh-cn/web/api/htmlelement/change_event/index.md index e8d950a885c0a6..4260b09d183429 100644 --- a/files/zh-cn/web/api/htmlelement/change_event/index.md +++ b/files/zh-cn/web/api/htmlelement/change_event/index.md @@ -116,4 +116,4 @@ function updateValue(e) { {{Compat}} -对于一些特定类型的交互是否要触发 `change` 事件,不同浏览器的意见并不总是一致的。例如,在 Gecko 的 {{HTMLElement("select")}} 元素中使用键盘导航,除非用户按下 Enter 键或将焦点从 `` 上移走(参见 [Firefox bug 126379](https://bugzil.la/126379)),否则不会触发 `change` 事件。但从 Firefox 63(Quantum)开始,这个行为在已经在主流浏览器中达成一致。 diff --git a/files/zh-cn/web/api/idbdatabase/createobjectstore/index.md b/files/zh-cn/web/api/idbdatabase/createobjectstore/index.md index 24a7c9fb3b1be3..0e051f61c00a76 100644 --- a/files/zh-cn/web/api/idbdatabase/createobjectstore/index.md +++ b/files/zh-cn/web/api/idbdatabase/createobjectstore/index.md @@ -47,7 +47,7 @@ This method may raise a 此方法可能会抛出一个 {{domxref("DOMException") | Exception | Description | | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `InvalidStateError` | 在非`versionchange`事务中调用时发生。在一些旧版本的 Webkit 浏览器,你必须先调用{{APIRef("IDBVersionChangeRequest.setVersion")}}方法。 | -| `TransactionInactiveError` | 如果对不存在的源数据库发出请求(例如,已被删除的)。此外,在 Firefox 版本小于 41 中,会抛出误导性的 `InvalidStateError` 错误,这一问题现已修复(请参阅 {{Bug("1176165")}})。 | +| `TransactionInactiveError` | 如果对不存在的源数据库发出请求(例如,已被删除的)。此外,在 Firefox 版本小于 41 中,会抛出误导性的 `InvalidStateError` 错误,这一问题现已修复(请参阅 [Firefox bug 1176165](https://bugzil.la/1176165))。 | | `ConstraintError` | 数据库中已存同名的对象存储(名字区分大小写) | | `InvalidAccessError` | 如果 `autoIncrement` 设置为 true,并且 keyPath 是空字符串或包含空字符串的数组。 | diff --git a/files/zh-cn/web/api/idbdatabase/deleteobjectstore/index.md b/files/zh-cn/web/api/idbdatabase/deleteobjectstore/index.md index 2e7106f9be4549..84ca0ed06eaecc 100644 --- a/files/zh-cn/web/api/idbdatabase/deleteobjectstore/index.md +++ b/files/zh-cn/web/api/idbdatabase/deleteobjectstore/index.md @@ -29,7 +29,7 @@ dbInstance.deleteObjectStore(name); | Exception | Description | | -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `InvalidStateError` | Occurs if the method was not called from a `versionchange` transaction callback. For older WebKit browsers, you must call {{ APIRef("IDBVersionChangeRequest.setVersion")}} first. | -| `TransactionInactiveError` | Occurs if a request is made on a source database that doesn't exist (e.g. has been deleted or removed.) In Firefox previous to version 41, an `InvalidStateError` was raised in this case as well, which was misleading; this has now been fixed (see {{Bug("1176165")}}.) | +| `TransactionInactiveError` | Occurs if a request is made on a source database that doesn't exist (e.g. has been deleted or removed.) In Firefox previous to version 41, an `InvalidStateError` was raised in this case as well, which was misleading; this has now been fixed (see [Firefox bug 1176165](https://bugzil.la/1176165).) | | `NotFoundError` | You are trying to delete an object store that does not exist. Names are case sensitive. | ## 示例 diff --git a/files/zh-cn/web/api/idbfactory/open/index.md b/files/zh-cn/web/api/idbfactory/open/index.md index 1a8ece58eaaba6..8914d43543d55b 100644 --- a/files/zh-cn/web/api/idbfactory/open/index.md +++ b/files/zh-cn/web/api/idbfactory/open/index.md @@ -58,9 +58,9 @@ var request = window.indexedDB.open("toDoList", {version: 4, storage: "temporary - version - : 指定数据库版本,当你想要更改数据库格式(比如增加对象存储,非增加记录),必须指定更高版本,通过 versionchange 来更改 - options (version and storage) {{ NonStandardBadge() }} - - : In Gecko, since [version 26](/zh-CN/Firefox/Releases/26), you can include an `options` object as a parameter of {{ domxref("IDBFactory.open") }} that contains the `version` number of the database, plus a storage value that specifies whether you want to use `permanent` (the default value) storage for the IndexedDB, or `temporary` storage (aka shared pool.) See {{ bug("785884") }} for more details. This is a non-standard feature that we are looking to standardise sometime in the future. + - : In Gecko, since [version 26](/zh-CN/Firefox/Releases/26), you can include an `options` object as a parameter of {{ domxref("IDBFactory.open") }} that contains the `version` number of the database, plus a storage value that specifies whether you want to use `permanent` (the default value) storage for the IndexedDB, or `temporary` storage (aka shared pool.) See [Firefox bug 785884](https://bugzil.la/785884) for more details. This is a non-standard feature that we are looking to standardise sometime in the future. -> **备注:** Data in temporary storage persists until the global limit for the pool is reached. The global limit calculation is relatively complex, but we are considering changing it (see {{ Bug("968272") }}). When the global limit is reached, then data for the least recently used origin is deleted. There's also a group limit (eTLD+1 group/domain) which is currently 20% of the global limit. All requets that would exceed the group limit are just rejected. +> **备注:** Data in temporary storage persists until the global limit for the pool is reached. The global limit calculation is relatively complex, but we are considering changing it (see [Firefox bug 968272](https://bugzil.la/968272)). When the global limit is reached, then data for the least recently used origin is deleted. There's also a group limit (eTLD+1 group/domain) which is currently 20% of the global limit. All requets that would exceed the group limit are just rejected. ## 返回 diff --git a/files/zh-cn/web/api/idbtransaction/index.md b/files/zh-cn/web/api/idbtransaction/index.md index 7cfa615719f524..80950f2ed4c18c 100644 --- a/files/zh-cn/web/api/idbtransaction/index.md +++ b/files/zh-cn/web/api/idbtransaction/index.md @@ -7,7 +7,7 @@ slug: Web/API/IDBTransaction `IDBTransacation`接口由[IndexedDB API](/zh-CN/docs/IndexedDB)提供,异步事务使用数据库中的事件对象属性。所有的读取和写入数据均在事务中完成。由{{domxref("IDBDatabase")}}发起事务,通过{{domxref("IDBTransaction")}} 来设置事务的模式(例如:是否只读`readonly`或读写`readwrite`),以及通过{{domxref("IDBObjectStore")}}来发起一个请求。同时你也可以使用它来中止事务。 -Note that as of Firefox 40, IndexedDB transactions have relaxed durability guarantees to increase performance (see {{Bug("1112702")}}.) Previously in a `readwrite` transaction {{domxref("IDBTransaction.oncomplete")}} was fired only when all data was guaranteed to have been flushed to disk. In Firefox 40+ the `complete` event is fired after the OS has been told to write the data but potentially before that data has actually been flushed to disk. The `complete` event may thus be delivered quicker than before, however, there exists a small chance that the entire transaction will be lost if the OS crashes or there is a loss of system power before the data is flushed to disk. Since such catastrophic events are rare most consumers should not need to concern themselves further. +Note that as of Firefox 40, IndexedDB transactions have relaxed durability guarantees to increase performance (see [Firefox bug 1112702](https://bugzil.la/1112702).) Previously in a `readwrite` transaction {{domxref("IDBTransaction.oncomplete")}} was fired only when all data was guaranteed to have been flushed to disk. In Firefox 40+ the `complete` event is fired after the OS has been told to write the data but potentially before that data has actually been flushed to disk. The `complete` event may thus be delivered quicker than before, however, there exists a small chance that the entire transaction will be lost if the OS crashes or there is a loss of system power before the data is flushed to disk. Since such catastrophic events are rare most consumers should not need to concern themselves further. If you must ensure durability for some reason (e.g. you're storing critical data that cannot be recomputed later) you can force a transaction to flush to disk before delivering the `complete` event by creating a transaction using the experimental (non-standard) `readwriteflush` mode (see {{domxref("IDBDatabase.transaction")}}. diff --git a/files/zh-cn/web/api/indexeddb_api/using_indexeddb/index.md b/files/zh-cn/web/api/indexeddb_api/using_indexeddb/index.md index 46048782bf29b1..943f44efef82e7 100644 --- a/files/zh-cn/web/api/indexeddb_api/using_indexeddb/index.md +++ b/files/zh-cn/web/api/indexeddb_api/using_indexeddb/index.md @@ -576,7 +576,7 @@ function useDatabase(db) { IndexedDB 使用同源原则,这意味着它把存储空间绑定到了创建它的站点的源(典型情况下,就是站点的域或是子域),所以它不能被任何其他源访问。 -第三方窗口内容(比如 {{htmlelement("iframe")}} 内容)可以访问它所嵌入的源的 IndexedDB 仓库,除非浏览器被设置成[从不接受第三方 cookies](https://support.mozilla.org/en-US/kb/disable-third-party-cookies)(参见 {{bug("1147821")}})。 +第三方窗口内容(比如 {{htmlelement("iframe")}} 内容)可以访问它所嵌入的源的 IndexedDB 仓库,除非浏览器被设置成[从不接受第三方 cookies](https://support.mozilla.org/en-US/kb/disable-third-party-cookies)(参见 [Firefox bug 1147821](https://bugzil.la/1147821))。 ## 浏览器关闭警告 diff --git a/files/zh-cn/web/api/touch_events/using_touch_events/index.md b/files/zh-cn/web/api/touch_events/using_touch_events/index.md index 4924d453927d38..fbf58948177f7e 100644 --- a/files/zh-cn/web/api/touch_events/using_touch_events/index.md +++ b/files/zh-cn/web/api/touch_events/using_touch_events/index.md @@ -115,7 +115,7 @@ The introduction of new input mechanisms results in increased application comple The pointer event model can simplify an application's input processing since a pointer represents input from any input device. Additionally, the pointer event types are very similar to mouse event types (for example, `pointerdown` `pointerup`) thus code to handle pointer events closely matches mouse handling code. -The implementation status of pointer events in browsers is [relatively low](http://caniuse.com/#search=pointer) with IE11 and Edge having complete implementations. Firefox's implementation has been withdrawn because of {{bug("1166347")}}. +The implementation status of pointer events in browsers is [relatively low](http://caniuse.com/#search=pointer) with IE11 and Edge having complete implementations. Firefox's implementation has been withdrawn because of [Firefox bug 1166347](https://bugzil.la/1166347). ## Examples and demos diff --git a/files/zh-cn/web/api/window/find/index.md b/files/zh-cn/web/api/window/find/index.md index 4d0fbfdb335bb2..4e6149c993519f 100644 --- a/files/zh-cn/web/api/window/find/index.md +++ b/files/zh-cn/web/api/window/find/index.md @@ -5,7 +5,7 @@ slug: Web/API/Window/find {{ ApiRef() }} -> **备注:** `window.find()` 可能会在未来版本的 Gecko 中被废弃。查看 {{Bug("672395")}} +> **备注:** `window.find()` 可能会在未来版本的 Gecko 中被废弃。查看 [Firefox bug 672395](https://bugzil.la/672395) ### 概述 @@ -27,7 +27,7 @@ window.find(aString, aCaseSensitive, aBackwards, aWrapAround, - `aWrapAround` - : 布尔值。如果为`true`, 表示为循环搜索。 - `aWholeWord` {{ unimplemented_inline() }} - - : 布尔值。如果为`true`,表示采用全字匹配搜索。该参数无效; 查看 {{ bug("481513") }}. + - : 布尔值。如果为`true`,表示采用全字匹配搜索。该参数无效; 查看 [Firefox bug 481513](https://bugzil.la/481513). - `aSearchInFrames` - : 布尔值。如果为`true`, 表示会搜索框架内的文本。 - `aShowDialog` diff --git a/files/zh-cn/web/api/window/fullscreen/index.md b/files/zh-cn/web/api/window/fullscreen/index.md index a8c7c4354c03ab..004c146b96ad72 100644 --- a/files/zh-cn/web/api/window/fullscreen/index.md +++ b/files/zh-cn/web/api/window/fullscreen/index.md @@ -41,5 +41,5 @@ DOM 0 级。window\.fullScreen 并不属于任何 W3C 规范或技术推荐中 ## 备注 -- 这个属性仅在 Mozilla 1.9(Firefox 3)及之后才有意义。Mozilla 1.8 及早期版本确实有这个属性,但它总是返回 false,即使在窗口确实处于全屏模式的情况下 ({{Bug("127013")}})。 +- 这个属性仅在 Mozilla 1.9(Firefox 3)及之后才有意义。Mozilla 1.8 及早期版本确实有这个属性,但它总是返回 false,即使在窗口确实处于全屏模式的情况下 ([Firefox bug 127013](https://bugzil.la/127013))。 - 在常规窗口与全屏窗口之间切换会在相应的窗口中触发“resize”事件。 diff --git a/files/zh-cn/web/api/xmlhttprequest/xmlhttprequest/index.md b/files/zh-cn/web/api/xmlhttprequest/xmlhttprequest/index.md index de7405b202b8dc..e9116b625c89c5 100644 --- a/files/zh-cn/web/api/xmlhttprequest/xmlhttprequest/index.md +++ b/files/zh-cn/web/api/xmlhttprequest/xmlhttprequest/index.md @@ -25,9 +25,9 @@ const request = new XMLHttpRequest(); ## 非标准 Firefox 语法 -Firefox 16 added a non-standard parameter to the constructor that can enable anonymous mode (see {{Bug("692677")}}). Setting the `mozAnon` flag to `true` effectively resembles the [`AnonXMLHttpRequest()`](http://www.w3.org/TR/2012/WD-XMLHttpRequest-20120117/#dom-anonxmlhttprequest) constructor described in older versions of the XMLHttpRequest specification. +Firefox 16 added a non-standard parameter to the constructor that can enable anonymous mode (see [Firefox bug 692677](https://bugzil.la/692677)). Setting the `mozAnon` flag to `true` effectively resembles the [`AnonXMLHttpRequest()`](http://www.w3.org/TR/2012/WD-XMLHttpRequest-20120117/#dom-anonxmlhttprequest) constructor described in older versions of the XMLHttpRequest specification. -Gecko/Firefox 16 为该构造方法新增了一个非标准的参数,以启用匿名模式(参见 {{Bug("692677")}})。将 `mozAnon` 属性设置为 `true`,即可有效地模拟 [`AnonXMLHttpRequest()`](http://www.w3.org/TR/2012/WD-XMLHttpRequest-20120117/#dom-anonxmlhttprequest) 构造器。此构造器在早先的 XMLHttpRequest 规范中有描述,但并未在任何浏览器中被实现。 +Gecko/Firefox 16 为该构造方法新增了一个非标准的参数,以启用匿名模式(参见 [Firefox bug 692677](https://bugzil.la/692677))。将 `mozAnon` 属性设置为 `true`,即可有效地模拟 [`AnonXMLHttpRequest()`](http://www.w3.org/TR/2012/WD-XMLHttpRequest-20120117/#dom-anonxmlhttprequest) 构造器。此构造器在早先的 XMLHttpRequest 规范中有描述,但并未在任何浏览器中被实现。 ```plain const request = new XMLHttpRequest(paramsDictionary); diff --git a/files/zh-cn/web/css/cursor/index.md b/files/zh-cn/web/css/cursor/index.md index 4cb4638e13c1d2..14f96d008bf560 100644 --- a/files/zh-cn/web/css/cursor/index.md +++ b/files/zh-cn/web/css/cursor/index.md @@ -147,7 +147,7 @@ cursor: url(one.svg), url(two.svg) 5 5, progress; no-drop no-drop.gif - 当前位置不能扔下
{{ bug("275173") }}Windows 或 Mac OS X 中 + 当前位置不能扔下
Firefox bug 275173Windows 或 Mac OS X 中 "no-drop 与 not-allowed 相同". @@ -174,7 +174,7 @@ cursor: url(one.svg), url(two.svg) 5 5, progress; all-scroll all-scroll.gif - 元素可任意方向滚动(平移).
{{ bug("275174") }}Windows + 元素可任意方向滚动(平移).
Firefox bug 275174Windows 中,"all-scrollmove 相同". diff --git a/files/zh-cn/web/css/flex-basis/index.md b/files/zh-cn/web/css/flex-basis/index.md index 65a121852e0246..01aeec4f010aee 100644 --- a/files/zh-cn/web/css/flex-basis/index.md +++ b/files/zh-cn/web/css/flex-basis/index.md @@ -49,7 +49,7 @@ flex-basis: unset; > > - 最初,"flex-basis:auto" 的含义是 "参照我的`width`和`height`属性". > - 在此之后,"flex-basis:auto" 的含义变成了自动尺寸,而 "main-size" 变成了 "参照我的`width`和`height`属性"。实际执行于 [bug 1032922](https://bugzilla.mozilla.org/show_bug.cgi?id=1032922). - > - 然后呢,这个更改又在 [bug 1093316](https://bugzilla.mozilla.org/show_bug.cgi?id=1093316) 中被撤销了,所以 "auto" 变回了原来的含义; 而一个新的关键字 'content' 变成了自动尺寸。 ({{bug("1105111")}} 包括了增加这个关键字). + > - 然后呢,这个更改又在 [bug 1093316](https://bugzilla.mozilla.org/show_bug.cgi?id=1093316) 中被撤销了,所以 "auto" 变回了原来的含义; 而一个新的关键字 'content' 变成了自动尺寸。 ([Firefox bug 1105111](https://bugzil.la/1105111) 包括了增加这个关键字). ### 规范 diff --git a/files/zh-cn/web/html/element/embed/index.md b/files/zh-cn/web/html/element/embed/index.md index c8dc3cc7beb9e7..d23f369781c308 100644 --- a/files/zh-cn/web/html/element/embed/index.md +++ b/files/zh-cn/web/html/element/embed/index.md @@ -63,7 +63,7 @@ slug: Web/HTML/Element/embed ## 浏览器兼容性 -> **备注:** 不同浏览器之间显示有差异。Blink 内核浏览器(Chrome,Opera)会显示 HTML 资源的内容,但 Firefox 会显示一条通知消息,指出内容需要一个插件(见 {{Bug("730768")}})。建议使用 \ 或 \