mozilla

Revision 77145 of Firefox 3.5 for developers

  • Revision slug: Firefox_3.5_for_developers
  • Revision title: Firefox 3.5 for developers
  • Revision id: 77145
  • Created:
  • Creator: Andyed
  • Is current revision? No
  • Comment 1 words added, 1 words removed

Revision Content

{{ mediawiki.interwiki('wikimo', 'Firefox3.1', 'Firefox 3.1') }}, code-named "Shiretoko", will be based on Gecko 1.9.1. This page will serve as a starting point for documentation for the Firefox 3.1 project.

Note: Shiretoko source code is in the mozilla-central repository in Mercurial. See the article Mozilla Source Code (Mercurial) for details on how to access the Firefox 3.1 source code.

Please list changes here, so they can be properly documented.

Web site and application changes

CSS changes

Bugfixes
  • The 'ch' unit can now be used anywhere like a regular unit of length, and uses the width of the '0' character to follow the specification ({{ Bug("363706") }}).
CSS 2.1 support
  • Updated ::before and ::after to CSS 2.1.  See this article for information.
Newly supported features
Newly supported properties
  • {{ Cssxref("text-shadow") }}
  • box-shadow as {{ Cssxref("-moz-box-shadow") }}
  • border-image as {{ Cssxref("-moz-border-image") }}
  • column-rule as {{ Cssxref("-moz-column-rule") }}  See this article for details.
  • {{ Cssxref("word-wrap") }}.  See this article for more information.
  • {{ Cssxref("-moz-nativehyperlinktext") }} as a color
  • {{ Cssxref("-moz-mac-unified-toolbar") }} as a -moz-appearance value ({{ Bug("439354") }})
  • pre-line as a {{ Cssxref("white-space") }} value ({{ Bug("230555") }}).  See this article for more information.
  • {{ Cssxref("-moz-win-glass") }} as a -moz-appearance value ({{ Bug("418454") }}).
Newly supported selectors
  • {{ Cssxref(":nth-child") }}
  • {{ Cssxref(":nth-last-child") }}
  • {{ Cssxref(":nth-of-type") }}
  • {{ Cssxref(":nth-last-of-type") }}
  • {{ Cssxref(":first-of-type") }}
  • {{ Cssxref(":last-of-type") }}
  • {{ Cssxref(":only-of-type") }}

HTML changes

  • HTML 5 drag & drop is now supported.  See this blog post for details.
  • New video tag support.

DOM changes

Bugfixes
  • Dispatched events can be redispatched ({{ Bug("412567") }}).
  • DOM 2 Range improvements ({{ Bug("332148") }}).Expand Me
Newly supported features

JavaScript

Newly supported features
  • Object.getPrototypeOf() ({{ Bug("444787") }})
  • <script defer> ({{ Bug("28293") }})

Media

Expand me

Canvas

Newly supported features
  • HTML 5's text APIs ({{ Bug("436904") }}).

SVG

Bugfixes
  • id references are now live ({{ Bug("344258") }}).Expand Me
  • filters now works for foreignObject ({{ Bug("445079") }}).
Newly supported features
  • GetSVGDocument is added for <object> and <iframe> for compatibility.

For XUL and application developers

New features

  • Search textbox widget (<textbox type="search">) ({{ Bug("388811") }}).
  • Drag and Drop between windows ({{ Bug("113934") }}).

Changes to interfaces

  • {{ Interface("mozIStorageStatement") }} had the initialize() method removed as per {{ Bug("434796") }}. Consumers should use the {{ Ifmethod("mozIStorageConnection", "createStatement") }} method instead to get a new statement object.

For theme developers

Please see Theme changes in Firefox 3.1.

Notable bugs fixed

  • <keyset>s now can be removed ({{ Bug("437640") }}).

See also

           

{{ languages( { "fr": "fr/Firefox_3.1_pour_les_d\u00e9veloppeurs", "ja": "ja/Firefox_3.1_for_developers" } ) }}

Revision Source

