Feature Articles
-
taming long words with word-wrap
This post is from Les Orchard, who works on Mozilla’s web development team. Web browsers have a long history of sharing features between them. The word-wrap CSS property is a feature that originally came from Microsoft and is included in CSS3. Now available in Firefox 3.5, this CSS property allows the browser to arbitrarily break […]
-
the script defer attribute
This post is by Olivier Rochard. Olivier does research at Orange Labs in France. In HTML, the script element allows authors to include dynamic script in their documents. The defer attribute is boolean attribute that indicates how the script should be executed. If the defer attribute is present, then the script is executed when the […]
-
saving data with localStorage
This post was written by Jeff Balogh. Jeff works on Mozilla’s web development team. New in Firefox 3.5, localStorage is a part of the Web Storage specification. localStorage provides a simple Javascript API for persisting key-value pairs in the browser. It shouldn’t be confused with the SQL database storage proposal, which is a separate (and […]
-
new CSS3 properties in Firefox 3.5 – nth-*
Firefox 3.5 supports several new CSS3 selectors. In this post we’ll talk about four of them: :nth-child, :nth-last-child, :nth-of-type and :nth-last-of-type. Each of these is called a Pseudo-class and can be used to apply styles to existing selectors. The best way to describe how this works is with some examples. :nth-child This pseudo-class lets you […]
-
opacity in Firefox 3.5
This is a very short post, but it’s worth putting up because it shows how browser features go from a vendor-specific implementation to a fully supported standard. In Firefox 3.5 we no longer support the Mozilla-specific CSS property -moz-opacity. Developers wanting to set the opacity of an element should use the standard <a href="https://developer.mozilla.org/en/CSS/opacity">opacity</a> property […]
-
debugging painting with MozAfterPaint
This was originally posted by Robert O’Callahan in the Mozilla web-tech blog. It’s an interesting feature in Firefox 3.5 and is worth repeating here as part of our 35 days effort. In addition, Thomas Robinson has created a very handy bookmarklet for debugging painting on a page you’ve loaded in the browser. Due to popular […]
-
XHR progress and rich file upload feedback
This demo is by Olli Pettay (smaug) with help from Austin King. A common limitation on the web today has been a rich file upload widget for web applications. Many sites use Flash or a desktop helper applications to improve the experience of uploading files. Firefox 3.5 bridges one of these gaps allowing a better […]
-
color correction for images in Firefox 3.5
Back in Firefox 3, we introduced support for color profiles in tagged images, but it was disabled by default. In Firefox 3.5 we were able to make the color correction process about 5x faster than it was in Firefox 3 so we’ve enabled support for color correction for tagged images. Most images on the web […]
-
better security and performance with native JSON
The JavaScript Object Notation (JSON) mechanism for representing data has rapidly become an indispensable part of the web developer’s toolkit, allowing JavaScript applications to obtain and parse data intuitively, within scripts, with lightweight data encapsulation. Firefox 3.5 includes support for JSON natively by exposing a new primitive — window.JSON — to the top level object. […]
-
a short introduction to media queries in Firefox 3.5
This post is by Eric Shepherd, who leads Mozilla’s documentation project at the Mozilla Developer Center. In this day and age, it’s important for web content to support rendering on an increasingly wide variety of devices. Not only do users expect to use your content on their home computer, or read it printed on paper, […]