[Webkit-unassigned] [Bug 39503] incorrect selection with absolutely positioned div.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 19 14:26:36 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=39503


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mitz at webkit.org




--- Comment #1 from Ryosuke Niwa <rniwa at webkit.org>  2011-09-19 14:26:36 PST ---
The problem is that RenderBlock::positionForPoint assumes that the lastChildBox is not positioned.

if (lastChildBox() && contentsY > lastChildBox()->y()) { 
    for (RenderBox* childBox = lastChildBox(); childBox; childBox = childBox->previousSiblingBox()) { 
        if (isChildHitTestCandidate(childBox)) 
            return positionForPointRespectingEditingBoundaries(this, childBox, pointInContents); 
    } 
} else { 

+mitz since this code was added in http://trac.webkit.org/changeset/42467.

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



More information about the webkit-unassigned mailing list