Implement canAccommodateEllipsis. The basic idea is that everything on a line will...
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Jun 2004 00:00:13 +0000 (00:00 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Jun 2004 00:00:13 +0000 (00:00 +0000)
commite31fc8b42cf08fbf255a48b28e31aee5f52ee978
treeba3b734da19a663044339a1f9b96d4cc4bc7549f
parente97a5937ec346db3b90925d1c7f767b334c6ad66
Implement canAccommodateEllipsis.  The basic idea is that everything on a line will allow an ellipsis to be
drawn on top of it unless it's a replaced element.  Then, if the replaced element overlaps, the ellipsis won't
be allowed.

        Reviewed by john

        * khtml/rendering/bidi.cpp:
        (khtml::RenderBlock::checkLinesForTextOverflow):
        * khtml/rendering/render_line.cpp:
        (InlineBox::closestLeafChildForXPos):
        (InlineBox::canAccommodateEllipsis):
        (InlineFlowBox::canAccommodateEllipsis):
        (RootInlineBox::canAccommodateEllipsis):
        * khtml/rendering/render_line.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@6858 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/rendering/bidi.cpp
WebCore/khtml/rendering/render_line.cpp
WebCore/khtml/rendering/render_line.h