Index: includes/theme.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/theme.inc,v
retrieving revision 1.538
diff -u -p -r1.538 theme.inc
--- includes/theme.inc	18 Oct 2009 05:28:42 -0000	1.538
+++ includes/theme.inc	18 Oct 2009 21:05:09 -0000
@@ -2078,9 +2078,11 @@ function template_preprocess(&$variables
   // Initialize html class attribute for the current hook.
   $variables['classes_array'] = array($hook);
 
-  // Initialize attributes for the top-level template entity and its title.
+  // Initialize attributes for the top-level template entity and its title and
+  // content.
   $variables['attributes_array'] = array();
   $variables['title_attributes_array'] = array();
+  $variables['content_attributes_array'] = array();
 
   // Set default variables that depend on the database.
   $variables['is_admin']            = FALSE;
@@ -2107,9 +2109,10 @@ function template_process(&$variables, $
   // Flatten out classes.
   $variables['classes'] = implode(' ', $variables['classes_array']);
 
-  // Flatten out attributes and title_attributes.
+  // Flatten out attributes, title_attributes, and content_attributes.
   $variables['attributes'] = drupal_attributes($variables['attributes_array']);
   $variables['title_attributes'] = drupal_attributes($variables['title_attributes_array']);
+  $variables['content_attributes'] = drupal_attributes($variables['content_attributes_array']);
 }
 
 /**
Index: modules/block/block.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/block/block.tpl.php,v
retrieving revision 1.5
diff -u -p -r1.5 block.tpl.php
--- modules/block/block.tpl.php	17 Oct 2009 05:50:28 -0000	1.5
+++ modules/block/block.tpl.php	18 Oct 2009 21:05:09 -0000
@@ -46,7 +46,7 @@
   <h2<?php print $title_attributes; ?>><?php print $block->subject ?></h2>
 <?php endif;?>
 
-  <div class="content">
+  <div class="content"<?php print $content_attributes; ?>>
     <?php print $content ?>
   </div>
 </div>
Index: modules/comment/comment.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.tpl.php,v
retrieving revision 1.14
diff -u -p -r1.14 comment.tpl.php
--- modules/comment/comment.tpl.php	17 Oct 2009 05:50:28 -0000	1.14
+++ modules/comment/comment.tpl.php	18 Oct 2009 21:05:09 -0000
@@ -66,7 +66,7 @@
     ?>
   </div>
 
-  <div class="content">
+  <div class="content"<?php print $content_attributes; ?>>
     <?php
       // We hide the comments and links now so that we can render them later.
       hide($content['links']);
Index: modules/field/theme/field.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/field/theme/field.tpl.php,v
retrieving revision 1.6
diff -u -p -r1.6 field.tpl.php
--- modules/field/theme/field.tpl.php	11 Sep 2009 06:48:03 -0000	1.6
+++ modules/field/theme/field.tpl.php	18 Oct 2009 21:05:09 -0000
@@ -43,7 +43,7 @@
     <?php if (!$label_hidden) : ?>
       <div class="field-label"<?php print $title_attributes; ?>><?php print $label ?>:&nbsp;</div>
     <?php endif; ?>
-    <div class="field-items">
+    <div class="field-items"<?php print $content_attributes; ?>>
       <?php foreach ($items as $delta => $item) : ?>
         <div class="field-item <?php print $delta % 2 ? 'odd' : 'even'; ?>"<?php print $item_attributes[$delta]; ?>><?php print render($item); ?></div>
       <?php endforeach; ?>
Index: modules/node/node.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.tpl.php,v
retrieving revision 1.25
diff -u -p -r1.25 node.tpl.php
--- modules/node/node.tpl.php	17 Oct 2009 05:50:29 -0000	1.25
+++ modules/node/node.tpl.php	18 Oct 2009 21:05:09 -0000
@@ -100,7 +100,7 @@
     </div>
   <?php endif; ?>
 
-  <div class="content">
+  <div class="content"<?php print $content_attributes; ?>>
     <?php
       // We hide the comments and links now so that we can render them later.
       hide($content['comments']);
Index: themes/garland/block.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/block.tpl.php,v
retrieving revision 1.10
diff -u -p -r1.10 block.tpl.php
--- themes/garland/block.tpl.php	17 Oct 2009 05:50:29 -0000	1.10
+++ themes/garland/block.tpl.php	18 Oct 2009 21:05:10 -0000
@@ -11,5 +11,5 @@
   <h2 class="title"<?php print $title_attributes; ?>><?php print $block->subject ?></h2>
 <?php endif;?>
 
-  <div class="content"><?php print $content ?></div>
+  <div class="content"<?php print $content_attributes; ?>><?php print $content ?></div>
 </div>
Index: themes/garland/comment.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/comment.tpl.php,v
retrieving revision 1.18
diff -u -p -r1.18 comment.tpl.php
--- themes/garland/comment.tpl.php	17 Oct 2009 05:50:29 -0000	1.18
+++ themes/garland/comment.tpl.php	18 Oct 2009 21:05:10 -0000
@@ -19,7 +19,7 @@
 
     <h3<?php print $title_attributes; ?>><?php print $title ?></h3>
 
-    <div class="content">
+    <div class="content"<?php print $content_attributes; ?>>
       <?php hide($content['links']); print render($content); ?>
       <?php if ($signature): ?>
       <div class="clearfix">
Index: themes/garland/node.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/node.tpl.php,v
retrieving revision 1.18
diff -u -p -r1.18 node.tpl.php
--- themes/garland/node.tpl.php	17 Oct 2009 05:50:29 -0000	1.18
+++ themes/garland/node.tpl.php	18 Oct 2009 21:05:10 -0000
@@ -17,7 +17,7 @@
     <span class="submitted"><?php print $date; ?> — <?php print $name; ?></span>
   <?php endif; ?>
 
-  <div class="content clearfix">
+  <div class="content clearfix"<?php print $content_attributes; ?>>
     <?php
       // We hide the comments and links now so that we can render them later.
       hide($content['comments']);
