commit | bed9cb9d56adac6f50313b0e620a1aa2f0d871ed | [log] [tgz] |
---|---|---|
author | Manish Jethani <m.jethani@eyeo.com> | Sat Oct 28 23:02:07 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Oct 28 23:02:07 2017 |
tree | 2de37adc13433780b24602ca42fa5851b4371ee2 | |
parent | 96c9e501b87daaed0351eb752b0665db99833eae [diff] |
Support @keyframes rules in user style sheets Previously @keyframes rules in style sheets injected by extensions were managed in ScopedStyleResolver along with other author rules. With crrev.com/c/641294 we started treating these injected style sheets as user style sheets and moved the management of such rules to StyleEngine. This patch fixes a regression caused by this change whereby StyleResolver is no longer able to find @keyframes rules from these style sheets. StyleEngine now maintains a map of animation names to their corresponding @keyframes rules found in user style sheets. If StyleResolver is unable to find a given @keyframes rule among its author rules, it looks it up in StyleEngine next. BUG=632009,776661 Change-Id: I90462a0721cc75da14ee041c1a70736e4df99fb8 Reviewed-on: https://chromium-review.googlesource.com/735263 Reviewed-by: nainar <nainar@chromium.org> Commit-Queue: nainar <nainar@chromium.org> Cr-Commit-Position: refs/heads/master@{#512411}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .