Simon Willison’s Weblog

A note on testing classNames in Konqueror and MSN/Mac (via) Apparently running a regex on .className can cause problems if an element has no class.