Safari 2.0, display:none, and getComputedStyle
It almost sounds like the beginning of a joke...("Safari, Display:none and getComputedStyle walk into a bar..."). Anyways, I just ran into this and thought I'd share.
In Safari 2.0.4 (419.3), you can't use getComputedStyle on an element that has display set to none. It's like the element doesn't even exist. Luckily, the latest Webkit builds have fixed this little niggle.
For a quick test case, check out the following. Click on "get style" and you should see
[object CSSStyleDeclaration]. Click on toggle display to hide the content and then click on "get style" again. In Safari, you'll get null. Null is bad.
How often does Safari get updated anyways?