Firefox 20 pour les développeurs

  • Raccourci de la révision : Firefox_20_pour_developeurs
  • Titre de la révision : Firefox 20 pour developpeurs
  • ID de la révision : 362209
  • Créé :
  • Créateur : Martial76
  • Version actuelle ? Non
  • Commentaire

Contenu de la révision

{{ draft() }}

{{ ReleaseChannelInfo("20", "20", "April 2013", "Aurora") }}

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

Changements pour les developpeurs Web

HTML

  • Support for the {{htmlattrxref("download", "a") }} attribute on the {{HTMLElement("a")}} and {{HTMLElement("area")}} element has been added ({{bug("676619")}}).

JavaScript

  • Support for the Weakmap.prototype.clear() method, recently added to the Harmony (EcmaScript 6) draft proposal has been added ({{bug("814562")}}).
  • Support for the Math.imul() method, a C-style 32-bit multiplication function. Though proposed for Harmony (EcmaScript 6) it has not yet accepted and still is non-standard ({{bug("808148")}}).

CSS

  • CSS Flexbox est maintenant disponible par default, sans besoin de modifier une ligne dans le about:config.
  • The mask-type property from the CSS Masking specification has been added ({{bug("793617")}}).

DOM

  • {{domxref("HTMLMediaElement")}} supports now playbackRate (both read and write), with pitch correction. Pitch correction can be controlled using the property mozPreservesPitch ({{bug('495040')}}).
  • CSSOM: Supports for the new {{domxref("CSSGroupingRule")}} and {{domxref("CSSConditionRule")}} has been added ({{bug("814907")}}).
  • CSSOM: On {{domxref("CSSRule")}} the constant CSSRule.MOZ_KEYFRAME_RULE and CSSRule.MOZ_KEYFRAMES_RULE have been unprefixed to CSSRule.KEYFRAME_RULE and CSSRule.KEYFRAMES_RULE. The prefixed version are temporarily kept for helping Web author to transition their code {{bug("816431")}}).
  • CSSOM: It is now possible to set the value of conditionText for {{domxref("CSSMediaRule")}} ({{bug("815021")}}).
  • The {{domxref("DOMParser")}} parseFromStream and parseFromBuffer methods are no longer available from web content ({{bug('816410')}}).
  • The XMLSerializer serializeToStream method is no longer available from web content ({{bug('816410')}}).
  • TextDecoder and TextEncoder interfaces are now available in Workers ({{bug('795542')}}).
  • Support for the CSS.supports() method has been added ({{bug("779917")}}).
  • Support for UndoManager has been added ({{bug("617532")}}).

Changements pour les add-on et les developpeurs Mozilla

  • The nsIDOMParserJS interface no longer exists {{bug('816410')}}. See nsIDOMParser for alternatives.

See also

Older versions

{{Firefox_for_developers('19')}}

Source de la révision

<p>{{ draft() }}</p>
<p>{{ ReleaseChannelInfo("20", "20", "April 2013", "Aurora") }}</p>
<p>Want to help document Firefox 20? See the <a class="external" href="http://beta.elchi3.de/doctracker/#list=fx&amp;version=20.0">list of bugs that need to be written about</a> and pitch in!</p>
<h2 id="Changements_pour_les_developpeurs_Web">Changements pour les developpeurs Web</h2>
<h3 id="HTML">HTML</h3>
<ul>
  <li>Support for the {{htmlattrxref("download", "a") }} attribute on the {{HTMLElement("a")}} and {{HTMLElement("area")}} element has been added ({{bug("676619")}}).</li>
