Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/mozilla/firefox/releases/26/index.md
6581 views
---
title: Firefox 26 for developers slug: Mozilla/Firefox/Releases/26
---

{{FirefoxSidebar}}

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 {{cssxref("text-decoration-line")}} property, still prefixed, now considers 'blink' as a valid value, though it doesn't blink the content at all (Firefox bug 812995).

  • The non-standard {{cssxref("-moz-text-blink")}} property has been removed (Firefox bug 812995).

  • Support for the {{cssxref("image-orientation")}} property, in its CSS Images & Values Level 4 version, that is with the from-image keyword and EXIF support, has been added (Firefox bug 825771).

  • Experimental support for position: sticky has been implemented and can be enabled by pref layout.css.sticky.enabled (Firefox bug 886646).

  • The {{cssxref("text-align")}} property now applies to the ::-moz-placeholder pseudo-element (Firefox bug 915551).

HTML

  • The HTMLSelectElement.selectedOptions property has been implemented (Firefox bug 596681).

  • In the {{HTMLElement("input")}} element of type email, values with domain labels longer than 63 chars are no more considered valid (Firefox bug 884332).

  • The HTMLInputElement.width and height properties now return 0 when the type is not image (Firefox bug 905240).

  • A {{HTMLElement("fieldset")}} element is now invalid, and can be styled using the {{cssxref(":invalid")}} pseudo-class, when one of the elements it contains is invalid (Firefox bug 717181).

JavaScript

ECMAScript 2015 implementation continues!

Interfaces/APIs/DOM

  • Make the last argument (doctype) to {{domxref("DOMImplementation.createDocument")}} optional (Firefox bug 909859).

  • Implement the new {{domxref("element.classList")}} specification which permits adding/removing several classes with one call (Firefox bug 814014).

  • The {{domxref("URL.URL", "URL()")}} constructor has been implemented on the {{domxref("URL")}} interface (Firefox bug 887364).

  • The properties {{domxref("HTMLAnchorElement/origin", "URLUtils.origin")}}, {{domxref("HTMLAnchorElement/password", "URLUtils.password")}}, and {{domxref("HTMLAnchorElement/username", "URLUtils.username")}} are now available to all interfaces implementing {{domxref("HTMLHyperlinkElementUtils", "URLUtils")}}: {{domxref("URL")}}, {{domxref("Location")}}, {{domxref("HTMLAnchorElement")}}, and {{domxref("HTMLAreaElement")}} (Firefox bug 887364).

  • The {{domxref("URL")}} interface is now accessible from Web Workers (Firefox 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 (Firefox bug 785884).

  • Support for {{domxref("WaveShaperNode.oversample")}} has been added (Firefox bug 875277).

  • Path of the persistent storage has been changed from <profile>/indexedDB to <profile>/storage/persistent (on b2g from /data/local/indexedDB to /data/local/storage/persistent).

  • The {{domxref("Screen.orientation")}} property and {{domxref("Screen.lockOrientation()")}} method now support the default value, mapping to portrait-primary or landscape-primary, depending of the device (Firefox bug 908058) This works only for Firefox OS and Firefox for Android. Firefox Desktop is not supported.

  • {{domxref("Event")}} constructors can be used in Web workers (Firefox bug 910910).

  • Trying to set the {{domxref("Document.domain")}} property on a page embedded in an {{HTMLElement("iframe")}} with the sandbox attribute now throws a security error (Firefox bug 907892).

  • The {{domxref("MessageEvent")}} interface has been updated to comply with the latest spec. The initMessageEvent method has been removed while the interface has now a constructor (Firefox bug 848294).

  • The HTML5 MessageChannel API has been implemented, behind the dom.messageChannel.enabled preference (Firefox bug 677638).

  • Support for VTTCue, behind the media.webvtt.enabled preference, like for all WebVTT-related implementations, has been added (Firefox bug 868509).

  • The Web Audio API has been made available by default (Firefox bug 885505).

MathML

  • Inconsistent renderings of {{MathMLElement("mmultiscripts")}}, {{MathMLElement("msub")}}, {{MathMLElement("msup")}} and {{MathMLElement("msubsup")}} have been unified and the error handling of these elements has been improved (Firefox bug 827713).

SVG

  • The inclusion of SVG glyphs inside OpenType, SVG-in-OpenType, has been updated to match the current version of the specification (Firefox bug 906521).

  • The SVGElement.ownerSVGElement() method doesn't throw anymore (Firefox bug 835048).

Development tools

Older versions

{{Firefox_for_developers('25')}}