Firefox 9 for developers

  • Revision slug: Firefox_9_for_developers
  • Revision title: Firefox 9 for developers
  • Revision id: 50464
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment 44 words added

Revision Content

{{ draft() }}

{{ ReleaseChannelInfo("9") }}

Changes for web developers

HTML

  • The value attribute of {{ HTMLElement("li") }} now can be negative as specified in HTML5. Previously negative values were converted to 0.
  • {{ HTMLElement("input") }} and {{ HTMLElement("textarea") }} elements now respect the value of the lang attribute when invoking the spell checker.

CSS

  • The {{ cssxref("font-stretch") }} property is now supported.

DOM

  • The {{ domxref("Node.contains()") }} method is now implemented; this lets you determine if a given node is a descendant of another node.
  • The new {{ domxref("navigator.doNotTrack") }} property lets your content easily determine whether or not the user has enabled their do-no-track preference; if this value is "yes", you should not track the user.

MathML

  • The non-standard restyle value for the actiontype attribute on {{ MathMLElement("maction") }} elements has been removed.

Changes for Mozilla and add-on developers

Interface changes

  • The {{ interface("nsISound") }} interface has a new constant, EVENT_EDITOR_MAX_LEN. The allows for playing the system sound for when more characters than the maximum allowed are typed into a text field. Currently, this is only used on Windows.
  • The {{ interface("nsIScriptError2") }} interface has new timeStamp and innerWindowID properties; in addition, the initWithWindowID() method now takes an inner window ID instead of an outer window ID.
  • The {{ ifattribute("nsIBidiKeyboard", "haveBidiKeyboards") }} attribute has been added; this lets you determine if the system has at least one keyboard installed for each direction: left-to-right and right-to-left.

IDL parser

The IDL parser no longer includes support for the never fully-implemented notion of unique pointers.

See also

{{ languages( { "ja": "ja/Firefox_9_for_developers" } ) }}

Revision Source

<p>{{ draft() }}</p>
<p>{{ ReleaseChannelInfo("9") }}</p>
<h2>Changes for web developers</h2>
<h3>HTML</h3>
<ul> <li>The <code>value</code> attribute of {{ HTMLElement("li") }} now can be negative as specified in HTML5. Previously negative values were converted to 0.</li> <li>{{ HTMLElement("input") }} and {{ HTMLElement("textarea") }} elements <a href="/en/HTML/Controlling_spell_checking_in_HTML_forms#Controlling_the_spellchecker_language" title="en/HTML/Controlling_spell_checking_in_HTML_forms#Controlling_the_spellchecker_language">now respect the value of the <code>lang</code> attribute</a> when invoking the spell checker.</li>
</ul>
<h3>CSS</h3>
<ul> <li>The {{ cssxref("font-stretch") }} property is now supported.</li>
</ul>
<h3>DOM</h3>
<ul> <li>The {{ domxref("Node.contains()") }} method is now implemented; this lets you determine if a given node is a descendant of another node.</li> <li>The new {{ domxref("navigator.doNotTrack") }} property lets your content easily determine whether or not the user has enabled their do-no-track preference; if this value is "yes", you should not track the user.</li>
</ul><h3>MathML</h3>
<ul> <li>The non-standard <code>restyle</code> value for the <code>actiontype</code> attribute on {{ MathMLElement("maction") }} elements has been removed.</li>
</ul>
<h2>Changes for Mozilla and add-on developers</h2>
<ul> <li>The content preference service now <a href="/en/Using_content_preferences#private-browsing" title="en/Using_content_preferences#private-browsing">handles private mode browsing</a> (see {{ bug("679784") }}).</li>
</ul>
<h3>Interface changes</h3>
<ul> <li>The {{ interface("nsISound") }} interface has a new constant, <code>EVENT_EDITOR_MAX_LEN</code>. The allows for playing the system sound for when more characters than the maximum allowed are typed into a text field. Currently, this is only used on Windows.</li> <li>The {{ interface("nsIScriptError2") }} interface has new <code>timeStamp</code> and <code>innerWindowID</code> properties; in addition, the <code>initWithWindowID()</code> method now takes an inner window ID instead of an outer window ID.</li> <li>The {{ ifattribute("nsIBidiKeyboard", "haveBidiKeyboards") }} attribute has been added; this lets you determine if the system has at least one keyboard installed for each direction: left-to-right and right-to-left.</li>
</ul><h3>IDL parser</h3>
<p>The IDL parser no longer includes support for the never fully-implemented notion of unique pointers.</p><h2>See also</h2>
<ul> <li><a href="/en/Firefox_8_for_developers" title="en/Firefox 8 for developers">Firefox 8 for developers</a></li> <li><a href="/en/Firefox_7_for_developers" title="en/Firefox 7 for developers">Firefox 7 for developers</a></li> <li><a href="/en/Firefox_6_for_developers" title="en/Firefox 6 for developers">Firefox 6 for developers</a></li> <li><a href="/en/Firefox_5_for_developers" title="en/Firefox 5 for developers">Firefox 5 for developers </a></li> <li><a href="/en/Firefox_4_for_developers" title="en/Firefox 4 for developers">Firefox 4 for developers </a></li> <li><a href="/en/Firefox_3.6_for_developers" title="en/Firefox 3.6 for developers">Firefox 3.6 for developers </a></li> <li><a href="/En/Firefox_3.5_for_developers" title="en/Firefox 3.5 for developers">Firefox 3.5 for developers</a></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>{{ languages( { "ja": "ja/Firefox_9_for_developers" } ) }}</p>
Revert to this revision