http://www.quirksmode.org/bugreports/archives/safari/index.html "The rows collection for tables in Safari is incorrect. It appears that Safari includes <th> elements in the rows collection. Using getElementsByTagName("tr") returns the correct collection. Test page http://mrprickles.com/howmanyrows.html Workaround is included Reported by: David Clarke."
This has been fixed ages ago, even according to the test page :) closing as worksforme.