Index: src/wp-admin/includes/template.php
===================================================================
--- src/wp-admin/includes/template.php	(revision 26079)
+++ src/wp-admin/includes/template.php	(working copy)
@@ -1690,12 +1690,7 @@
 	$admin_html_class = ( is_admin_bar_showing() ) ? 'wp-toolbar' : '';
 ?>
 <!DOCTYPE html>
-<!--[if IE 8]>
-<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" class="<?php echo $admin_html_class; ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
-<!--<![endif]-->
 <head>
 <?php
 	if ( $is_IE ) {
@@ -1706,6 +1701,10 @@
 	}
 ?>
 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
+<!--[if IE 8]>
+<script>document.documentElement.className += ' ie8';</script>
+<![endif]-->
+
 <?php
 }
 
