| Index: Source/WebCore/rendering/RenderLineBoxList.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderLineBoxList.cpp (revision 79909)
|
| +++ Source/WebCore/rendering/RenderLineBoxList.cpp (working copy)
|
| @@ -363,11 +363,9 @@
|
| adjacentBox = box->prevRootBox();
|
| if (adjacentBox)
|
| adjacentBox->markDirty();
|
| - if (child->isBR() || (curr && curr->isBR())) {
|
| - adjacentBox = box->nextRootBox();
|
| - if (adjacentBox)
|
| - adjacentBox->markDirty();
|
| - }
|
| + adjacentBox = box->nextRootBox();
|
| + if (adjacentBox && (adjacentBox->lineBreakObj() == child || child->isBR() || (curr && curr->isBR())))
|
| + adjacentBox->markDirty();
|
| }
|
| }
|
|
|
|
|