| Index: Source/WebCore/rendering/RenderTableRow.cpp
 | 
| ===================================================================
 | 
| --- Source/WebCore/rendering/RenderTableRow.cpp	(revision 94543)
 | 
| +++ Source/WebCore/rendering/RenderTableRow.cpp	(working copy)
 | 
| @@ -74,10 +74,10 @@
 | 
|  void RenderTableRow::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
 | 
|  {
 | 
|      RenderBox::styleDidChange(diff, oldStyle);
 | 
| +    propagateStyleToAnonymousChildren();
 | 
|  
 | 
|      if (parent())
 | 
|          updateBeforeAndAfterContent();
 | 
| -
 | 
|  }
 | 
|  
 | 
|  void RenderTableRow::addChild(RenderObject* child, RenderObject* beforeChild)
 | 
| @@ -90,7 +90,7 @@
 | 
|          RenderObject* last = beforeChild;
 | 
|          if (!last)
 | 
|              last = lastChild();
 | 
| -        if (last && last->isAnonymous() && last->isTableCell() && !isAfterContent(last) && !isBeforeContent(last)) {
 | 
| +        if (last && last->isAnonymous() && last->isTableCell() && !last->isBeforeOrAfterContent()) {
 | 
|              if (beforeChild == last)
 | 
|                  beforeChild = last->firstChild();
 | 
|              last->addChild(child, beforeChild);
 | 
| @@ -98,7 +98,7 @@
 | 
|          }
 | 
|  
 | 
|          // If beforeChild is inside an anonymous cell, insert into the cell.
 | 
| -        if (last && !last->isTableCell() && last->parent() && last->parent()->isAnonymous() && !isAfterContent(last->parent()) && !isBeforeContent(last->parent())) {
 | 
| +        if (last && !last->isTableCell() && last->parent() && last->parent()->isAnonymous() && !last->parent()->isBeforeOrAfterContent()) {
 | 
|              last->parent()->addChild(child, beforeChild);
 | 
|              return;
 | 
|          }
 | 
| 
 |