</ul>
<h3 id="JavaScript">JavaScript</h3>
<ul>
  <li>Support for the <code><a href="/en-US/docs/JavaScript/Reference/Global_Objects/WeakMap" title="/en-US/docs/JavaScript/Reference/Global_Objects/WeakMap">Weakmap</a>.prototype.clear()</code> method, recently added to the Harmony (EcmaScript 6) draft proposal has been added ({{bug("814562")}}).</li>
  <li>Support for the <code><a href="/en-US/docs/JavaScript/Reference/Global_Objects/Math/imul" title="/en-US/docs/JavaScript/Reference/Global_Objects/Math/imul">Math.imul()</a></code> method, a C-style 32-bit multiplication function. Though proposed for Harmony (EcmaScript 6) it has not yet accepted and still is non-standard ({{bug("808148")}}).</li>
</ul>
<h3 id="CSS">CSS</h3>
<ul>
  <li><a href="/en-US/docs/CSS/Using_CSS_flexible_boxes" title="/en-US/docs/CSS/Using_CSS_flexible_boxes">CSS Flexbox</a> est maintenant disponible par default, sans besoin de modifier une ligne dans le about:config.</li>
  <li>The <code>mask-type</code> property from the <a href="https://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html" title="https://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html">CSS Masking specification</a> has been added ({{bug("793617")}}).</li>
</ul>
<h3 id="DOM">DOM</h3>
<ul>
  <li>{{domxref("HTMLMediaElement")}} supports now <code>playbackRate</code> (both read and write), with pitch correction. Pitch correction can be controlled using the property <code>mozPreservesPitch</code> ({{bug('495040')}}).</li>
  <li>CSSOM: Supports for the new {{domxref("CSSGroupingRule")}} and {{domxref("CSSConditionRule")}} has been added ({{bug("814907")}}).</li>
  <li>CSSOM: On {{domxref("CSSRule")}} the constant <span id="summary_alias_container"><span id="short_desc_nonedit_display">CSSRule.MOZ_KEYFRAME_RULE</span></span> and <span id="summary_alias_container"><span id="short_desc_nonedit_display">CSSRule.MOZ_KEYFRAMES_RULE</span></span> have been unprefixed to <span id="summary_alias_container"><span id="short_desc_nonedit_display">CSSRule.KEYFRAME_RULE</span></span> and <span id="summary_alias_container"><span id="short_desc_nonedit_display">CSSRule.KEYFRAMES_RULE</span></span>. The prefixed version are temporarily kept for helping Web author to transition their code {{bug("816431")}}).</li>
  <li>CSSOM: It is now possible to set the value of <code>conditionText</code> for {{domxref("CSSMediaRule")}} ({{bug("815021")}}).</li>
  <li>The {{domxref("DOMParser")}} <code>parseFromStream</code> and <code>parseFromBuffer</code> methods are no longer available from web content ({{bug('816410')}}).</li>
  <li>The <code><a href="/en-US/docs/XMLSerializer">XMLSerializer</a></code> <code>serializeToStream</code> method is no longer available from web content ({{bug('816410')}}).</li>
  <li><code>TextDecoder</code> and <code>TextEncoder</code> interfaces are now available in Workers ({{bug('795542')}}).</li>
  <li>Support for the <code>CSS.supports()</code> method has been added ({{bug("779917")}}).</li>
  <li>Support for UndoManager has been added ({{bug("617532")}}).</li>
</ul>
<h2 id="Changements_pour_les_add-on_et_les_developpeurs_Mozilla">Changements pour les add-on et les developpeurs Mozilla</h2>
<ul>
  <li>The nsIDOMParserJS interface no longer exists {{bug('816410')}}. See <a href="/en-US/docs/nsIDOMParser" title="/en-US/docs/nsIDOMParser">nsIDOMParser</a> for alternatives.</li>
</ul>
<h2 id="See_also">See also</h2>
<ul>
  <li><a href="http://www.mozilla.org/en-US/firefox/20.0a2/auroranotes/">Firefox&nbsp;20 Aurora Release Notes</a></li>
  <li><a href="/en-US/docs/Site_Compatibility_for_Firefox_20">Site Compatibility for Firefox 20</a></li>
</ul>
<h3 id="Older_versions">Older versions</h3>
<p>{{Firefox_for_developers('19')}}</p>
Revenir à cette révision