views:

206

answers:

3

Some common pitfalls I should keep in mind?

+3  A: 

Safari is really standards compliant. Unless you're using some really esoteric browser features, in general if something works in Firefox, I've found it works without modification in Windows Safari.

Apple has a developer center for web developers, but I didn't find anything too useful there.

Wayne Kao
I'll second the "if it works in Firefox, it usually works in Safari" statement—especially for Firefox 3.
John Calsbeek
Even more so - if it works in Chrome, it 99.9% will work in Safari too, and vice versa, since they share renderers (Webkit).
matt b
A: 

One word of warning: Safari on Windows does not support XSLT.

17 of 26
+2  A: 

In your event handlers, instead of return false, use event.preventDefault() or event.stopPropagation(). The event methods are the standard/compatible way, but lots of old tutorials still recommend return.

John Millikin