[Webkit-unassigned] [Bug 126052] New: Avoid checking adjacent rules when doing a Force recalc or if no children changed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 19 21:57:22 PST 2013


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

           Summary: Avoid checking adjacent rules when doing a Force
                    recalc or if no children changed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: koivisto at iki.fi, benjamin at webkit.org, akling at apple.com


Consider merging https://chromium.googlesource.com/chromium/blink/+/2e53720ae89d22d963aae65fe2de1d4d82cbf3c2

Iterating the children is a waste if we're already going to recalc
everyone like in a Force situation or if we know that no children
needStyleRecalc(). We should skip all the checking in these cases.

I also refactored the loop into checkForChildrenAdjacentRuleChanges()
since recalcChildStyle was getting too long.

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