Index: misc/tableheader.js
===================================================================
RCS file: /cvs/drupal/drupal/misc/tableheader.js,v
retrieving revision 1.4
diff -u -p -r1.4 tableheader.js
--- misc/tableheader.js	1 Jul 2007 15:37:08 -0000	1.4
+++ misc/tableheader.js	8 Aug 2007 19:25:07 -0000
@@ -42,8 +42,7 @@ Drupal.behaviors.tableHeader = function 
         ref = table;
         div.wide = true;
       }
-      $(div).css('width', parseInt($(ref).width())
-                        - parseInt($(div).css('paddingLeft')) +'px');
+      $(div).css('width', $(ref).width() - parseInt($(div).css('paddingLeft')) +'px');
 
       // Get position and store.
       div.cell = this;
@@ -96,8 +95,7 @@ Drupal.behaviors.tableHeader = function 
           // Resize the first cell to fit the table.
           ref = this.table;
         }
-        $(this).css('width', parseInt($(ref).width())
-                           - parseInt($(this).css('paddingLeft')) +'px');
+        $(this).css('width', $(ref).width() - parseInt($(this).css('paddingLeft')) +'px');
       });
 
       // Reset timer
Index: modules/system/system.css
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.css,v
retrieving revision 1.32
diff -u -p -r1.32 system.css
--- modules/system/system.css	27 Jun 2007 17:54:49 -0000	1.32
+++ modules/system/system.css	8 Aug 2007 19:25:11 -0000
@@ -352,6 +352,10 @@ html.js fieldset.collapsed legend a {
 * html.js fieldset.collapsed table * {
   display: inline;
 }
+/* For Safari 2 to prevent collapsible fieldsets containing tables from dissapearing due to tableheader.js. */
+html.js fieldset.collapsible {
+  position: relative;
+}
 html.js fieldset.collapsible legend a {
   display: block;
 }
