New issue
Advanced search Search tips

Issue 726972 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

DevTools: encapsulate more components/panels with shadow DOM

Project Member Reported by l...@chromium.org, May 27 2017

Issue description

DevTools has a lot of 'components' in the general sense of the term.  Many drawers, sidebars, toolbars, and widgets could be encapsulated with shadow DOM.  While some are today, the coverage could be better.

The main benefit of doing so with shadow DOM is isolating styles, possibly improving performance and avoiding interference.
 
Project Member

Comment 9 by bugdroid1@chromium.org, Jun 11 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/75770b99c7a2a5a2a426881e5a766e4fcbb4648a

commit 75770b99c7a2a5a2a426881e5a766e4fcbb4648a
Author: luoe <luoe@chromium.org>
Date: Sun Jun 11 08:02:52 2017

DevTools: migrate StylesSidebarPane to shadow

BUG= 726972 

Review-Url: https://codereview.chromium.org/2927573004
Cr-Commit-Position: refs/heads/master@{#478531}

[modify] https://crrev.com/75770b99c7a2a5a2a426881e5a766e4fcbb4648a/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js
[modify] https://crrev.com/75770b99c7a2a5a2a426881e5a766e4fcbb4648a/third_party/WebKit/LayoutTests/inspector/elements/styles-2/filter-matched-styles-hides-separators.html
[modify] https://crrev.com/75770b99c7a2a5a2a426881e5a766e4fcbb4648a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/style-update-during-selector-edit.html
[modify] https://crrev.com/75770b99c7a2a5a2a426881e5a766e4fcbb4648a/third_party/WebKit/Source/devtools/BUILD.gn
[modify] https://crrev.com/75770b99c7a2a5a2a426881e5a766e4fcbb4648a/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js
[modify] https://crrev.com/75770b99c7a2a5a2a426881e5a766e4fcbb4648a/third_party/WebKit/Source/devtools/front_end/elements/MetricsSidebarPane.js
[modify] https://crrev.com/75770b99c7a2a5a2a426881e5a766e4fcbb4648a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
[modify] https://crrev.com/75770b99c7a2a5a2a426881e5a766e4fcbb4648a/third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css
[modify] https://crrev.com/75770b99c7a2a5a2a426881e5a766e4fcbb4648a/third_party/WebKit/Source/devtools/front_end/elements/module.json
[add] https://crrev.com/75770b99c7a2a5a2a426881e5a766e4fcbb4648a/third_party/WebKit/Source/devtools/front_end/elements/stylesSidebarPane.css

Comment 11 by l...@chromium.org, Nov 8 2017

Status: Fixed (was: Assigned)
No further major panels are planned to be shadowized at this time.

Sign in to add a comment