mozilla — Broken Links Archive

New to Firefox: -moz-calc and :-moz-any

The latest nightly releases of what will become Firefox 4 have implemented a couple of experimental new CSS features. The -moz-calc function allows calculations on length values, and the :-moz-any selector permits grouping of simple selectors.

If you have a nightly build of Firefox you can see a little demo I’ve put together of them in action.

Read the full article


CSS gradient syntax: comparison of Mozilla and WebKit (Part 2)

Update: I wrote this article in 2009. In early 2011 WebKit decided to change their syntax to match that used in Firefox (and the W3C specification). The syntax contained in these articles will be maintained for reasons of backwards-compatibility, but you should use the new syntax for the future. I’ve written a post about the new radial gradient syntax.

In the first part of this post I gave a potted history of the differing syntaxes, and provided an overview of how that affected linear gradients. In this second part I’m going to look at radial gradients.

Here the syntaxes diverge slightly more, with WebKit requiring more values than Mozilla; while that adds some flexibility, it also increases the complexity.

Read the full article


CSS gradient syntax: comparison of Mozilla and WebKit

Update: I wrote this article in 2009. In early 2011 WebKit decided to change their syntax to match that used in Firefox (and the W3C specification). The syntax contained in these articles will be maintained for reasons of backwards-compatibility, but you should use the new syntax for the future.

CSS Gradients were originally proposed by the WebKit team in April 2008, modified from the syntax proposed for the Canvas element of HTML5. In August of this year, Mozilla announced that an implementation slightly modified from that of WebKit would be in the next version of Firefox (3.6).

Since then, however, the CSS WG have discussed a different syntax, and a resolution was passed to add this to the Image Values module. Mozilla have decided to implement the new syntax, which is simpler than WebKit’s but less flexible.

In this article, which will be split into at least two parts, I’m going to compare the two syntaxes.

Read the full article


Mozilla release Bespin Embedded preview

Mozilla’s Bespin is a code editor built using web technologies. It’s still in its infancy, but shows promise. A new release, Bespin Embedded, lets you use the basic editor functionality on your own websites, using just a couple of lines of Javascript. If you don’t want to download it yourself, I’ve got a working demo. The editor doesn’t really do much at the moment, so this is really only a proof of concept.


New CSS implementations in Firefox / Gecko

Mozilla’s Robert O’Callahan has posted a few hints about new features expected to land in the next version (1.9.2) of the Gecko layout engine.

Allowing use of SVG in <img> and background-image is high on the list, apparently, as are background-size, multiple backgrounds, and possibly text-overflow. These features have already been implemented between Opera and Safari.

I can’t find any information yet as to when Gecko 1.9.2 will land; I think it’s doubtful it will make it into Firefox 3.1, so are we looking at 4.0 or an as yet unannounced 3.2?


Aside

I’ve updated my Speaking page to include more conferences, more videos, and a little on my speaking requirements and preferences. I’m planning to cut down on the number of talks I give in 2014 (twelve is too many), but am always open to interesting offers and opportunities, so please get in touch if you’re organising an event.

[#] 1 Comment . More Asides.