Index: misc/vertical-tabs-rtl.css
===================================================================
RCS file: /cvs/drupal/drupal/misc/vertical-tabs-rtl.css,v
retrieving revision 1.2
diff -u -p -r1.2 vertical-tabs-rtl.css
--- misc/vertical-tabs-rtl.css	19 May 2009 06:03:25 -0000	1.2
+++ misc/vertical-tabs-rtl.css	3 Oct 2010 22:51:57 -0000
@@ -1,15 +1,15 @@
 /* $Id: vertical-tabs-rtl.css,v 1.2 2009/05/19 06:03:25 dries Exp $ */
 
-.vertical-tabs {
+div.vertical-tabs {
   margin-left: 0;
-  margin-right: 15em;
 }
-.vertical-tabs-list {
-  margin-right: -15em;
-  right: 0;
+div.vertical-tabs ul.vertical-tabs-list {
+  margin-left: 0;
   float: right;
 }
-.vertical-tabs-list li.selected {
-  border-left-width: 0;
-  border-right-width: 1px;
+div.vertical-tabs-panes {
+  border-left: 0;
+  border-right: 1px solid #ccc;
+  margin-left: 0;
+  margin-right: 15em;
 }
Index: misc/vertical-tabs.css
===================================================================
RCS file: /cvs/drupal/drupal/misc/vertical-tabs.css,v
retrieving revision 1.7
diff -u -p -r1.7 vertical-tabs.css
--- misc/vertical-tabs.css	30 Mar 2010 07:05:58 -0000	1.7
+++ misc/vertical-tabs.css	3 Oct 2010 22:51:57 -0000
@@ -1,44 +1,53 @@
 /* $Id: vertical-tabs.css,v 1.7 2010/03/30 07:05:58 webchick Exp $ */
 
 div.vertical-tabs {
-  margin: 1em 0 1em 15em;
+  background-color: #eee;
   border: 1px solid #ccc;
+  margin: 1em 0; /* RTL */
 }
 div.vertical-tabs ul.vertical-tabs-list {
   width: 15em;
   list-style: none;
   list-style-image: none; /* IE6 */
-  border-top: 1px solid #ccc;
+  margin: 0;
   padding: 0;
-  position: relative; /* IE6 */
-  margin: -1px -100% -1px 0;
-  left: -15em;
-  float: left;
+  float: left; /* LTR */
+  z-index: 5;
+  height: 110%;
 }
-div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane {
+div.vertical-tabs-panes {
+  background-color: #fff;
+  margin-left: 15em;
+  border-left: 1px solid #ccc;
+  z-index: 10;
+}
+div.vertical-tabs fieldset.vertical-tabs-pane {
   margin: 0 !important;
-  padding: 0 1em;
+  padding: 1em;
   border: 0;
 }
-div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane legend {
+div.vertical-tabs fieldset.vertical-tabs-pane .form-item {
+  margin-top: 0;
+}
+div.vertical-tabs legend {
   display: none;
 }
 
 /* Layout of each tab */
 div.vertical-tabs ul.vertical-tabs-list li {
   background: #eee;
-  border: 1px solid #ccc;
-  border-top: 0;
+  border-bottom: 1px solid #ccc;
   padding: 0;
   margin: 0;
-  height: 1%;
+}
+div.vertical-tabs ul.vertical-tabs-list li.last {
+  border-bottom: 0;
 }
 div.vertical-tabs ul.vertical-tabs-list li a {
   display: block;
   text-decoration: none;
   padding: 0.5em 0.6em;
-  line-height: 1.3em;
-  height: 1%;
+  line-height: 1.3;
 }
 div.vertical-tabs ul.vertical-tabs-list li a:focus strong,
 div.vertical-tabs ul.vertical-tabs-list li a:active strong,
@@ -47,7 +56,6 @@ div.vertical-tabs ul.vertical-tabs-list 
 }
 div.vertical-tabs ul.vertical-tabs-list li a:focus,
 div.vertical-tabs ul.vertical-tabs-list li a:active {
-  position: relative;
   z-index: 5;
 }
 div.vertical-tabs ul.vertical-tabs-list li a:hover {
@@ -55,8 +63,9 @@ div.vertical-tabs ul.vertical-tabs-list 
 }
 div.vertical-tabs ul.vertical-tabs-list li.selected {
   background-color: #fff;
-  border-right-width: 0;
-  position: relative;
+  border-right: 0;
+  width: 15.05em;
+  z-index: 15;
 }
 div.vertical-tabs ul.vertical-tabs-list span.selected strong {
   color: #000;
@@ -68,3 +77,19 @@ div.vertical-tabs ul.vertical-tabs ul.ve
   line-height: normal;
   margin-bottom: 0;
 }
+
+/**
+ * Prevent text inputs from overflowing when container is too narrow. "width" is
+ * applied to override hardcoded cols or size attributes and used in conjunction
+ * with "box-sizing" to prevent box model issues from occuring in most browsers.
+*/
+div.vertical-tabs .form-type-textfield input {
+  width: 100%;
+  -moz-box-sizing: border-box;
+  -webkit-box-sizing: border-box;
+  box-sizing: border-box;
+}
+* html div.vertical-tabs .form-type-textfield,
+* html div.vertical-tabs .form-textarea-wrapper {
+  width: 95%; /* IE6 */
+}
Index: misc/vertical-tabs.js
===================================================================
RCS file: /cvs/drupal/drupal/misc/vertical-tabs.js,v
retrieving revision 1.14
diff -u -p -r1.14 vertical-tabs.js
--- misc/vertical-tabs.js	24 Jul 2010 16:56:31 -0000	1.14
+++ misc/vertical-tabs.js	3 Oct 2010 22:51:57 -0000
@@ -62,6 +62,10 @@ Drupal.behaviors.verticalTabs = {
         tab_focus.data('verticalTab').focus();
       }
     });
+  // We add an empty div with width: 100% to the column of vertical tabs panes
+  // and clear it to make the column itself always expand to the full height of
+  // its container for styling reasons.
+  $('.vertical-tabs-panes').append('<div style="width: 100%; clear: both; height: 0;">&nbsp</div>');
   }
 };
 
