[Webkit-unassigned] [Bug 153767] New: PostResolutionCallbackDisabler does not fire callbacks for nested style recalc.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 1 14:26:33 PST 2016


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

            Bug ID: 153767
           Summary: PostResolutionCallbackDisabler does not fire callbacks
                    for nested style recalc.
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zalan at apple.com

1. style recalc is done -> post style recalc tasks are executed -> PostResolutionCallbackDisabler::~PostResolutionCallbackDisabler()
2. Element::focus() gets called (as one of the post style recalc task)
3. focus initiates style change (outline visual overflow)
4. nested style recals is triggered
5. post style recalc tasks are added to the queue during this nested style recalc
6. returning from the nested style recals we might initiate layout() assuming all style related tasks are done (including post style tasks) 
->assert in RenderListBox::computePreferredLogicalWidths()

-- 
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/20160201/864c1313/attachment.html>


More information about the webkit-unassigned mailing list