[Webkit-unassigned] [Bug 125398] New: Don't recalc all styles when adding @keyframes, @import and @page
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Dec 7 13:34:46 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=125398
Summary: Don't recalc all styles when adding @keyframes,
@import and @page
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Keywords: BlinkMergeCandidate
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rniwa at webkit.org
CC: koivisto at iki.fi, simon.fraser at apple.com,
barraclough at apple.com, benjamin at webkit.org,
akling at apple.com, psolanki at apple.com
Consider merging https://chromium.googlesource.com/chromium/blink/+/bd8fbc63697a3ac187ee70e7a39ae1c5e039062c
This applies to @import and @page rules as well.
There are probably other rule types which we could
be smarter about, but @keyframes is most common.
I wish I had a good way to test this. I considered
writing an inspector-timeline test, or adding a
"style recalc count" to settings.internals. I think
long-term we should consider exposing recalc information
as part of window.performance? But for now there
doesn't seem to be a nice way to test this change.
Elliott and I discovered when writing/reviewing this
that adding @keyframes after an animation is first
created has no effect in WebKit/Blink. It should!
I've filed: http://crbug.com/307760
--
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