Index: modules/system/system.base.css
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.base.css,v
retrieving revision 1.3
diff -u -p -r1.3 system.base.css
--- modules/system/system.base.css	25 Sep 2010 02:28:14 -0000	1.3
+++ modules/system/system.base.css	3 Oct 2010 22:51:57 -0000
@@ -73,6 +73,9 @@ fieldset.collapsible .fieldset-legend {
   -moz-box-sizing: border-box;
   box-sizing: border-box;
 }
+* html .form-textarea-wrapper {
+  width: 98%; /* IE6 */
+}
 .resizable-textarea .grippie {
   background: #eee url(../../misc/grippie.png) no-repeat center 2px;
   border: 1px solid #ddd;
Index: themes/bartik/css/ie6.css
===================================================================
RCS file: /cvs/drupal/drupal/themes/bartik/css/ie6.css,v
retrieving revision 1.3
diff -u -p -r1.3 ie6.css
--- themes/bartik/css/ie6.css	2 Oct 2010 01:42:53 -0000	1.3
+++ themes/bartik/css/ie6.css	3 Oct 2010 22:51:57 -0000
@@ -20,3 +20,6 @@
 .node-teaser {
   border-bottom: 1px solid #d3d7d9;
 }
+div.vertical-tabs .fieldset-wrapper {
+  padding: 0;
+}
Index: themes/bartik/css/style.css
===================================================================
RCS file: /cvs/drupal/drupal/themes/bartik/css/style.css,v
retrieving revision 1.21
diff -u -p -r1.21 style.css
--- themes/bartik/css/style.css	2 Oct 2010 23:56:29 -0000	1.21
+++ themes/bartik/css/style.css	3 Oct 2010 22:51:58 -0000
@@ -1177,8 +1177,12 @@ div.password-suggestions {
   background: #222222;
   opacity: 0.7;
 }
-div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane {
-  padding: 1em;
+.vertical-tabs .fieldset-wrapper {
+  margin-top: 0;
+}
+div.vertical-tabs fieldset.vertical-tabs-pane {
+  padding-top: 1em;
+  top: 0;
 }
 #forum tr td.forum {
   padding-left: 35px;
Index: themes/seven/template.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/seven/template.php,v
retrieving revision 1.23
diff -u -p -r1.23 template.php
--- themes/seven/template.php	3 Oct 2010 02:46:12 -0000	1.23
+++ themes/seven/template.php	3 Oct 2010 22:51:58 -0000
@@ -96,10 +96,6 @@ function seven_tablesort_indicator($vari
  * Implements hook_css_alter().
  */
 function seven_css_alter(&$css) {
-  // Use Seven's vertical tabs style instead of the default one.
-  if (isset($css['misc/vertical-tabs.css'])) {
-    $css['misc/vertical-tabs.css']['data'] = drupal_get_path('theme', 'seven') . '/vertical-tabs.css';
-  }
   // Use Seven's jQuery UI theme style instead of the default one.
   if (isset($css['misc/ui/jquery.ui.theme.css'])) {
     $css['misc/ui/jquery.ui.theme.css']['data'] = drupal_get_path('theme', 'seven') . '/jquery.ui.theme.css';
