--- title: Firefox 15 for developers slug: Mozilla/Firefox/Releases/15 tags: - Firefox - Firefox 15 - Gecko 15 translation_of: Mozilla/Firefox/Releases/15 ---
Firefox 15 shipped on August 28, 2012. This article lists key changes that are useful for not only Web developers to know about, but also Firefox and Gecko developers as well as add-on developers.
size
attribute of the {{ HTMLElement("font") }} element is now handled according the HTML5 spec. It means that all integer greater than 10 or smaller than -10 are now considered equivalent to 10, respectively -10.font-weight
and point-size
attributes on the <font>
element has been removed; these were non-standard and Gecko was the only engine supporting them.media
attribute.font-feature-settings: "lnum" 1;
?
).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.plaintext
of CSS {{cssxref("unicode-bidi")}} property now applies to inline elements too. ({{bug("746987")}}).KeyboardEvent.getModifierState()
and MouseEvent.getModifierState()
, which let you query the state of modifier keys, like Ctrl
or Shift
, have been implemented (bugs 630811 and 731878). But the behavior conforms to the latest D3E draft. So, some modifier key names are different from IE ({{ bug("769190") }}).MouseEvent.buttons
attribute, has been implemented.range.detach()
method has been transformed in a no-op and will probably be removed in the future.HTMLVideoElement.mozHasAudio()
has been implemented. It indicates if there is an audio track associated to a given video element. (bug 480376)Performance
API has a new method, now()
, supporting high resolution timers of type DOMHighResTimeStamp
. (bug 539095).Window.java
and Window.packages
attributes has been removed. These were never documented, and hopefully you're not using them!read
attribute indicating whether an SMS text message is read or unread.Blob
constructor now takes ArrayBufferView
as a member of blobParts
parameter in addition to ArrayBuffer
. (bug 752402)lastModifiedDate
property has been implemented. ({{bug("673586")}})DataView
interface from the Typed Arrays specification has been added. This provides low-level access to the data contained in an ArrayBuffer
.Number.isNaN()
, Number.toInteger()
, Number.isInteger()
, Number.isFinite()
has been added. (bug 749818, bug 761495, bug 761480).ES6中的默认参数
的支持. (bug 757676)ES6中的剩余参数
的支持.(bug 574132)WEBGL_compressed_texture_s3tc
extension has been added. Compressed textures reduce the amount of memory needed to store a texture on the GPU, allowing for higher resolution textures or more of the same resolution textures.selection
attribute of the {{ MathMLElement("maction") }} is now only taken into account with the toggle
actiontype.network.http.spdy.enabled.v3
to true. (bug 737470)aModifiers
of sendMouseEvent()
, sendTouchEvent()
, sendMouseEventToWindow()
, sendMouseScrollEvent()
and sendKeyEvent()
supports all modifier keys which are supported by KeyboardEvent.getModifierState()
. Use MODIFIER_*
values. And now the 5th parameter of sendKeyEvent()
is changed from boolean
to unsigned long
. For backward compatibility, if caller passes true
or false
to it, the behavior isn't changed. This change allows callers to specify the key's location.hidePage()
method was never implemented, and has been removed entirely in this release. The addPageWithDetails()
method has also been removed as part of the ongoing work to make all Places APIs asynchronous; use {{ ifmethod("mozIAsyncHistory", "updatePlaces") }} instead. Also, the count
attribute was removed; it had not returned an actual count in some time (instead, it was simply indicating whether or not any entries existed). You can use {{ ifattribute("nsINavHistoryService", "hasHistoryEntries") }} instead.flags
property. This currently offers only one option: you can now tell it to write the file in UTF-16 format instead of UTF-8, for better compatibility with Windows and certain installers.The following interfaces have been removed.
{{Firefox_for_developers('14')}}