commit | 46cdd9cd019f088e1134abe84dbc7d53ac60585a | [log] [tgz] |
---|---|---|
author | Changhao Han <[email protected]> | Thu Jun 10 19:45:59 2021 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 10 21:14:18 2021 |
tree | 7030c2c8dbb0186794606528395a9f4ac563303c | |
parent | 002707d241fdab0edd6a1b3d087296de25c48dec [diff] |
Display container queries in the Styles pane and make them editable This CL uses the new field from CDP's CSS.getMatchedStylesForNode, added in [1], to display container queries, and uses the new CDP method CSS.setContainerQueryText added in [2] to support editing in the Styles pane. This CL depends on a protocol definition roll [3] before it can land. This CL also refactors StylePropertiesSection (in StylesSidebarPane.js) a little bit, mostly renaming `media*` elements that holds media/container queries to `query*`. I also plan on refactoring more in StylePropertiesSection to use LitHTML components query elements. [1]: https://crrev.com/c/2927584 [2]: https://crrev.com/c/2945781 [3]: https://crrev.com/c/2950762 screencast: https://imgur.com/a/jBa467k Bug: chromium:1146422 Change-Id: I104f3bc7791a4b0b039a38a0c383f3853f550bb2 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2947248 Commit-Queue: Changhao Han <[email protected]> Reviewed-by: Mathias Bynens <[email protected]> Reviewed-by: Alex Rudenko <[email protected]> Reviewed-by: Tim van der Lippe <[email protected]>
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 in docs/triage_guidelines.md.
Instructions to set up, use, and maintain a DevTools frontend checkout can be found in docs/workflows.md.
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: [email protected]
@ChromeDevTools on Twitter
Chrome DevTools mailing list: groups.google.com/forum/google-chrome-developer-tools