Index: wp-admin/css/wp-admin.dev.css
===================================================================
--- wp-admin/css/wp-admin.dev.css	(revision 20998)
+++ wp-admin/css/wp-admin.dev.css	(working copy)
@@ -1893,8 +1893,11 @@
   8.0 - Layout Blocks
 ------------------------------------------------------------------------------*/
 
-body.admin-bar {
+html.admin-bar {
 	padding-top: 28px;
+	-webkit-box-sizing: border-box;
+	-moz-box-sizing: border-box;
+	box-sizing: border-box;
 }
 
 .narrow {
Index: wp-admin/includes/template.php
===================================================================
--- wp-admin/includes/template.php	(revision 20998)
+++ wp-admin/includes/template.php	(working copy)
@@ -1672,13 +1672,14 @@
 }
 
 function _wp_admin_html_begin() {
+	$admin_html_class = ( is_admin_bar_showing() ) ? 'admin-bar' : '';
 ?>
 <!DOCTYPE html>
 <!--[if IE 8]>
-<html xmlns="http://www.w3.org/1999/xhtml" class="ie8" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
+<html xmlns="http://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
 <![endif]-->
 <!--[if !(IE 8) ]><!-->
-<html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
+<html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
 <!--<![endif]-->
 <head>
 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
