Remove the previewed class when pressing Escape in the .cls pane When typing new classes in the .cls pane, they get applied to the selected element as you type, in order to be previewed live. However, if you press Escape, the classes go away from the .cls pane but they stay on the element itself. They should not. This change fixes that by making sure we re-apply the active classes when this happens. It also adds a new e2e test for the .cls panel. Gif of the fix: https://imgur.com/BjDiEQY.gif Bug: 1114726 Change-Id: I393243b469b416b7fd001a096cda08aa10e8bce2 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2346775 Commit-Queue: Patrick Brosset <patrick.brosset@microsoft.com> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Tony Ross <tross@microsoft.com>
The client-side of the Chrome DevTools, including all JS & CSS to run the DevTools webapp.
The frontend is available on chromium.googlesource.com.
Please be aware that DevTools follows additional development guidelines.
The issue triage guidelines can be found here.
Instructions to set up, use, and maintain a DevTools frontend checkout can be found here.
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