commit | a9047f3925842c12ab3f6c5ad55358aee4398649 | [log] [tgz] |
---|---|---|
author | Ergun Erdogmus <ergunsh@chromium.org> | Thu Mar 09 11:55:18 2023 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 10 15:50:15 2023 |
tree | 06bdacad0e4a1fae151b0fa931d508c46dc5028e | |
parent | 133a9f10b2c4926bd9aa4285eb98b946d9e4847c [diff] |
Partially parse animation shorthand and render keyframe links I was thinking parsing `animation` shorthand to be an overkill in crrev.com/c/4300470 however it felt hacky to do otherwise and I've finally opted in to partially parsing it. Created a `CSSAnimationModel` that tokenizes the given shorthand value and finds the parts in it that should be rendered as text, easing function or animation name. I did not split the text part into other longhand properties since we render them as text anyways. If we feel the need for this (i.e. a new swatch for some longhand property), we can do that on top of this patch. Here is the screenshot for animation shorthand to keyframe links: https://bugs.chromium.org/p/chromium/issues/attachment?aid=589773&signed_aid=PLB9MrSIsiAh5-VSfHCZXQ==&inline=1 Fixed: 1420656 Change-Id: I254d9fdc6f4f8896b99cdad3049af983d8265447 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4316322 Reviewed-by: Changhao Han <changhaohan@chromium.org> Commit-Queue: Ergün Erdoğmuş <ergunsh@chromium.org> Reviewed-by: Philip Pfaffe <pfaffe@chromium.org>
The client-side of the Chrome DevTools, including all JS & CSS to run the DevTools webapp.
The frontend is available on chromium.googlesource.com.
Check out the project documentation for instructions to set up, use, and maintain a DevTools front-end checkout, as well as design guidelines, and architectural documentation.
DevTools frontend repository is mirrored on GitHub.
DevTools frontend is also available on NPM as the chrome-devtools-frontend package. It's not currently available via CJS or ES modules, so consuming this package in other tools may require some effort.
The version number of the npm package (e.g. 1.0.373466
) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chromium commit, however the package is updated roughly daily.
All DevTools commits: View the log or follow @DevToolsCommits on Twitter
All open DevTools tickets on crbug.com
File a new DevTools ticket: new.crbug.com
Code reviews mailing list: devtools-reviews@chromium.org
@ChromeDevTools on Twitter
Chrome DevTools mailing list: groups.google.com/forum/google-chrome-developer-tools