[Webkit-unassigned] [Bug 16844] RenderText::addLineBoxRects erroneously includes last char for boundingBox

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 11 11:52:05 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16844


hyatt at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #18397|review?                     |review-
               Flag|                            |




------- Comment #8 from hyatt at apple.com  2008-01-11 11:52 PDT -------
(From update of attachment 18397)
end() points to the last character in a run and not to the character after it.

The implementation of end():

unsigned end() const { return m_len ? m_start + m_len - 1 : m_start; }

I do not know why your particular test case is failing, but end() does point to
the last character.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list