Firefox 26 was released on December 10, 2013. This article lists key changes that are useful not only for web developers, but also Firefox and Gecko developers as well as add-on developers.
Changes for Web developers
CSS
- The
text-decoration-lineproperty, still prefixed, now considers'blink'as a valid value, though it doesn't blink the content at all (bug 812995). - The non-standard
-moz-text-blinkproperty has been removed (bug 812995). - Support for the
image-orientationproperty, in its CSS Images & Values Level 4 version, that is with thefrom-imagekeyword and EXIF support, has been added (bug 825771). - Experimental support for
position: stickyhas been implemented and can be enabled by preflayout.css.sticky.enabled(bug 886646). - The
text-alignproperty now applies to the::-moz-placeholderpseudo-element (bug 915551).
HTML
- The
HTMLSelectElement.selectedOptionsproperty has been implemented (bug 596681). - In the
<input>element of typeemail, values with domain labels longer than 63 chars are no more considered valid (bug 884332). - The
HTMLInputElement.widthandheightproperties now return0when thetypeis notimage(bug 905240). - A
<fieldset>element is now invalid, and can be styled using the:invalidpseudo-class, when one of the elements it contains is invalid (bug 717181).
JavaScript
EcmaScript 2015 implementation continues!
- The ECMAScript 2015 compliant syntax for Generators (yield) has been implemented (bug 666399).
- Generator/Iterator results are now boxed like
{ value: foo, done: bool }(bug 907744). - New mathematical methods have been implemented on
Math:Math.fround()(bug 900125). - The reserved words cannot be used for function names:such a usage now throws a
SyntaxError(bug 907958). - The default parameter syntax has been updated to allow parameters without defaults after default parameters, such as
function f(x=1, y). See bug 777060. GeneratorFunctionis implemented (bug 904701).
Interfaces/APIs/DOM
- Make the last argument (doctype) to
DOMImplementation.createDocumentoptional (bug 909859). - Implement the new
element.classListspecification which permits adding/removing several classes with one call (bug 814014). - The
URL()constructor have been implemented on theURLinterface (bug 887364). - The properties
URLUtils.origin,URLUtils.password, andURLUtils.usernameare now available to all interfaces implementingURLUtils:URL,Location,HTMLAnchorElement, andHTMLAreaElement(bug 887364). - The
URLinterface is now accessible from Web Workers (bug 887364). - IndexedDB can now be used as a "optimistic" storage area so it doesn't require any prompts and data is stored in a pool with LRU eviction policy, in short temporary storage (bug 785884).
- Support for
WaveShaperNode.oversamplehas been added (bug 875277). - Path of the persistent storage has been changed from
<profile>/indexedDBto<profile>/storage/persistent(on b2g from/data/local/indexedDBto/data/local/storage/persistent). - The
Screen.orientationproperty andScreen.lockOrientation()method now support thedefaultvalue, mapping toportrait-primaryorlandscape-primary, depending of the device (bug 908058) This works only for Firefox OS and Firefox for Android. Firefox Desktop is not supported. Eventconstructors can be used in Web workers (bug 910910).- Trying to set the
Document.domainproperty on a page embedded in an<iframe>with thesandboxattribute now throws a security error (bug 907892). - The
MessageEventinterface has been updated to comply with the latest spec. TheinitMessageEventmethod has been removed while the interface has now a constructor (bug 848294). - The HTML5
MessageChannelAPI has been implemented, behind thedom.messageChannel.enabledpreference (bug 677638). - Support for
VTTCue, behind themedia.webvtt.enabledpreference, like for all WebVTT-related implementations, has been added (bug 868509). - The Web Audio API has been made available by default (bug 885505).
MathML
- Inconsistent renderings of
<mmultiscripts>,<msub>,<msup>and<msubsup>have been unified and the error handling of these elements has been improved (bug 827713).
SVG
- The inclusion of SVG glyphs inside OpenType, SVG-in-OpenType, has been updated to match the current version of the specification (bug 906521).
- The
SVGElement.ownerSVGElement()method doesn't throw anymore (bug 835048).
Development tools
- The Inspector is now remotable (bug 805526).
- The web console text can be selected,
::beforeand::afternow inspectable, debugger and responsive design features are planned for this release. (https://hacks.mozilla.org/2013/09/new-features-in-the-firefox-developer-tools-episode-26/)
See also
Older versions
- Firefox 25 for developers
- Firefox 24 for developers
- Firefox 23 for developers
- Firefox 22 for developers
- Firefox 21 for developers
- Firefox 20 for developers
- Firefox 19 for developers
- Firefox 18 for developers
- Firefox 17 for developers
- Firefox 16 for developers
- Firefox 15 for developers
- Firefox 14 for developers
- Firefox 13 for developers
- Firefox 12 for developers
- Firefox 11 for developers
- Firefox 10 for developers
- Firefox 9 for developers
- Firefox 8 for developers
- Firefox 7 for developers
- Firefox 6 for developers
- Firefox 5 for developers
- Firefox 4 for developers
- Firefox 3.6 for developers
- Firefox 3.5 for developers
- Firefox 3 for developers
- Firefox 2 for developers
- Firefox 1.5 for developers
Document Tags and Contributors
Tags:
Contributors to this page:
Sebastianz,
kdex,
chrisdavidmills,
kohei.yoshino,
arai,
fscholz,
teoli,
rabimba,
frankyan,
mc10,
trlkly,
Luke314,
ziyunfei,
janv,
bbouvier
Last updated by:
Sebastianz,