Mozilla


The March of Access Control

The web is changing. Historically it’s been painfully easy to request resources from remote locations (such as stylesheets, scripts, images, and loading pages in iframes) – but this has brought along a whole world of security issues that browsers are continuing to try and resolve. This openness has come to define what web development is […]

Comment · Posted: November 19th, 2008


Accuracy of JavaScript Time

There were two events recently that made me quite concerned. First, I was looking through some of the results from the Dromaeo test suite and I noticed a bunch of zero millisecond times being returned from tests. This was quite odd since the tests should’ve taken, at least, a couple milliseconds to run and getting […]

Comment · Posted: November 12th, 2008


CSS Animations and JavaScript

Apple, and the WebKit team, have recently proposed two different additions to CSS: CSS Transitions and CSS Animations. The two specifications are confusingly named – and it’s hard to tell what the difference is between them at first glance. However, to put it simply: CSS Transitions are easy to use, while CSS Animations are made […]

Comment · Posted: November 11th, 2008


Deadly Expandos

If I had to rate my least favorite browser bugs I’d have to put this one near the top. A holdover from the old DOM0 days it’s a practice where elements with a given name or ID are added as an expando property to another DOM node. Here are my two favorite examples of this […]

Comment · Posted: November 10th, 2008


CSS3 Template Layout

Like many developers who had seen the work-in-progress CSS3 Layout specification I was immediately horrified. As one commenter on Reddit said: “Argh. ASCII-art drawing for columns?” which summarizes my initial feeling pretty well. Now I felt that way until seeing this example from the CSS3 Layout spec document: I could immediately determine what the template […]

Comment · Posted: November 10th, 2008


Element Traversal API

A little while ago a nightly of Firefox 3.1 included support for the new Element Traversal API proposed by the W3C. The purpose of this proposal is to make it easier for developers to traverse through DOM elements without having to worry about intermediary text nodes, comment nodes, etc. This has long been a bane […]

Comment · Posted: November 10th, 2008


Fonts, Podcast, Performance

Three tidbits from this week: I published an article on W3C Web Fonts at Ars Technica the other day. I did another Open Web Podcast this week, this time with Ryan Steward of Adobe. On Thursday I gave a talk at the Web Experience Forum here in Boston talking about Performance Improvements that are coming […]

Comment · Posted: October 18th, 2008


Browser Paint Events

A cool new browser event just recently landed in the latest Firefox nightlies: an event announcing when the browser re-draws a portion of the page. This particular event, called MozAfterPaint fires whenever something is drawn to the screen. The event object contains two properties: .clientRects and .boundingClientRect, both of which refer to the result of […]

Comment · Posted: October 13th, 2008


Next entries » · « Previous entries

Secrets of the JavaScript Ninja

Secrets of the JS Ninja

Secret techniques of top JavaScript programmers. Published by Manning.

John Resig Twitter Updates

@jeresig / Mastodon

Infrequent, short, updates and links.