<p>{{ mediawiki.interwiki('wikimo', 'Firefox3.1', 'Firefox 3.1') }}, code-named "Shiretoko", will be based on Gecko 1.9.1. This page will serve as a starting point for documentation for the Firefox 3.1 project.</p>
<div class="note"><strong>Note: </strong>Shiretoko source code is in the <a class="internal" href="/en/mozilla-central" title="En/Mozilla-central">mozilla-central</a> repository in <a class="internal" href="/en/Mercurial" title="En/Mercurial">Mercurial</a>. See the article <a class="internal" href="/en/Mozilla_Source_Code_(Mercurial)" title="En/Mozilla Source Code (Mercurial)">Mozilla Source Code (Mercurial)</a> for details on how to access the Firefox 3.1 source code.</div>
<p>Please list changes here, so they can be properly documented.</p>
<h3 name="Web_site_and_application_changes">Web site and application changes</h3>
<h4 name="CSS_changes">CSS changes</h4>
<h5 name="Bugfixes">Bugfixes</h5>
<ul> <li>The 'ch' unit can now be used anywhere like a regular unit of length, and uses the width of the '0' character to follow the specification ({{ Bug("363706") }}).</li>
</ul>
<h5>CSS 2.1 support</h5>
<ul> <li>Updated ::before and ::after to CSS 2.1.  See <a class="external" href="/web-tech/2008/08/20/css-21-generated-content" title="http://developer.mozilla.org/editor/fckeditor/core/editor/web-tech/2008/08/20/css-21-generated-content/">this article</a> for information.</li>
</ul>
<h5 name="Newly_supported_features">Newly supported features</h5>
<ul> <li><a href="/en/Media_queries" title="en/Media_queries">Media queries</a></li>
</ul>
<h5 name="Newly_supported_properties">Newly supported properties</h5>
<ul> <li>{{ Cssxref("text-shadow") }}</li> <li>box-shadow as {{ Cssxref("-moz-box-shadow") }}</li> <li>border-image as {{ Cssxref("-moz-border-image") }}</li> <li>column-rule as {{ Cssxref("-moz-column-rule") }}  See <a class="external" href="/web-tech/2008/08/27/3-new-css-3-properties" title="http://developer.mozilla.org/editor/fckeditor/core/editor/web-tech/2008/08/27/3-new-css-3-properties/">this article</a> for details.</li> <li>{{ Cssxref("word-wrap") }}.  See <a class="external" href="/web-tech/2008/08/20/word-wrap-break-word" title="http://developer.mozilla.org/editor/fckeditor/core/editor/web-tech/2008/08/20/word-wrap-break-word/">this article</a> for more information.</li> <li>{{ Cssxref("-moz-nativehyperlinktext") }} as a color</li> <li>{{ Cssxref("-moz-mac-unified-toolbar") }} as a -moz-appearance value ({{ Bug("439354") }})</li> <li><code>pre-line</code> as a {{ Cssxref("white-space") }} value ({{ Bug("230555") }}).  See <a class="external" href="/web-tech/2008/08/20/word-wrap-break-word" title="http://developer.mozilla.org/editor/fckeditor/core/editor/web-tech/2008/08/20/word-wrap-break-word/">this article</a> for more information.</li> <li style="text-align: left;">{{ Cssxref("-moz-win-glass") }} as a -moz-appearance value ({{ Bug("418454") }}).</li>
</ul>
<h5 name="Newly_supported_selectors">Newly supported selectors</h5>
<ul> <li>{{ Cssxref(":nth-child") }}</li> <li>{{ Cssxref(":nth-last-child") }}</li> <li>{{ Cssxref(":nth-of-type") }}</li> <li>{{ Cssxref(":nth-last-of-type") }}</li> <li>{{ Cssxref(":first-of-type") }}</li> <li>{{ Cssxref(":last-of-type") }}</li> <li>{{ Cssxref(":only-of-type") }}</li>
</ul>
<h4 name="DOM_changes">HTML changes</h4>
<ul> <li>HTML 5 drag &amp; drop is now supported.  See <a class="external" href="http://www.xulplanet.com/ndeakin/item/16" title="http://www.xulplanet.com/ndeakin/item/16">this blog post</a> for details.</li> <li>New <code>video</code> tag support.</li>
</ul>
<h4 name="DOM_changes">DOM changes</h4>
<h5 name="Bugfixes_2">Bugfixes</h5>
<ul> <li>Dispatched events can be redispatched ({{ Bug("412567") }}).</li> <li>DOM 2 Range improvements ({{ Bug("332148") }}).<span class="comment">Expand Me</span></li>
</ul>
<h5 name="Newly_supported_features_2">Newly supported features</h5>
<ul> <li>Selectors API (<a href="/en/QuerySelector" title="en/QuerySelector">querySelector</a> and <a href="/en/QuerySelectorAll" title="en/QuerySelectorAll">querySelectorAll</a>)</li> <li><a href="/en/NodeIterator" title="en/NodeIterator">NodeIterator</a> object APIs</li> <li><a href="/en/ReplaceWholeText" title="en/ReplaceWholeText">replaceWholeText</a> method and <a href="/en/WholeText" title="en/WholeText">wholeText</a> property.  (DOM) (See <a class="external" href="/web-tech/2008/09/05/the-text-the-whole-text-and-nothing-but-the-text" title="http://developer.mozilla.org/editor/fckeditor/core/editor/web-tech/2008/09/05/the-text-the-whole-text-and-nothing-but-the-text/">this blog post</a> for information).</li> <li>Geolocation API ({{ Bug("437948") }})</li> <li>Element Traversal API ({{ Bug("447917") }})</li> <li>HTML 5 Drag and Drop API ({{ Bug("356295") }})</li>
</ul>
<h4 name="JavaScript">JavaScript</h4>
<h5 name="Newly_supported_features_3">Newly supported features</h5>
<ul> <li>Object.getPrototypeOf() ({{ Bug("444787") }})</li> <li>&lt;script defer&gt; ({{ Bug("28293") }})</li>
</ul>
<h4 name="Media">Media</h4>
<p><span class="comment">Expand me</span></p>
<ul> <li><a href="/en/HTML/video" title="en/HTML/video">video</a> and <a href="/en/HTML/audio" title="en/HTML/audio">audio</a> elements</li>
</ul>
<h4 name="Canvas">Canvas</h4>
<h5 name="Newly_supported_features_4">Newly supported features</h5>
<ul> <li>HTML 5's text APIs ({{ Bug("436904") }}).</li>
</ul>
<h4 name="SVG">SVG</h4>
<h5 name="Bugfixes_3">Bugfixes</h5>
<ul> <li>id references are now live ({{ Bug("344258") }}).<span class="comment">Expand Me</span></li> <li>filters now works for foreignObject ({{ Bug("445079") }}).</li>
</ul>
<h5 name="Newly_supported_features_5">Newly supported features</h5>
<ul> <li>GetSVGDocument is added for &lt;object&gt; and &lt;iframe&gt; for compatibility.</li>
</ul>
<h3 name="For_XUL_and_application_developers">For XUL and application developers</h3>
<h4 name="New_features">New features</h4>
<ul> <li>Search textbox widget (&lt;textbox type="search"&gt;) ({{ Bug("388811") }}).</li> <li>Drag and Drop between windows ({{ Bug("113934") }}).</li>
</ul>
<h4 name="Changes_to_interfaces">Changes to interfaces</h4>
<ul> <li>{{ Interface("mozIStorageStatement") }} had the <code>initialize()</code> method removed as per {{ Bug("434796") }}. Consumers should use the {{ Ifmethod("mozIStorageConnection", "createStatement") }} method instead to get a new statement object.</li>
</ul>
<h3 name="Notable_bugs_fixed">For theme developers</h3>
<p>Please see <a class="internal" href="/En/Theme_changes_in_Firefox_3.1" title="En/Theme changes in Firefox 3.1">Theme changes in Firefox 3.1</a>.</p>
<h3 name="Notable_bugs_fixed">Notable bugs fixed</h3>
<ul> <li>&lt;keyset&gt;s now can be removed ({{ Bug("437640") }}).</li>
</ul>
<h3 name="See_also">See also</h3>
<ul> <li>{{ mediawiki.interwiki('wikimo', 'Firefox3.1', 'Firefox 3.1 planning center') }}</li> <li><a href="/en/Firefox_3_for_developers" title="en/Firefox_3_for_developers">Firefox 3 for developers</a></li> <li><a href="/en/Firefox_2_for_developers" title="en/Firefox_2_for_developers">Firefox 2 for developers</a></li> <li><a href="/en/Firefox_1.5_for_developers" title="en/Firefox_1.5_for_developers">Firefox 1.5 for developers</a></li>
</ul>
<p>           </p>
<p>{{ languages( { "fr": "fr/Firefox_3.1_pour_les_d\u00e9veloppeurs", "ja": "ja/Firefox_3.1_for_developers" } ) }}</p>
Revert to this revision