Surfin’ Safari

Archive for February, 2008

The Star Seven Hack

Posted by Dave Hyatt on Monday, February 11th, 2008 at 2:09 pm

For those of you using the star seven CSS hack to target current or older versions of WebKit, this parsing bug has been closed in the latest WebKit nightlies. Acid3 specifically tests for this, so any browser that wants to be compliant with Acid3 will have to fix this CSS parsing bug.
For more information [...]

querySelector and querySelectorAll

Posted by David Smith on Thursday, February 7th, 2008 at 2:41 pm

A familiar and unpleasant sight in web applications is fragile code traversing the DOM to get to certain elements or collections of elements. Chains of getElementById(”something”).parent.parent are all too common, hurting both readability and flexibility. As a result, many javascript libraries have implemented functions to use the powerful CSS selector system to look up DOM [...]