Add a truncation variable to text run boxes that will eventually be used to know...
[WebKit-https.git] / WebCore / khtml / rendering / render_text.cpp
index 3eb2793d9a5f2d4276f34a5156b9cc6f340a6119..c77b68235149f00491fc341b256ce6d3693bb181 100644 (file)
@@ -1464,6 +1464,9 @@ InlineBox *RenderText::inlineBox(long offset)
 
 void RenderText::clearTextOverflowTruncation()
 {
+    // Walk our text boxes and clear any truncation bits that might be set.
+    for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox())
+        box->clearTruncation();
 }
    
 RenderTextFragment::RenderTextFragment(DOM::NodeImpl* _node, DOM::DOMStringImpl* _str,