Skip to content

Commit

Permalink
chore(zh): remove all {{bug}} macro (#13257)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Ren <[email protected]>
  • Loading branch information
yin1999 and jasonren0403 authored May 16, 2023
1 parent 320b3db commit f8df896
Show file tree
Hide file tree
Showing 53 changed files with 216 additions and 216 deletions.
4 changes: 2 additions & 2 deletions files/zh-cn/mozilla/firefox/releases/12/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 6 additions & 6 deletions files/zh-cn/mozilla/firefox/releases/15/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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

Expand All @@ -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

Expand Down
8 changes: 4 additions & 4 deletions files/zh-cn/mozilla/firefox/releases/16/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down Expand Up @@ -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))

#### 新增接口

Expand Down
40 changes: 20 additions & 20 deletions files/zh-cn/mozilla/firefox/releases/18/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)).

### 开发者工具

Expand All @@ -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))

#### 新增接口

Expand Down
Loading

0 comments on commit f8df896

Please sign in to comment.