[Webkit-unassigned] [Bug 119479] New: Inserting a JS generated keyframe animation shouldn't trigger a whole document style recalc
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Aug 4 13:34:42 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=119479
Summary: Inserting a JS generated keyframe animation shouldn't
trigger a whole document style recalc
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: ralpht+bugs at gmail.com
CC: akling at apple.com, ralpht+bugs at gmail.com
Created an attachment (id=208099)
--> (https://bugs.webkit.org/attachment.cgi?id=208099&action=review)
Example of adding an animation via JS which triggers a whole document style recalc
Inserting a keyframe animation created in JS causes a full style recalc which can be very expensive on large documents. WebKit doesn't start an animation if it was referenced by a node prior to inserting it, so hopefully it's possible to add a custom keyframe animation for only the time it takes to parse it.
The attached example causes a longer style recalc (on L26) when the keyframe rule is added.
--
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