Index: includes/install.core.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/install.core.inc,v
retrieving revision 1.47
diff -u -r1.47 install.core.inc
--- includes/install.core.inc	19 Dec 2010 19:26:21 -0000	1.47
+++ includes/install.core.inc	26 Dec 2010 12:54:35 -0000
@@ -1695,16 +1695,18 @@ function _install_configure_form($form, &$form_state, &$install_state) {

     '#attributes' => array('class' => array('username')),
   );
 
-  $form['admin_account']['account']['mail'] = array('#type' => 'textfield',
-    '#title' => st('E-mail address'),
-    '#maxlength' => EMAIL_MAX_LENGTH,
-    '#required' => TRUE,
-    '#weight' => -5,
-  );
   $form['admin_account']['account']['pass'] = array(
     '#type' => 'password_confirm',
     '#required' => TRUE,
     '#size' => 25,
+    '#weight' => -5,
+  );
+  // Putting the mail field below the pass field allows the Firefox password
+  // manager to correctly determine the credentials. IE8 doesn't even try.
+  $form['admin_account']['account']['mail'] = array('#type' => 'textfield',
+    '#title' => st('E-mail address'),
+    '#maxlength' => EMAIL_MAX_LENGTH,
+    '#required' => TRUE,
     '#weight' => 0,
   );
 
