Surfin’ Safari

Archive for August, 2005

CSS3 Goodies - Borders and Backgrounds

Posted by Dave Hyatt on Friday, August 26th, 2005 at 5:17 pm

The latest WebKit builds now support three new CSS3 properties fully and one partially.
border-image - WebKit now fully supports the CSS3 border-image property. This property allows you to slice an image into nine pieces (the corners, sides, and center) and use these images to render the border of a box. You can stretch, [...]

New WebKit Commiter

Posted by Maciej Stachowiak on Friday, August 26th, 2005 at 12:06 pm

Anders Carlsson has become the first non-Apple employee to get cvs commit access for WebKit. He’s made great fixes for dozens of bugs all over the code, and now he will be able to commit his own patches. Congratulations, Anders!

We’re Hunting Memory Leaks

Posted by Maciej Stachowiak on Tuesday, August 16th, 2005 at 10:24 pm

We’ve heard a number of reports of Safari memory leaks, and we’d like to fix a bunch of these. This is a very important factor for usability of Safari and other WebKit apps. You can help! Here’s how:
Finding Leaks
The Mac OS X Developer Tools include a very useful program for leak detection. Here’s how you [...]

JavaScriptCore C++ Name Changes

Posted by Darin Adler on Tuesday, August 16th, 2005 at 9:14 pm

Here are some name changes we’re planning for some classes and functions in JavaScriptCore in the KJS namespace:

old name
new names

ValueImp
JSValue

AllocatedValueImp
JSCell

ObjectImp
JSObject

Undefined()
jsUndefined()

Null()
jsNull()

Boolean()
jsBoolean(), jsTrue(), jsFalse()

Number()
jsNumber(), jsNaN(), jsZero(), jsOne(), jsTwo()

String()
jsString()

We want to take Imp suffixes off class names of subclasses of ObjectImp/JSObject.
We’re planning to eliminate the UndefinedImp, NullImp, and BooleanImp classes, and instead use special pointer values, somewhat like [...]

The New Form Controls: Radio Buttons

Posted by Dave Hyatt on Wednesday, August 10th, 2005 at 3:38 pm

The new radio buttons are now enabled (along with checkboxes) in the latest WebKit builds. Radio buttons behave as checkboxes do, meaning that they wont respond to properties like background-image or border until you disable the -khtml-appearance property. Once you do, you’ll get a completely blank slate and can define how all the [...]

The New Form Controls: Checkbox

Posted by Dave Hyatt on Tuesday, August 2nd, 2005 at 8:28 pm

The first of the new form controls for WebKit has just been turned on in the latest WebKit tree. Because it is the simplest of the controls, I converted checkbox first. This new control can be completely styled via CSS, so you can decide exactly how the checked, hovered, pressed, focused and disabled [...]

Multiple Backgrounds

Posted by Dave Hyatt on Tuesday, August 2nd, 2005 at 4:32 pm

You may or may not have seen this blog post from the CSS WG asking for feedback on backgrounds and borders in CSS3. One of the features in the CSS3 draft is the ability to specify multiple backgrounds on a single element, thus allowing for effects like Sliding Doors to be achieved with only [...]

Known Safari incompatibilities

Posted by John Sullivan on Tuesday, August 2nd, 2005 at 11:11 am

I added a page to the WebKit wiki discussing known incompatibilities between locally-built WebKit and released versions of Safari. There are only two such incompatibilities currently.

.className vs. .style

Posted by Dave Hyatt on Monday, August 1st, 2005 at 12:25 am

I just read an interesting post on quirksmode.org. The article discusses the use of className vs. the use of style as a means of updating style information via JavaScript and concludes that className is faster than style except in Safari.
Although the test in question is fantastic, the general conclusion drawn by the author is [...]