Summary: | Accelerated animation with missing values in keyframes is broken | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||||||
Component: | Layout and Rendering | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | abarth, ariya.hidayat, cmarrin, eric, jarred, ossy, simon.fraser, webkit.review.bot | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Mac | ||||||||||
OS: | OS X 10.5 | ||||||||||
URL: | http://dev.sencha.com/animator/demos/healthy-choice/ | ||||||||||
Attachments: |
|
Description
Simon Fraser (smfr)
2010-10-26 20:44:36 PDT
The workaround is to explicitly specify opacity: 1 in keyframes that need it. Created attachment 71983 [details]
Patch
Looks good to me. Comment on attachment 71983 [details]
Patch
Removing ? until I figure out if I have to stuff the values into the first keyframe also.
Created attachment 72045 [details]
Patch
Attachment 72045 [details] did not pass style-queue:
Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1
WebCore/rendering/RenderLayerBacking.cpp:1121: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5]
Total errors found: 1 in 9 files
If any of these errors are false positives, please file a bug against check-webkit-style.
bool isFirstOrLastKeyframe = !key || key == 1; // per style check... ? http://trac.webkit.org/changeset/70657 (In reply to comment #8) > bool isFirstOrLastKeyframe = !key || key == 1; // per style check... ? I think what I have is more readable. I am purposefully ignoring the style check. Indeed. Good deal. http://trac.webkit.org/changeset/70657 might have broken GTK Linux 32-bit Debug and Qt Linux Release (In reply to comment #11) > http://trac.webkit.org/changeset/70657 might have broken GTK Linux 32-bit Debug and Qt Linux Release FYI: Qt specifix expected results landed in: http://trac.webkit.org/changeset /70710 Please don't ignore commnts of sheriffbot! He usually tell the truth. |