[Webkit-unassigned] [Bug 116076] New: Don't recalc style for the whole subtree during animations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 13 16:39:03 PDT 2013


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

           Summary: Don't recalc style for the whole subtree during
                    animations
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          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, simon.fraser at apple.com,
                    dino at apple.com, akling at apple.com


We probably want to merge
https://chromium.googlesource.com/chromium/blink/+/96a74fcd42643e3e9b0320192b57a91e271f7709

Don't recalc style for the whole subtree during animations

SyntheticStyleChange was used by animations to trigger a style recalc on the
element that is being animated, but it was after FullStyleChange in the enum
which meant we'd Force recalc style on all the descendants of the animating
element as well even though it wasn't needed.

Instead we can put SyntheticStyleChange earlier in the enum and only trigger
a local style change on the animating element and let the normal Node::diff
logic decide if we need to recalc our children.

This should greatly improve performance when animating elements that
contain a large number of descendants.

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