Status update:
I have a working prototype split across a few WIP patches.
The spec has changed recently (not yet written down) to change property based animation-tainting to being value based.
Animations on custom properties taint the values, tainted values default to the initial value when used in animation properties.
Currently working on implementing this value tainting behaviour in the prototype.
Status update:
- Value tainting implemented
- Style optimisations baseComputedStyle and matchedPropertiesCache re-enabled
Still to do:
- Ensure no performance regression in regular style updates
- Rethink styleForElement() code structure
Tested this issue on Mac OS 10.12, Ubuntu 14.04 and Windows 10 using chrome latest dev #55.0.2883.6 by following mentioned steps below.
1. Navigated to sample test case https://jsfiddle.net/3tn5nyLg/
2. Observed still the box is seen red color instead of green.
Could any one please let us know is there any other steps needed to be added to verify this issue from Chrome TE end?
Deleted:
Screenshot from 2016-10-10 15:14:19.png
273 KB
Status update: Been getting mixed results from the perf try bots about the animation priority patch. It might be more reliable to land it and watch the waterfall perf bots for a sustained regressions.
bugdroid1 failed to post a patch that landed:
https://crrev.com/890e3f57caf40adab7ea377cb50ef6591b6b882e
Add NeedsApplyPass optimization to style resolve
This change adds an optimization to style resolve to avoid making
apply passes over matched property sets for priority+isImportant
combinations that don't have any values present.
There are no behavioural changes made by this patch.
This change results in a 1-3% improvement in the update_style metric
of blink_style.top_25 on Nexus 7, Mac and Linux.
The purpose of this change is to avoid perf regressions when
adding a separate animation property apply pass in
https://codereview.chromium.org/2317903003.
BUG= 644148 , 450466
Committed: https://crrev.com/890e3f57caf40adab7ea377cb50ef6591b6b882e
Cr-Commit-Position: refs/heads/master@{#429717}
Verified the fix on Mac 10.12.6, Win-10 and Ubuntu 14.04 using latest chrome version #63.0.3212.0 as per the comment #0.
Attaching screen shot for reference.
Observed that the box was green after navigating to URL: https://jsfiddle.net/3tn5nyLg/.
Hence, the fix is working as expected.
Adding the verified labels.
Thanks...!!
Comment 1 by alancutter@chromium.org
, Sep 13 2016