chrome-devtools-frontend 1.0.938150 → 1.0.939277
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.stylelintrc.json +15 -11
- package/config/gni/all_devtools_files.gni +0 -1
- package/config/gni/devtools_grd_files.gni +0 -1
- package/front_end/Images/whatsnew.avif +0 -0
- package/front_end/Tests.js +30 -29
- package/front_end/core/host/InspectorFrontendHost.ts +16 -30
- package/front_end/core/host/InspectorFrontendHostAPI.ts +1 -0
- package/front_end/core/host/UserMetrics.ts +25 -0
- package/front_end/core/i18n/locales/en-US.json +4 -1
- package/front_end/core/i18n/locales/en-XL.json +4 -1
- package/front_end/core/sdk/CSSModel.ts +64 -50
- package/front_end/core/sdk/EmulationModel.ts +11 -0
- package/front_end/core/sdk/sdk-meta.ts +30 -1
- package/front_end/entrypoints/devtools_app/devtools_app.json +0 -1
- package/front_end/entrypoints/inspector_main/RenderingOptions.ts +9 -2
- package/front_end/entrypoints/inspector_main/renderingOptions.css +2 -2
- package/front_end/entrypoints/main/MainImpl.ts +14 -0
- package/front_end/entrypoints/main/main-meta.ts +0 -2
- package/front_end/entrypoints/node_main/nodeConnectionsPanel.css +2 -2
- package/front_end/entrypoints/worker_app/worker_app.json +0 -1
- package/front_end/legacy_test_runner/test_runner/test_runner.js +2 -4
- package/front_end/models/persistence/editFileSystemView.css +1 -1
- package/front_end/models/persistence/workspaceSettingsTab.css +1 -1
- package/front_end/panels/accessibility/accessibilityNode.css +2 -2
- package/front_end/panels/accessibility/axBreadcrumbs.css +1 -1
- package/front_end/panels/animation/animationTimeline.css +5 -5
- package/front_end/panels/application/components/frameDetailsReportView.css +1 -1
- package/front_end/panels/application/resourcesPanel.css +1 -1
- package/front_end/panels/application/resourcesSidebar.css +1 -1
- package/front_end/panels/browser_debugger/browser_debugger-meta.ts +0 -3
- package/front_end/panels/browser_debugger/xhrBreakpointsSidebarPane.css +2 -5
- package/front_end/panels/changes/changesSidebar.css +1 -1
- package/front_end/panels/changes/changesView.css +2 -2
- package/front_end/panels/console/consolePrompt.css +1 -1
- package/front_end/panels/console/consoleSidebar.css +4 -4
- package/front_end/panels/console/consoleView.css +2 -2
- package/front_end/panels/css_overview/components/cssOverviewStartView.css +1 -1
- package/front_end/panels/css_overview/cssOverviewCompletedView.css +8 -8
- package/front_end/panels/elements/classesPaneWidget.css +1 -1
- package/front_end/panels/elements/components/adornerSettingsPane.css +1 -1
- package/front_end/panels/elements/computedStyleWidgetTree.css +1 -1
- package/front_end/panels/elements/elementsPanel.css +1 -1
- package/front_end/panels/elements/elementsTreeOutline.css +1 -1
- package/front_end/panels/elements/layoutPane.css +1 -1
- package/front_end/panels/elements/platformFontsWidget.css +1 -1
- package/front_end/panels/elements/stylesSectionTree.css +1 -1
- package/front_end/panels/event_listeners/EventListenersView.ts +5 -4
- package/front_end/panels/event_listeners/eventListenersView.css +3 -2
- package/front_end/panels/help/ReleaseNoteText.ts +28 -0
- package/front_end/panels/issues/IssueKindView.ts +0 -6
- package/front_end/panels/issues/IssueView.ts +19 -27
- package/front_end/panels/issues/components/HideIssuesMenu.ts +7 -11
- package/front_end/panels/issues/components/hideIssuesMenu.css +8 -0
- package/front_end/panels/issues/issuesTree.css +17 -5
- package/front_end/panels/lighthouse/lighthouseStartView.css +2 -2
- package/front_end/panels/media/playerListView.css +1 -1
- package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +1 -1
- package/front_end/panels/network/NetworkLogView.ts +13 -0
- package/front_end/panels/network/NetworkSearchScope.ts +3 -1
- package/front_end/panels/network/blockedURLsPane.css +1 -1
- package/front_end/panels/network/networkConfigView.css +1 -1
- package/front_end/panels/network/networkLogView.css +3 -3
- package/front_end/panels/profiler/profileLauncherView.css +3 -3
- package/front_end/panels/security/mainView.css +2 -2
- package/front_end/panels/security/originView.css +1 -1
- package/front_end/panels/sensors/sensors.css +2 -2
- package/front_end/panels/settings/emulation/components/userAgentClientHintsForm.css +1 -1
- package/front_end/panels/settings/emulation/devicesSettingsTab.css +4 -4
- package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +1 -1
- package/front_end/panels/settings/settingsScreen.css +2 -2
- package/front_end/panels/sources/CoveragePlugin.ts +7 -2
- package/front_end/panels/sources/JavaScriptBreakpointsSidebarPane.ts +14 -17
- package/front_end/panels/sources/callStackSidebarPane.css +1 -1
- package/front_end/panels/sources/dialog.css +1 -1
- package/front_end/panels/sources/javaScriptBreakpointsSidebarPane.css +19 -45
- package/front_end/panels/sources/navigatorTree.css +4 -4
- package/front_end/panels/sources/sourcesPanel.css +2 -2
- package/front_end/panels/sources/threadsSidebarPane.css +1 -1
- package/front_end/panels/timeline/components/WebVitalsTooltip.css +1 -1
- package/front_end/panels/timeline/historyToolbarButton.css +1 -1
- package/front_end/panels/timeline/timelineStatusDialog.css +1 -1
- package/front_end/panels/webauthn/webauthnPane.css +2 -2
- package/front_end/ui/components/adorners/adorner.css +1 -1
- package/front_end/ui/components/expandable_list/expandableList.css +1 -1
- package/front_end/ui/components/linear_memory_inspector/valueInterpreterDisplay.css +1 -2
- package/front_end/ui/components/linear_memory_inspector/valueInterpreterSettings.css +1 -1
- package/front_end/ui/components/report_view/reportKey.css +1 -1
- package/front_end/ui/components/report_view/reportValue.css +1 -1
- package/front_end/ui/components/settings/settingCheckbox.css +5 -0
- package/front_end/ui/legacy/ContextMenu.ts +10 -3
- package/front_end/ui/legacy/SoftContextMenu.ts +9 -2
- package/front_end/ui/legacy/checkboxTextLabel.css +5 -1
- package/front_end/ui/legacy/components/color_picker/spectrum.css +9 -9
- package/front_end/ui/legacy/components/data_grid/dataGrid.css +2 -2
- package/front_end/ui/legacy/components/inline_editor/cssAngleEditor.css +3 -3
- package/front_end/ui/legacy/components/inline_editor/cssLength.css +1 -1
- package/front_end/ui/legacy/components/inline_editor/cssShadowEditor.css +1 -1
- package/front_end/ui/legacy/components/inline_editor/fontEditor.css +1 -1
- package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +2 -2
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +13 -7
- package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +2 -2
- package/front_end/ui/legacy/components/source_frame/imageView.css +1 -1
- package/front_end/ui/legacy/components/text_editor/cmdevtools.css +6 -14
- package/front_end/ui/legacy/emptyWidget.css +1 -1
- package/front_end/ui/legacy/filter.css +1 -1
- package/front_end/ui/legacy/infobar.css +2 -2
- package/front_end/ui/legacy/inspectorCommon.css +49 -45
- package/front_end/ui/legacy/inspectorSyntaxHighlight.css +3 -3
- package/front_end/ui/legacy/inspectorViewTabbedPane.css +1 -1
- package/front_end/ui/legacy/searchableView.css +1 -1
- package/front_end/ui/legacy/softContextMenu.css +11 -1
- package/front_end/ui/legacy/textPrompt.css +1 -1
- package/front_end/ui/legacy/themeColors.css +1 -0
- package/front_end/ui/legacy/toolbar.css +8 -8
- package/front_end/ui/legacy/treeoutline.css +4 -4
- package/inspector_overlay/common.css +2 -2
- package/inspector_overlay/tool_highlight.css +1 -1
- package/inspector_overlay/tool_paused.css +2 -2
- package/package.json +1 -1
- package/scripts/eslint_rules/lib/es_modules_import.js +21 -20
- package/scripts/eslint_rules/lib/l10n_filename_matches.js +4 -3
- package/scripts/eslint_rules/lib/migrate_create_shadow_root_with_styles.js +2 -2
- package/scripts/eslint_rules/lib/migrate_register_required_css.js +1 -1
- package/scripts/eslint_rules/tests/es_modules_import_test.js +3 -2
- package/front_end/panels/browser_debugger/module.json +0 -3
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
5
5
|
import * as Common from '../common/common.js';
|
|
6
|
-
|
|
7
6
|
import * as i18n from '../i18n/i18n.js';
|
|
7
|
+
|
|
8
8
|
const UIStrings = {
|
|
9
9
|
/**
|
|
10
10
|
*@description Title of a setting under the Console category that can be invoked through the Command Menu
|
|
@@ -746,6 +746,35 @@ Common.Settings.registerSettingExtension({
|
|
|
746
746
|
title: i18nLazyString(UIStrings.emulateCssMediaFeature, {PH1: 'prefers-color-scheme'}),
|
|
747
747
|
});
|
|
748
748
|
|
|
749
|
+
Common.Settings.registerSettingExtension({
|
|
750
|
+
category: Common.Settings.SettingCategory.RENDERING,
|
|
751
|
+
settingName: 'emulatedCSSMediaFeatureForcedColors',
|
|
752
|
+
settingType: Common.Settings.SettingType.ENUM,
|
|
753
|
+
storageType: Common.Settings.SettingStorageType.Session,
|
|
754
|
+
defaultValue: '',
|
|
755
|
+
options: [
|
|
756
|
+
{
|
|
757
|
+
title: i18nLazyString(UIStrings.doNotEmulateCss, {PH1: 'forced-colors'}),
|
|
758
|
+
text: i18nLazyString(UIStrings.noEmulation),
|
|
759
|
+
value: '',
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
title: i18nLazyString(UIStrings.emulateCss, {PH1: 'forced-colors: active'}),
|
|
763
|
+
text: i18n.i18n.lockedLazyString('forced-colors: active'),
|
|
764
|
+
value: 'active',
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
title: i18nLazyString(UIStrings.emulateCss, {PH1: 'forced-colors: none'}),
|
|
768
|
+
text: i18n.i18n.lockedLazyString('forced-colors: none'),
|
|
769
|
+
value: 'none',
|
|
770
|
+
},
|
|
771
|
+
],
|
|
772
|
+
tags: [
|
|
773
|
+
i18nLazyString(UIStrings.query),
|
|
774
|
+
],
|
|
775
|
+
title: i18nLazyString(UIStrings.emulateCssMediaFeature, {PH1: 'forced-colors'}),
|
|
776
|
+
});
|
|
777
|
+
|
|
749
778
|
Common.Settings.registerSettingExtension({
|
|
750
779
|
category: Common.Settings.SettingCategory.RENDERING,
|
|
751
780
|
settingName: 'emulatedCSSMediaFeaturePrefersReducedMotion',
|
|
@@ -187,6 +187,10 @@ const UIStrings = {
|
|
|
187
187
|
* page from loading images with the WebP format.
|
|
188
188
|
*/
|
|
189
189
|
disableWebpImageFormat: 'Disable `WebP` image format',
|
|
190
|
+
/**
|
|
191
|
+
* @description Explanation text for the 'Forces CSS forced-colors' setting in the Rendering tool.
|
|
192
|
+
*/
|
|
193
|
+
forcesCssForcedColors: 'Forces CSS forced-colors media feature',
|
|
190
194
|
};
|
|
191
195
|
const str_ = i18n.i18n.registerUIStrings('entrypoints/inspector_main/RenderingOptions.ts', UIStrings);
|
|
192
196
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
@@ -263,13 +267,16 @@ export class RenderingOptionsView extends UI.Widget.VBox {
|
|
|
263
267
|
i18nString(UIStrings.forcesCssPreferscolorschemeMedia),
|
|
264
268
|
Common.Settings.Settings.instance().moduleSetting('emulatedCSSMediaFeaturePrefersColorScheme'));
|
|
265
269
|
this.appendSelect(
|
|
266
|
-
i18nString(UIStrings.
|
|
267
|
-
Common.Settings.Settings.instance().moduleSetting('
|
|
270
|
+
i18nString(UIStrings.forcesCssForcedColors),
|
|
271
|
+
Common.Settings.Settings.instance().moduleSetting('emulatedCSSMediaFeatureForcedColors'));
|
|
268
272
|
if (supportsPrefersContrast()) {
|
|
269
273
|
this.appendSelect(
|
|
270
274
|
i18nString(UIStrings.forcesCssPreferscontrastMedia),
|
|
271
275
|
Common.Settings.Settings.instance().moduleSetting('emulatedCSSMediaFeaturePrefersContrast'));
|
|
272
276
|
}
|
|
277
|
+
this.appendSelect(
|
|
278
|
+
i18nString(UIStrings.forcesCssPrefersreducedmotion),
|
|
279
|
+
Common.Settings.Settings.instance().moduleSetting('emulatedCSSMediaFeaturePrefersReducedMotion'));
|
|
273
280
|
if (supportsPrefersReducedData()) {
|
|
274
281
|
this.appendSelect(
|
|
275
282
|
i18nString(UIStrings.forcesCssPrefersreduceddataMedia),
|
|
@@ -47,6 +47,7 @@ import * as Persistence from '../../models/persistence/persistence.js';
|
|
|
47
47
|
import * as Workspace from '../../models/workspace/workspace.js';
|
|
48
48
|
import * as Snippets from '../../panels/snippets/snippets.js';
|
|
49
49
|
import * as Timeline from '../../panels/timeline/timeline.js';
|
|
50
|
+
import * as IconButton from '../../ui/components/icon_button/icon_button.js';
|
|
50
51
|
import * as PerfUI from '../../ui/legacy/components/perf_ui/perf_ui.js';
|
|
51
52
|
import * as Components from '../../ui/legacy/components/utils/utils.js';
|
|
52
53
|
import * as UI from '../../ui/legacy/legacy.js';
|
|
@@ -147,6 +148,9 @@ export class MainImpl {
|
|
|
147
148
|
console.timeStamp('Main._gotPreferences');
|
|
148
149
|
this.createSettings(prefs);
|
|
149
150
|
await this.requestAndRegisterLocaleData();
|
|
151
|
+
|
|
152
|
+
Host.userMetrics.syncSetting(Common.Settings.Settings.instance().moduleSetting<boolean>('sync_preferences').get());
|
|
153
|
+
|
|
150
154
|
this.createAppUI();
|
|
151
155
|
}
|
|
152
156
|
|
|
@@ -873,6 +877,16 @@ export class MainMenuItem implements UI.Toolbar.Provider {
|
|
|
873
877
|
if (location !== 'drawer-view' && location !== 'panel') {
|
|
874
878
|
continue;
|
|
875
879
|
}
|
|
880
|
+
|
|
881
|
+
if (viewExtension.isPreviewFeature()) {
|
|
882
|
+
const previewIcon = new IconButton.Icon.Icon();
|
|
883
|
+
previewIcon.data = {iconName: 'ic_preview_feature', color: 'var(--icon-color)', width: '14px', height: '14px'};
|
|
884
|
+
moreTools.defaultSection().appendItem(title, () => {
|
|
885
|
+
UI.ViewManager.ViewManager.instance().showView(id, true, false);
|
|
886
|
+
}, /* disabled=*/ false, previewIcon);
|
|
887
|
+
continue;
|
|
888
|
+
}
|
|
889
|
+
|
|
876
890
|
moreTools.defaultSection().appendItem(title, () => {
|
|
877
891
|
UI.ViewManager.ViewManager.instance().showView(id, true, false);
|
|
878
892
|
});
|
|
@@ -237,8 +237,6 @@ async function loadMainModule(): Promise<typeof Main> {
|
|
|
237
237
|
|
|
238
238
|
async function loadInspectorMainModule(): Promise<typeof InspectorMain> {
|
|
239
239
|
if (!loadedInspectorMainModule) {
|
|
240
|
-
// Side-effect import resources in module.json
|
|
241
|
-
await Root.Runtime.Runtime.instance().loadModulePromise('entrypoints/inspector_main');
|
|
242
240
|
loadedInspectorMainModule = await import('../inspector_main/inspector_main.js');
|
|
243
241
|
}
|
|
244
242
|
return loadedInspectorMainModule;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
flex: none;
|
|
14
14
|
max-width: 600px;
|
|
15
15
|
max-height: 202px;
|
|
16
|
-
margin: 20px 0 5px
|
|
16
|
+
margin: 20px 0 5px;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.network-discovery-list-empty {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.network-discovery-list-item {
|
|
28
|
-
padding: 3px 5px
|
|
28
|
+
padding: 3px 5px;
|
|
29
29
|
height: 30px;
|
|
30
30
|
display: flex;
|
|
31
31
|
align-items: center;
|
|
@@ -59,15 +59,13 @@ export async function _executeTestScript() {
|
|
|
59
59
|
|
|
60
60
|
// Auto-start unit tests
|
|
61
61
|
self.test = async function() {
|
|
62
|
-
|
|
63
|
-
await eval(`import("${testScriptURL}")`);
|
|
62
|
+
await import(testScriptURL);
|
|
64
63
|
};
|
|
65
64
|
return;
|
|
66
65
|
}
|
|
67
66
|
|
|
68
67
|
try {
|
|
69
|
-
|
|
70
|
-
await eval(`import("${testScriptURL}")`);
|
|
68
|
+
await import(testScriptURL);
|
|
71
69
|
} catch (err) {
|
|
72
70
|
TestRunner.addResult('TEST ENDED EARLY DUE TO UNCAUGHT ERROR:');
|
|
73
71
|
TestRunner.addResult(err && err.stack || err);
|
|
@@ -109,6 +109,6 @@
|
|
|
109
109
|
* Always show an outline. Needed because we have a white background here.
|
|
110
110
|
*/
|
|
111
111
|
|
|
112
|
-
.workspace-settings-tab .harmony-input[type=text]:not(.error-input):not(:invalid) {
|
|
112
|
+
.workspace-settings-tab .harmony-input[type="text"]:not(.error-input):not(:invalid) {
|
|
113
113
|
box-shadow: var(--legacy-focus-ring-inactive-shadow);
|
|
114
114
|
}
|
|
@@ -34,7 +34,7 @@ span.ax-value-undefined {
|
|
|
34
34
|
text-decoration: line-through;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.tree-outline span[is=dt-icon-label] {
|
|
37
|
+
.tree-outline span[is="dt-icon-label"] {
|
|
38
38
|
position: relative;
|
|
39
39
|
left: -11px;
|
|
40
40
|
}
|
|
@@ -60,7 +60,7 @@ span.ax-value-undefined {
|
|
|
60
60
|
left: -2px;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.tree-outline span[is=dt-icon-label] + .ax-name {
|
|
63
|
+
.tree-outline span[is="dt-icon-label"] + .ax-name {
|
|
64
64
|
margin-left: -11px;
|
|
65
65
|
}
|
|
66
66
|
|
|
@@ -112,7 +112,7 @@ circle.animation-keyframe-point:active {
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.animation-timeline-header::after {
|
|
115
|
-
content:
|
|
115
|
+
content: "";
|
|
116
116
|
height: calc(100% - 48px - 28px);
|
|
117
117
|
position: absolute;
|
|
118
118
|
width: 150px;
|
|
@@ -184,14 +184,14 @@ circle.animation-keyframe-point:active {
|
|
|
184
184
|
height: 100%;
|
|
185
185
|
width: 100%;
|
|
186
186
|
top: 28px;
|
|
187
|
-
border-left: 1px solid var(--color-
|
|
187
|
+
border-left: 1px solid var(--color-red);
|
|
188
188
|
z-index: 2;
|
|
189
189
|
cursor: col-resize;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
.animation-scrubber-line {
|
|
193
193
|
width: 11px;
|
|
194
|
-
background: linear-gradient(to right, transparent 5px, var(--color-
|
|
194
|
+
background: linear-gradient(to right, transparent 5px, var(--color-red) 5px, var(--color-red) 6px, transparent 6px);
|
|
195
195
|
position: absolute;
|
|
196
196
|
top: -28px;
|
|
197
197
|
height: 28px;
|
|
@@ -204,7 +204,7 @@ circle.animation-keyframe-point:active {
|
|
|
204
204
|
width: 7px;
|
|
205
205
|
height: 7px;
|
|
206
206
|
transform: rotate(45deg);
|
|
207
|
-
background: var(--color-
|
|
207
|
+
background: var(--color-red);
|
|
208
208
|
position: absolute;
|
|
209
209
|
left: 2px;
|
|
210
210
|
top: 1px;
|
|
@@ -361,7 +361,7 @@ text.animation-timeline-grid-label {
|
|
|
361
361
|
|
|
362
362
|
.animation-paused::before,
|
|
363
363
|
.animation-paused::after {
|
|
364
|
-
content:
|
|
364
|
+
content: "";
|
|
365
365
|
background: var(--color-background);
|
|
366
366
|
width: 7px;
|
|
367
367
|
height: 20px;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
5
|
-
import * as Root from '../../core/root/root.js';
|
|
6
5
|
import * as SDK from '../../core/sdk/sdk.js';
|
|
7
6
|
import * as UI from '../../ui/legacy/legacy.js';
|
|
8
7
|
|
|
@@ -83,8 +82,6 @@ let loadedBrowserDebuggerModule: (typeof BrowserDebugger|undefined);
|
|
|
83
82
|
|
|
84
83
|
async function loadBrowserDebuggerModule(): Promise<typeof BrowserDebugger> {
|
|
85
84
|
if (!loadedBrowserDebuggerModule) {
|
|
86
|
-
// Side-effect import resources in module.json
|
|
87
|
-
await Root.Runtime.Runtime.instance().loadModulePromise('panels/browser_debugger');
|
|
88
85
|
loadedBrowserDebuggerModule = await import('./browser_debugger.js');
|
|
89
86
|
}
|
|
90
87
|
return loadedBrowserDebuggerModule;
|
|
@@ -15,10 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
.breakpoint-condition {
|
|
17
17
|
display: block;
|
|
18
|
-
margin
|
|
19
|
-
margin-bottom: 4px;
|
|
20
|
-
margin-left: 23px;
|
|
21
|
-
margin-right: 8px;
|
|
18
|
+
margin: 4px 8px 4px 23px;
|
|
22
19
|
}
|
|
23
20
|
|
|
24
21
|
.breakpoint-condition-input {
|
|
@@ -42,7 +39,7 @@
|
|
|
42
39
|
background-color: var(--legacy-focus-bg-color);
|
|
43
40
|
}
|
|
44
41
|
|
|
45
|
-
.breakpoint-entry [is=dt-checkbox] {
|
|
42
|
+
.breakpoint-entry [is="dt-checkbox"] {
|
|
46
43
|
max-width: 100%;
|
|
47
44
|
}
|
|
48
45
|
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* found in the LICENSE file.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
[slot=insertion-point-main] {
|
|
7
|
+
[slot="insertion-point-main"] {
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
display: flex;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
[slot=insertion-point-sidebar] {
|
|
12
|
+
[slot="insertion-point-sidebar"] {
|
|
13
13
|
overflow: auto;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
margin: 0 8px;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
[is=ui-icon] {
|
|
22
|
+
[is="ui-icon"] {
|
|
23
23
|
margin: 0 5px;
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -48,7 +48,7 @@ li .largeicon-navigator-folder {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
@media (forced-colors: active) {
|
|
51
|
-
[is=ui-icon].icon-mask {
|
|
51
|
+
[is="ui-icon"].icon-mask {
|
|
52
52
|
background-color: ButtonText;
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -65,8 +65,8 @@ li .largeicon-navigator-folder {
|
|
|
65
65
|
color: HighlightText;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.tree-outline li:hover [is=ui-icon].icon-mask,
|
|
69
|
-
.tree-outline li.selected [is=ui-icon].icon-mask,
|
|
68
|
+
.tree-outline li:hover [is="ui-icon"].icon-mask,
|
|
69
|
+
.tree-outline li.selected [is="ui-icon"].icon-mask,
|
|
70
70
|
.tree-outline li.selected:focus .spritesheet-mediumicons:not(.icon-mask) {
|
|
71
71
|
background-color: HighlightText !important; /* stylelint-disable-line declaration-no-important */
|
|
72
72
|
}
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
|
|
463
463
|
@media (forced-colors: active) {
|
|
464
464
|
.console-message-expand-icon,
|
|
465
|
-
.console-warning-level [is=ui-icon].icon-mask.expand-group-icon {
|
|
465
|
+
.console-warning-level [is="ui-icon"].icon-mask.expand-group-icon {
|
|
466
466
|
forced-color-adjust: none;
|
|
467
467
|
background-color: ButtonText;
|
|
468
468
|
}
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
color: HighlightText;
|
|
494
494
|
}
|
|
495
495
|
|
|
496
|
-
.console-message-wrapper:focus [is=ui-icon].icon-mask {
|
|
496
|
+
.console-message-wrapper:focus [is="ui-icon"].icon-mask {
|
|
497
497
|
background-color: HighlightText;
|
|
498
498
|
}
|
|
499
499
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
.overview-completed-view .colors ul li {
|
|
30
30
|
display: inline-block;
|
|
31
|
-
margin: 0 0 16px
|
|
31
|
+
margin: 0 0 16px;
|
|
32
32
|
padding: 0 8px 0 0;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
font-size: 15px;
|
|
112
112
|
font-weight: normal;
|
|
113
113
|
padding: 0;
|
|
114
|
-
margin: 0 0 20px
|
|
114
|
+
margin: 0 0 20px;
|
|
115
115
|
padding-left: calc(var(--overview-default-padding) + var(--overview-icon-padding));
|
|
116
116
|
position: relative;
|
|
117
117
|
height: 26px;
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.results-section h1::before {
|
|
122
|
-
content:
|
|
122
|
+
content: "";
|
|
123
123
|
display: block;
|
|
124
124
|
position: absolute;
|
|
125
125
|
left: var(--overview-default-padding);
|
|
@@ -264,14 +264,14 @@
|
|
|
264
264
|
.overview-completed-view .font-info h2 {
|
|
265
265
|
font-size: 14px;
|
|
266
266
|
font-weight: bold;
|
|
267
|
-
margin: 0 0 1em
|
|
267
|
+
margin: 0 0 1em;
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
.overview-completed-view .font-info h3 {
|
|
271
271
|
font-size: 13px;
|
|
272
272
|
font-weight: normal;
|
|
273
273
|
font-style: italic;
|
|
274
|
-
margin: 0 0 0.5em
|
|
274
|
+
margin: 0 0 0.5em;
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
.overview-completed-view .font-info {
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
width: 30px;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
.contrast-warning [is=ui-icon] {
|
|
303
|
+
.contrast-warning [is="ui-icon"] {
|
|
304
304
|
margin-left: 5px;
|
|
305
305
|
}
|
|
306
306
|
|
|
@@ -318,11 +318,11 @@
|
|
|
318
318
|
min-width: initial;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
[is=ui-icon].smallicon-checkmark-square {
|
|
321
|
+
[is="ui-icon"].smallicon-checkmark-square {
|
|
322
322
|
background-color: var(--color-green);
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
[is=ui-icon].smallicon-no {
|
|
325
|
+
[is="ui-icon"].smallicon-no {
|
|
326
326
|
background-color: var(--color-red);
|
|
327
327
|
}
|
|
328
328
|
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
}
|
|
161
161
|
/* We set dimensions for the invisible input to support quick highlight a11y feature
|
|
162
162
|
that uses the dimensions to draw an outline around the element. */
|
|
163
|
-
.color-picker-label input[type=color] {
|
|
163
|
+
.color-picker-label input[type="color"] {
|
|
164
164
|
width: 100%;
|
|
165
165
|
height: 100%;
|
|
166
166
|
position: absolute;
|
|
@@ -301,10 +301,6 @@ export class ObjectEventListenerBar extends UI.TreeOutline.TreeElement {
|
|
|
301
301
|
|
|
302
302
|
private setTitle(object: SDK.RemoteObject.RemoteObject, linkifier: Components.Linkifier.Linkifier): void {
|
|
303
303
|
const title = this.listItemElement.createChild('span', 'event-listener-details');
|
|
304
|
-
const subtitle = this.listItemElement.createChild('span', 'event-listener-tree-subtitle');
|
|
305
|
-
const linkElement =
|
|
306
|
-
linkifier.linkifyRawLocation(this.eventListenerInternal.location(), this.eventListenerInternal.sourceURL());
|
|
307
|
-
subtitle.appendChild(linkElement);
|
|
308
304
|
|
|
309
305
|
const propertyValue = ObjectUI.ObjectPropertiesSection.ObjectPropertiesSection.createPropertyValue(
|
|
310
306
|
object, /* wasThrown */ false, /* showPreview */ false);
|
|
@@ -333,6 +329,11 @@ export class ObjectEventListenerBar extends UI.TreeOutline.TreeElement {
|
|
|
333
329
|
title.appendChild(passiveButton);
|
|
334
330
|
}
|
|
335
331
|
|
|
332
|
+
const subtitle = title.createChild('span', 'event-listener-tree-subtitle');
|
|
333
|
+
const linkElement =
|
|
334
|
+
linkifier.linkifyRawLocation(this.eventListenerInternal.location(), this.eventListenerInternal.sourceURL());
|
|
335
|
+
subtitle.appendChild(linkElement);
|
|
336
|
+
|
|
336
337
|
this.listItemElement.addEventListener('contextmenu', event => {
|
|
337
338
|
const menu = new UI.ContextMenu.ContextMenu(event);
|
|
338
339
|
if (event.target !== linkElement) {
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
color: var(--color-syntax-2);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.tree-outline-disclosure .object-value-node
|
|
36
|
+
.tree-outline-disclosure .object-value-node,
|
|
37
|
+
.tree-outline-disclosure .object-value-object {
|
|
37
38
|
overflow: hidden;
|
|
38
39
|
text-overflow: ellipsis;
|
|
39
40
|
}
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
background-color: var(--color-background-elevation-1);
|
|
54
55
|
border-radius: 3px;
|
|
55
56
|
border: 1px solid var(--color-details-hairline);
|
|
56
|
-
margin-left:
|
|
57
|
+
margin-left: 5px;
|
|
57
58
|
display: block;
|
|
58
59
|
cursor: pointer;
|
|
59
60
|
opacity: 80%;
|