Changeset 40991 in webkit


Ignore:
Timestamp:
Feb 13, 2009 1:49:04 PM (15 years ago)
Author:
treat@webkit.org
Message:

2009-02-13 Lyon Chen <lyon.chen@torchmobile.com>

Reviewed by Dave Hyatt.

Take into account y() + height() when calculating getLowerRightCorner.

  • dom/ContainerNode.cpp: (WebCore::ContainerNode::getLowerRightCorner):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r40990 r40991  
     12009-02-13  Lyon Chen  <lyon.chen@torchmobile.com>
     2
     3        Reviewed by Dave Hyatt.
     4
     5        Take into account y() + height() when calculating getLowerRightCorner.
     6
     7        * dom/ContainerNode.cpp:
     8        (WebCore::ContainerNode::getLowerRightCorner):
     9
    1102009-02-13  Antti Koivisto  <antti@apple.com>
    211
  • trunk/WebCore/dom/ContainerNode.cpp

    r40871 r40991  
    738738                RenderText* text = toRenderText(o);
    739739                IntRect linesBox = text->linesBoundingBox();
    740                 point.move(linesBox.x() + linesBox.width(), linesBox.height());
     740                point.move(linesBox.x() + linesBox.width(), linesBox.y() + linesBox.height());
    741741            } else {
    742742                RenderBox* box = toRenderBox(o);
Note: See TracChangeset for help on using the changeset viewer.