[Webkit-unassigned] [Bug 163877] New: Prevent hit tests from being performed on an invalid render tree

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 23 14:40:26 PDT 2016


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

            Bug ID: 163877
           Summary: Prevent hit tests from being performed on an invalid
                    render tree
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org
                CC: simon.fraser at apple.com

Hit testing should be performed with the render tree in a valid state. Some content can cause a hit test operation to trigger a style recalculation. When this happens, we need to make sure the full recalculation is performed before attempting to return hit test results, since style recalculation can cause elements to change their size, position, visibility, etc., causing the hit test to return invalid information.

This patch adds some debug assertions to help catch when this is happening.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161023/8620f58e/attachment.html>


More information about the webkit-unassigned mailing list