[Webkit-unassigned] [Bug 120769] New: [CSSRegions] Selection focusNode set to the "region" block, instead of the "source" block

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 5 06:24:44 PDT 2013


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

           Summary: [CSSRegions] Selection focusNode set to the "region"
                    block, instead of the "source" block
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jfernandez at igalia.com


While selecting content inside a region block, the focusNode is being moved across the corresponding "source" block at the specific offset. 

Once the selection overflows the last Line Box element, the focusNode is set to the "region" block with offset 0. This is wrong since the "region" block has no children in the DOM Tree, hence no content can be retrieved from it. Besides, it does not follow the way regular blocks manage this situation, which keep the focusNode at the last children of the block with the maximum offset.

I've verified that this bug comes from the missing specific CSSRegions implementation of the RenderBlock::positionForPoint method, which derives the logic to the RenderBox::positionForPoint method.

-- 
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