chrome-devtools-frontend 1.0.1730971 → 1.0.1732418
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/front_end/Tests.js +20 -0
- package/front_end/core/host/AidaClient.ts +47 -3
- package/front_end/core/host/AidaClientTypes.ts +8 -1
- package/front_end/core/host/AidaGcaTranslation.ts +1 -1
- package/front_end/core/sdk/NetworkManager.ts +2 -1
- package/front_end/generated/Deprecation.ts +0 -8
- package/front_end/generated/InspectorBackendCommands.ts +2 -1
- package/front_end/generated/protocol.ts +9 -0
- package/front_end/models/ai_assistance/agents/StylingAgent.snapshot.txt +1 -1
- package/front_end/models/ai_assistance/contexts/LighthouseContext.snapshot.txt +6 -1
- package/front_end/models/ai_assistance/contexts/LighthouseContext.ts +4 -3
- package/front_end/models/ai_assistance/data_formatters/LighthouseFormatter.snapshot.txt +91 -11
- package/front_end/models/ai_assistance/data_formatters/LighthouseFormatter.ts +90 -43
- package/front_end/models/ai_assistance/skills/styling.md +4 -2
- package/front_end/models/ai_assistance/tools/ExecuteJavaScript.ts +31 -36
- package/front_end/models/bindings/CompilerScriptMapping.ts +0 -1
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +0 -1
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +0 -1
- package/front_end/models/har/HARFormat.ts +1 -0
- package/front_end/models/har/Importer.ts +7 -1
- package/front_end/models/har/Log.snapshot.txt +2 -0
- package/front_end/models/har/Log.ts +2 -0
- package/front_end/models/javascript_metadata/NativeFunctions.ts +0 -4
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +1 -1
- package/front_end/panels/ai_assistance/components/ChatInput.ts +2 -0
- package/front_end/panels/ai_assistance/components/chatInput.css +1 -1
- package/front_end/panels/ai_assistance/components/exploreWidget.css +1 -1
- package/front_end/panels/animation/animationTimeline.css +11 -9
- package/front_end/panels/application/IndexedDBViews.ts +2 -2
- package/front_end/panels/application/PrivateVerificationTokensView.ts +217 -9
- package/front_end/panels/application/ServiceWorkerCacheViews.ts +1 -1
- package/front_end/panels/application/ServiceWorkersView.ts +1 -1
- package/front_end/panels/application/StorageView.ts +1 -1
- package/front_end/panels/application/appManifestView.css +0 -6
- package/front_end/panels/application/backgroundServiceView.css +0 -21
- package/front_end/panels/application/components/backForwardCacheView.css +1 -9
- package/front_end/panels/application/components/endpointsGrid.css +1 -1
- package/front_end/panels/application/components/permissionsPolicySection.css +1 -1
- package/front_end/panels/application/cookieItemsView.css +0 -1
- package/front_end/panels/application/frameDetailsReportView.css +0 -10
- package/front_end/panels/application/indexedDBViews.css +0 -6
- package/front_end/panels/application/privateVerificationTokensView.css +12 -0
- package/front_end/panels/application/resourcesPanel.css +0 -14
- package/front_end/panels/application/serviceWorkerUpdateCycleView.css +4 -4
- package/front_end/panels/application/serviceWorkersView.css +1 -1
- package/front_end/panels/changes/CombinedDiffView.ts +1 -1
- package/front_end/panels/comments/CommentsPane.ts +5 -0
- package/front_end/panels/common/CommentsOverlayWidget.ts +337 -117
- package/front_end/panels/console/consoleView.css +5 -3
- package/front_end/panels/coverage/CoverageView.ts +0 -1
- package/front_end/panels/coverage/coverageView.css +4 -3
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +0 -1
- package/front_end/panels/elements/AccessibilityTreeView.ts +1 -1
- package/front_end/panels/elements/CSSValueTraceView.ts +2 -4
- package/front_end/panels/elements/DOMTreeContextMenu.ts +1 -1
- package/front_end/panels/elements/DOMTreeWidget.ts +14 -0
- package/front_end/panels/elements/MetricsSidebarPane.ts +1 -1
- package/front_end/panels/elements/PlatformFontsWidget.ts +0 -1
- package/front_end/panels/elements/PropertiesWidget.ts +1 -1
- package/front_end/panels/elements/StylesSidebarPane.ts +2 -0
- package/front_end/panels/elements/WebCustomData.ts +1 -1
- package/front_end/panels/elements/components/cssHintDetailsView.css +1 -1
- package/front_end/panels/elements/components/cssVariableValueView.css +3 -1
- package/front_end/panels/elements/components/elementsTreeExpandButton.css +3 -2
- package/front_end/panels/elements/components/stylePropertyEditor.css +2 -2
- package/front_end/panels/elements/layoutPane.css +1 -1
- package/front_end/panels/elements/metricsSidebarPane.css +4 -4
- package/front_end/panels/elements/platformFontsWidget.css +1 -1
- package/front_end/panels/elements/stylesSidebarPane.css +1 -1
- package/front_end/panels/emulation/DeviceModeView.ts +4 -3
- package/front_end/panels/emulation/deviceModeView.css +6 -7
- package/front_end/panels/event_listeners/eventListenersView.css +4 -4
- package/front_end/panels/explain/components/consoleInsight.css +3 -18
- package/front_end/panels/issues/issuesTree.css +5 -6
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +4 -2
- package/front_end/panels/layer_viewer/TransformController.ts +106 -54
- package/front_end/panels/lighthouse/lighthousePanel.css +4 -7
- package/front_end/panels/lighthouse/lighthouseStartView.css +1 -2
- package/front_end/panels/linear_memory_inspector/components/linearMemoryHighlightChipList.css +4 -4
- package/front_end/panels/media/EventTimelineView.ts +1 -4
- package/front_end/panels/media/TickingFlameChart.ts +3 -2
- package/front_end/panels/media/playerListView.css +6 -3
- package/front_end/panels/media/playerMessagesView.css +2 -2
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +1 -1
- package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +5 -7
- package/front_end/panels/network/NetworkConfigView.ts +1 -1
- package/front_end/panels/network/binaryResourceView.css +0 -7
- package/front_end/panels/network/networkLogView.css +0 -7
- package/front_end/panels/network/networkTimingTable.css +2 -2
- package/front_end/panels/network/requestConditionsDrawer.css +1 -24
- package/front_end/panels/performance_monitor/PerformanceMonitor.ts +1 -1
- package/front_end/panels/performance_monitor/performanceMonitor.css +1 -1
- package/front_end/panels/protocol_monitor/JSONEditor.ts +1 -1
- package/front_end/panels/protocol_monitor/protocolMonitor.css +1 -1
- package/front_end/panels/recorder/extensionView.css +1 -1
- package/front_end/panels/recorder/recorderPanel.css +3 -3
- package/front_end/panels/recorder/recordingListView.css +1 -1
- package/front_end/panels/recorder/stepEditor.css +2 -2
- package/front_end/panels/recorder/stepView.css +0 -24
- package/front_end/panels/screencast/screencastView.css +2 -1
- package/front_end/panels/search/searchView.css +4 -3
- package/front_end/panels/security/SecurityPanelSidebar.ts +0 -1
- package/front_end/panels/security/mainView.css +1 -1
- package/front_end/panels/security/originView.css +0 -4
- package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +2 -1
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +1 -2
- package/front_end/panels/sources/breakpointsView.css +0 -1
- package/front_end/panels/sources/tabbedEditorContainer.css +1 -1
- package/front_end/panels/sources/watchExpressionsSidebarPane.css +2 -2
- package/front_end/panels/timeline/TimelineSelectorStatsView.ts +1 -1
- package/front_end/panels/timeline/components/OriginMap.ts +1 -1
- package/front_end/panels/timeline/components/fieldSettingsDialog.css +1 -1
- package/front_end/panels/timeline/components/metricCard.css +1 -1
- package/front_end/panels/timeline/components/networkRequestDetails.css +0 -1
- package/front_end/panels/timeline/components/networkRequestTooltip.css +2 -2
- package/front_end/panels/timeline/timelineFlamechartPopover.css +1 -1
- package/front_end/panels/timeline/timelineHistoryManager.css +1 -1
- package/front_end/panels/timeline/timelineMiniMap.css +1 -1
- package/front_end/panels/timeline/timelineStatusDialog.css +1 -1
- package/front_end/panels/web_audio/webAudio.css +0 -20
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/ui/comments/CommentAnchorResolver.ts +166 -8
- package/front_end/ui/comments/CommentOverlayManager.ts +17 -2
- package/front_end/ui/components/diff_view/diffView.css +1 -1
- package/front_end/ui/components/markdown_view/markdownView.css +1 -1
- package/front_end/ui/components/menus/Menu.ts +1 -1
- package/front_end/ui/components/menus/menuItem.css +1 -1
- package/front_end/ui/components/panel_feedback/panelFeedback.css +2 -2
- package/front_end/ui/components/panel_introduction_steps/panelIntroductionSteps.css +1 -1
- package/front_end/ui/components/report_view/reportValue.css +5 -2
- package/front_end/ui/components/suggestion_input/suggestionInput.css +4 -4
- package/front_end/ui/legacy/ContextMenu.ts +3 -0
- package/front_end/ui/legacy/GlassPane.ts +3 -3
- package/front_end/ui/legacy/SoftContextMenu.ts +7 -1
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +2 -0
- package/front_end/ui/legacy/components/inline_editor/bezierEditor.css +7 -6
- package/front_end/ui/legacy/components/inline_editor/cssAngleEditor.css +3 -3
- package/front_end/ui/legacy/components/perf_ui/flameChart.css +7 -6
- package/front_end/ui/legacy/components/perf_ui/overviewGrid.css +4 -3
- package/front_end/ui/legacy/components/perf_ui/pieChart.css +3 -3
- package/front_end/ui/legacy/components/source_frame/imageView.css +4 -4
- package/front_end/ui/legacy/components/utils/jsUtils.css +2 -1
- package/front_end/ui/legacy/dropTarget.css +1 -1
- package/front_end/ui/legacy/filter.css +4 -3
- package/front_end/ui/legacy/inspectorCommon.css +8 -23
- package/front_end/ui/legacy/inspectorDrawerTabbedPane.css +1 -1
- package/front_end/ui/legacy/suggestBox.css +2 -1
- package/front_end/ui/legacy/toolbar.css +2 -1
- package/front_end/ui/legacy/treeoutline.css +5 -4
- package/front_end/ui/legacy/viewContainers.css +2 -1
- package/front_end/ui/visual_logging/KnownContextValues.ts +7 -0
- package/inspector_overlay/highlight_anchor.ts +8 -11
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
:host {
|
|
8
8
|
margin: var(--sys-size-3) var(--sys-size-9) var(--sys-size-3) var(--sys-size-9);
|
|
9
|
-
min-width:
|
|
9
|
+
min-width: var(--sys-size-22);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.value {
|
|
@@ -15,5 +15,8 @@
|
|
|
15
15
|
margin-inline-start: 0;
|
|
16
16
|
padding: 0 var(--sys-size-4);
|
|
17
17
|
overflow-wrap: break-word;
|
|
18
|
-
line-height
|
|
18
|
+
/* 16px body4 line-height (--sys-typescale-body4-line-height, equal to --sys-size-8)
|
|
19
|
+
* + 2px row leading (--sys-size-2) = 18px, preserving baseline alignment with
|
|
20
|
+
* paired 18px .key cells and inline 18px-20px report icons/buttons. */
|
|
21
|
+
line-height: calc(var(--sys-typescale-body4-line-height) + var(--sys-size-2));
|
|
19
22
|
}
|
|
@@ -30,8 +30,8 @@ devtools-editable-content {
|
|
|
30
30
|
|
|
31
31
|
devtools-editable-content:hover,
|
|
32
32
|
devtools-editable-content:focus {
|
|
33
|
-
box-shadow: 0 0 0
|
|
34
|
-
border-radius:
|
|
33
|
+
box-shadow: 0 0 0 var(--sys-size-1) var(--sys-color-divider);
|
|
34
|
+
border-radius: var(--sys-size-2);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
devtools-editable-content[placeholder]:empty::before {
|
|
@@ -65,8 +65,8 @@ devtools-editable-content:focus ~ devtools-suggestion-box {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.suggestions > li {
|
|
68
|
-
padding:
|
|
69
|
-
border:
|
|
68
|
+
padding: var(--sys-size-1);
|
|
69
|
+
border: var(--sys-size-1) solid transparent;
|
|
70
70
|
white-space: nowrap;
|
|
71
71
|
font-family: var(--source-code-font-family);
|
|
72
72
|
font-size: var(--source-code-font-size);
|
|
@@ -759,6 +759,9 @@ export class ContextMenu extends SubMenu {
|
|
|
759
759
|
* Discards (closes) the soft context menu if it's currently shown.
|
|
760
760
|
*/
|
|
761
761
|
discard(): void {
|
|
762
|
+
if (ContextMenu.pendingMenu === this) {
|
|
763
|
+
ContextMenu.pendingMenu = null;
|
|
764
|
+
}
|
|
762
765
|
if (this.softMenu) {
|
|
763
766
|
this.softMenu.discard();
|
|
764
767
|
}
|
|
@@ -130,9 +130,6 @@ export class GlassPane {
|
|
|
130
130
|
return;
|
|
131
131
|
}
|
|
132
132
|
this.#widget.detach(/* overrideHideOnDetach= */ true);
|
|
133
|
-
if (this.#onHideCallback) {
|
|
134
|
-
this.#onHideCallback();
|
|
135
|
-
}
|
|
136
133
|
}
|
|
137
134
|
|
|
138
135
|
#onDetach(): void {
|
|
@@ -147,6 +144,9 @@ export class GlassPane {
|
|
|
147
144
|
this.onMouseDownBound,
|
|
148
145
|
true,
|
|
149
146
|
);
|
|
147
|
+
if (this.#onHideCallback) {
|
|
148
|
+
this.#onHideCallback();
|
|
149
|
+
}
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
private onMouseDown(event: Event): void {
|
|
@@ -90,6 +90,11 @@ export class SoftContextMenu {
|
|
|
90
90
|
this.document = document;
|
|
91
91
|
|
|
92
92
|
this.glassPane = new GlassPane();
|
|
93
|
+
this.glassPane.setOnHideCallback(() => {
|
|
94
|
+
if (this.glassPane) {
|
|
95
|
+
this.discard();
|
|
96
|
+
}
|
|
97
|
+
});
|
|
93
98
|
this.glassPane.setPointerEventsBehavior(
|
|
94
99
|
this.parentMenu ? PointerEventsBehavior.PIERCE_GLASS_PANE : PointerEventsBehavior.BLOCKED_BY_GLASS_PANE);
|
|
95
100
|
this.glassPane.registerRequiredCSS(softContextMenuStyles);
|
|
@@ -178,8 +183,9 @@ export class SoftContextMenu {
|
|
|
178
183
|
this.focusRestorer.restore();
|
|
179
184
|
}
|
|
180
185
|
if (this.glassPane) {
|
|
181
|
-
this.glassPane
|
|
186
|
+
const glassPane = this.glassPane;
|
|
182
187
|
delete this.glassPane;
|
|
188
|
+
glassPane.hide();
|
|
183
189
|
if (this.hideOnUserMouseDownUnlessInMenu) {
|
|
184
190
|
if (this.document) {
|
|
185
191
|
this.document.body.removeEventListener('mousedown', this.hideOnUserMouseDownUnlessInMenu, false);
|
|
@@ -220,6 +220,8 @@ export class DataGridImpl<T> extends Common.ObjectWrapper.ObjectWrapper<EventTyp
|
|
|
220
220
|
this.dataTableColumnGroup = this.dataTable.createChild('colgroup');
|
|
221
221
|
|
|
222
222
|
this.#dataTableHead = this.dataTable.createChild('thead');
|
|
223
|
+
// Sticky header: comment overlays for rows scrolled under it are clipped (see CommentAnchorResolver).
|
|
224
|
+
this.#dataTableHead.setAttribute('data-sticky-occluder', '');
|
|
223
225
|
this.headerRow = this.#dataTableHead.createChild('tr');
|
|
224
226
|
|
|
225
227
|
this.dataTableBody = this.dataTable.createChild('tbody');
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
:host {
|
|
8
|
-
width:
|
|
9
|
-
height: 350px;
|
|
8
|
+
width: var(--sys-size-30);
|
|
10
9
|
user-select: none;
|
|
11
10
|
padding: var(--sys-size-8);
|
|
12
11
|
overflow: hidden;
|
|
@@ -30,12 +29,14 @@
|
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
.bezier-preset {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
/* 48px (--sys-size-16) - 2 * 4px (--sys-size-3)
|
|
33
|
+
preserves the 40x40 PresetUI SVG canvas. */
|
|
34
|
+
width: var(--sys-size-16);
|
|
35
|
+
height: var(--sys-size-16);
|
|
36
|
+
padding: var(--sys-size-3);
|
|
36
37
|
margin: auto;
|
|
37
38
|
background-color: var(--sys-color-surface1);
|
|
38
|
-
border-radius:
|
|
39
|
+
border-radius: var(--sys-shape-corner-extra-small);
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
.bezier-preset line.bezier-control-line {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
.center {
|
|
58
58
|
width: 0.7em;
|
|
59
59
|
height: 0.7em;
|
|
60
|
-
border-radius:
|
|
60
|
+
border-radius: var(--sys-shape-corner-full);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.dial {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
height: 1em;
|
|
84
84
|
border-radius: var(--sys-shape-corner-full);
|
|
85
85
|
cursor: pointer;
|
|
86
|
-
box-shadow: 0 0
|
|
86
|
+
box-shadow: 0 0 var(--sys-size-3) var(--box-shadow-outline-color);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.hand::before,
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
|
|
94
94
|
:host-context(.theme-with-dark-background) .hand::before {
|
|
95
95
|
/* stylelint-disable-next-line plugin/use_theme_colors */
|
|
96
|
-
box-shadow: 0 0
|
|
96
|
+
box-shadow: 0 0 var(--sys-size-3) hsl(0deg 0% 0% / 80%);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
:host-context(.theme-with-dark-background) .center,
|
|
@@ -83,12 +83,13 @@
|
|
|
83
83
|
font-weight: bold;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.flame-chart-entry-info table tr td span {
|
|
87
|
-
margin-right: 5px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
86
|
.flame-chart-edit-confirm {
|
|
91
87
|
position: fixed;
|
|
92
|
-
bottom:
|
|
93
|
-
right:
|
|
88
|
+
bottom: var(--sys-size-6);
|
|
89
|
+
right: var(--sys-size-6);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:has(+ .chart-viewport-v-scroll:not(.hidden)) > .flame-chart-edit-confirm {
|
|
93
|
+
/* 12px margin (--sys-size-6) + 16px scrollbar gutter (--sys-size-8) = 28px (--sys-size-12). */
|
|
94
|
+
right: var(--sys-size-12);
|
|
94
95
|
}
|
|
@@ -31,10 +31,11 @@
|
|
|
31
31
|
content: "";
|
|
32
32
|
width: var(--sys-size-1);
|
|
33
33
|
background: var(--sys-color-primary);
|
|
34
|
-
height: 7px;
|
|
35
34
|
position: absolute;
|
|
36
35
|
left: var(--sys-size-2);
|
|
37
|
-
|
|
36
|
+
/* 6px (--sys-size-4) outer offset minus 1px (--sys-size-1) handle border
|
|
37
|
+
* gives symmetric 5px top/bottom insets (7px grip line) in 17px box */
|
|
38
|
+
inset-block: calc(var(--sys-size-4) - var(--sys-size-1));
|
|
38
39
|
border-radius: var(--sys-size-1);
|
|
39
40
|
}
|
|
40
41
|
|
|
@@ -92,7 +93,7 @@
|
|
|
92
93
|
transition: opacity 100ms 250ms;
|
|
93
94
|
display: flex;
|
|
94
95
|
position: absolute;
|
|
95
|
-
top:
|
|
96
|
+
top: var(--sys-size-8);
|
|
96
97
|
justify-content: center;
|
|
97
98
|
z-index: 600;
|
|
98
99
|
left: 0;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
.root {
|
|
12
12
|
align-items: flex-start; /* keep chart at top so it doesnt change position as the legend changes height */
|
|
13
|
-
gap: var(--sys-size-6)
|
|
13
|
+
gap: var(--sys-size-6) var(--sys-size-12);
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-wrap: wrap;
|
|
16
16
|
justify-content: flex-start;
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.pie-chart-legend-row {
|
|
58
|
-
margin:
|
|
59
|
-
padding-right:
|
|
58
|
+
margin: var(--sys-size-3) var(--sys-size-2) var(--sys-size-3) auto;
|
|
59
|
+
padding-right: var(--sys-size-11);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.pie-chart-legend-row.selected {
|
|
@@ -5,23 +5,23 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
@scope to (devtools-widget > *) {
|
|
8
|
-
|
|
8
|
+
:scope {
|
|
9
9
|
overflow: auto;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
:scope > .image {
|
|
13
13
|
flex: 1;
|
|
14
14
|
overflow: auto;
|
|
15
15
|
padding: var(--sys-size-9) var(--sys-size-9) 10px;
|
|
16
16
|
text-align: center;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
:scope > devtools-toolbar {
|
|
20
20
|
border-top: var(--sys-size-1) solid var(--sys-color-divider);
|
|
21
21
|
background-color: var(--sys-color-surface1);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
img.resource-image-view {
|
|
25
25
|
max-width: 100%;
|
|
26
26
|
max-height: 1000px;
|
|
27
27
|
background-image: var(--image-file-checker);
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
.stack-preview-async-description {
|
|
8
|
-
padding
|
|
8
|
+
/* 4px total vertical padding (--sys-size-3) split into 3px top and 1px bottom (--sys-size-1) so 16px line-height (--sys-size-8) + 4px padding = 20px row height (--sys-size-9). */
|
|
9
|
+
padding: calc(var(--sys-size-3) - var(--sys-size-1)) 0 var(--sys-size-1);
|
|
9
10
|
font-weight: bold;
|
|
10
11
|
}
|
|
11
12
|
|
|
@@ -40,13 +40,14 @@
|
|
|
40
40
|
display: inline-block;
|
|
41
41
|
flex: none;
|
|
42
42
|
margin: auto var(--sys-size-2);
|
|
43
|
-
|
|
43
|
+
/* 16px line-height (--sys-typescale-body5-medium) + 2*2px vertical padding (--sys-size-2)
|
|
44
|
+
* = 20px (--sys-size-9) pill inside 24px (--sys-size-11) .filter-bitset-filter bar. */
|
|
45
|
+
padding: var(--sys-size-2) var(--sys-size-4);
|
|
44
46
|
background: transparent;
|
|
45
47
|
border-radius: var(--sys-size-4);
|
|
46
48
|
overflow: hidden;
|
|
47
49
|
cursor: pointer;
|
|
48
|
-
font
|
|
49
|
-
font-size: var(--sys-typescale-body5-size);
|
|
50
|
+
font: var(--sys-typescale-body5-medium);
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
.filter-bitset-filter span:focus-visible {
|
|
@@ -260,12 +260,12 @@ input::placeholder {
|
|
|
260
260
|
|
|
261
261
|
/* Radio inputs */
|
|
262
262
|
input[type='radio'] {
|
|
263
|
-
height:
|
|
264
|
-
width:
|
|
265
|
-
min-width:
|
|
263
|
+
height: var(--sys-size-8);
|
|
264
|
+
width: var(--sys-size-8);
|
|
265
|
+
min-width: var(--sys-size-8);
|
|
266
266
|
border-radius: var(--sys-shape-corner-small);
|
|
267
267
|
vertical-align: sub;
|
|
268
|
-
margin: 0
|
|
268
|
+
margin: 0 var(--sys-size-4) var(--sys-size-4) 0;
|
|
269
269
|
accent-color: var(--sys-color-primary-bright);
|
|
270
270
|
color: var(--sys-color-on-primary);
|
|
271
271
|
|
|
@@ -613,7 +613,9 @@ button.link:focus-visible {
|
|
|
613
613
|
.data-grid-data-grid-node button.link:focus-visible {
|
|
614
614
|
border-radius: var(--sys-shape-corner-extra-small);
|
|
615
615
|
padding: 0;
|
|
616
|
-
|
|
616
|
+
/* 4px focus ring clearance (--sys-size-3: 2px outline + 2px outline-offset)
|
|
617
|
+
minus 1px data-grid cell top padding (--sys-size-1) = 3px. */
|
|
618
|
+
margin-top: calc(var(--sys-size-3) - var(--sys-size-1));
|
|
617
619
|
}
|
|
618
620
|
|
|
619
621
|
@media (forced-colors: active) {
|
|
@@ -634,23 +636,6 @@ button.link:focus-visible {
|
|
|
634
636
|
border: var(--sys-size-1) solid Highlight;
|
|
635
637
|
}
|
|
636
638
|
}
|
|
637
|
-
/* search input with customized styling */
|
|
638
|
-
input.custom-search-input::-webkit-search-cancel-button {
|
|
639
|
-
appearance: none;
|
|
640
|
-
width: var(--sys-size-8);
|
|
641
|
-
height: 15px;
|
|
642
|
-
margin-right: 0;
|
|
643
|
-
opacity: 70%;
|
|
644
|
-
mask-image: var(--image-file-cross-circle-filled);
|
|
645
|
-
mask-position: center;
|
|
646
|
-
mask-repeat: no-repeat;
|
|
647
|
-
mask-size: 99%;
|
|
648
|
-
background-color: var(--icon-default);
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
input.custom-search-input::-webkit-search-cancel-button:hover {
|
|
652
|
-
opacity: 99%;
|
|
653
|
-
}
|
|
654
639
|
/* loading spinner */
|
|
655
640
|
.spinner::before {
|
|
656
641
|
display: block;
|
|
@@ -686,7 +671,7 @@ input.custom-search-input::-webkit-search-cancel-button:hover {
|
|
|
686
671
|
}
|
|
687
672
|
|
|
688
673
|
.adorner-container devtools-adorner {
|
|
689
|
-
margin-left:
|
|
674
|
+
margin-left: var(--sys-size-2);
|
|
690
675
|
}
|
|
691
676
|
|
|
692
677
|
:host-context(.theme-with-dark-background) devtools-adorner {
|
|
@@ -38,7 +38,7 @@ devtools-toolbar.collapsed-vertical-drawer-toolbar-content {
|
|
|
38
38
|
align-items: center;
|
|
39
39
|
justify-content: center;
|
|
40
40
|
height: auto !important; /* stylelint-disable-line declaration-no-important */
|
|
41
|
-
width:
|
|
41
|
+
width: 100%;
|
|
42
42
|
padding: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
43
43
|
gap: 0;
|
|
44
44
|
}
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
flex: auto;
|
|
47
47
|
text-align: right;
|
|
48
48
|
color: var(--sys-color-token-subtle);
|
|
49
|
-
|
|
49
|
+
/* 4px total right inset (--sys-size-3) minus 1px transparent item border (--sys-size-1). */
|
|
50
|
+
margin-right: calc(var(--sys-size-3) - var(--sys-size-1));
|
|
50
51
|
overflow: hidden;
|
|
51
52
|
text-overflow: ellipsis;
|
|
52
53
|
}
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
align-items: center;
|
|
15
15
|
z-index: 0;
|
|
16
16
|
|
|
17
|
-
--
|
|
17
|
+
/* 28px outer toolbar track (--sys-size-12) minus 2px vertical border/inset allowance (--sys-size-2). */
|
|
18
|
+
--toolbar-height: calc(var(--sys-size-12) - var(--sys-size-2));
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
:host([floating]) {
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
.tree-outline li .selection {
|
|
33
33
|
display: none;
|
|
34
34
|
z-index: -1;
|
|
35
|
-
|
|
35
|
+
/* Extend selection background leftward across any tree nesting depth. */
|
|
36
|
+
margin-left: -100vw;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
.tree-outline:not(.hide-selection-when-blurred, .elements-tree-outline) li.selected {
|
|
@@ -58,10 +59,10 @@
|
|
|
58
59
|
|
|
59
60
|
.tree-outline:not(.hide-selection-when-blurred) li.hovered:not(.selected) .selection {
|
|
60
61
|
display: block;
|
|
61
|
-
left:
|
|
62
|
-
right:
|
|
62
|
+
left: var(--sys-size-2);
|
|
63
|
+
right: var(--sys-size-2);
|
|
63
64
|
background-color: var(--sys-color-state-hover-on-subtle);
|
|
64
|
-
border-radius:
|
|
65
|
+
border-radius: var(--sys-shape-corner-extra-small);
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
.tree-outline:not(.hide-selection-when-blurred) li.in-clipboard .highlight {
|
|
@@ -49,7 +49,8 @@ found in the LICENSE file. */
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.expandable-view-title devtools-toolbar {
|
|
52
|
-
|
|
52
|
+
/* Center the 26px (--toolbar-height) toolbar in the 22px (--sys-size-10) header: (22px - 26px) / 2 = -2px. */
|
|
53
|
+
margin-top: calc(-1 * var(--sys-size-2));
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
.expandable-view-title > devtools-toolbar {
|
|
@@ -1232,6 +1232,7 @@ export const knownContextValues: Set<string> = new Set([
|
|
|
1232
1232
|
'create-profile',
|
|
1233
1233
|
'create-recording',
|
|
1234
1234
|
'create-recording-view',
|
|
1235
|
+
'creation-time',
|
|
1235
1236
|
'creator-ad-script-ancestry',
|
|
1236
1237
|
'credential',
|
|
1237
1238
|
'credential-id',
|
|
@@ -1753,6 +1754,7 @@ export const knownContextValues: Set<string> = new Set([
|
|
|
1753
1754
|
'experimental-item',
|
|
1754
1755
|
'experiments',
|
|
1755
1756
|
'experiments-filter',
|
|
1757
|
+
'expiration',
|
|
1756
1758
|
'expires',
|
|
1757
1759
|
'explain.console-message.context.error',
|
|
1758
1760
|
'explain.console-message.context.other',
|
|
@@ -2277,9 +2279,11 @@ export const knownContextValues: Set<string> = new Set([
|
|
|
2277
2279
|
'ip-protection',
|
|
2278
2280
|
'is',
|
|
2279
2281
|
'is-ad-related',
|
|
2282
|
+
'is-issuer',
|
|
2280
2283
|
'is-landscape',
|
|
2281
2284
|
'is-mobile',
|
|
2282
2285
|
'is-preloaded',
|
|
2286
|
+
'is-redeemer',
|
|
2283
2287
|
'is-resident-credential',
|
|
2284
2288
|
'is-u',
|
|
2285
2289
|
'is-user-active-false-is-screen-unlocked-false',
|
|
@@ -2348,6 +2352,7 @@ export const knownContextValues: Set<string> = new Set([
|
|
|
2348
2352
|
'keep-alive',
|
|
2349
2353
|
'keep-me-updated',
|
|
2350
2354
|
'key',
|
|
2355
|
+
'key-id',
|
|
2351
2356
|
'keybinds',
|
|
2352
2357
|
'keyboard',
|
|
2353
2358
|
'keydown',
|
|
@@ -4572,6 +4577,7 @@ export const knownContextValues: Set<string> = new Set([
|
|
|
4572
4577
|
'toggle-recording',
|
|
4573
4578
|
'toggle-similar-issues',
|
|
4574
4579
|
'toggle-url-decoding',
|
|
4580
|
+
'token',
|
|
4575
4581
|
'tool',
|
|
4576
4582
|
'tool-details',
|
|
4577
4583
|
'tool-list',
|
|
@@ -4687,6 +4693,7 @@ export const knownContextValues: Set<string> = new Set([
|
|
|
4687
4693
|
'vector-effect',
|
|
4688
4694
|
'verbose',
|
|
4689
4695
|
'verdana',
|
|
4696
|
+
'version',
|
|
4690
4697
|
'vertical-align',
|
|
4691
4698
|
'vertical-drawer',
|
|
4692
4699
|
'very-slow',
|
|
@@ -87,30 +87,27 @@ function drawBadge(context: CanvasRenderingContext2D, text: string, x: number, y
|
|
|
87
87
|
export function drawAnchorHighlight(highlight: AnchorHighlight, context: CanvasRenderingContext2D,
|
|
88
88
|
emulationScaleFactor: number, canvasWidth = 0, canvasHeight = 0): void {
|
|
89
89
|
const config = highlight.imcbHighlightConfig;
|
|
90
|
+
const imcbBounds = emptyBounds();
|
|
91
|
+
const imcbPath = buildPath(highlight.imcbBorder, imcbBounds, emulationScaleFactor);
|
|
90
92
|
|
|
91
93
|
// 1. Inset modifiers: If containingBlockBorder is provided, shade the difference between CB and IMCB.
|
|
92
94
|
if (highlight.containingBlockBorder && (config.insetsFillColor || config.insetsHatchColor)) {
|
|
93
95
|
const cbBounds = emptyBounds();
|
|
94
96
|
const cbPath = buildPath(highlight.containingBlockBorder, cbBounds, emulationScaleFactor);
|
|
97
|
+
const clipPath = new Path2D();
|
|
98
|
+
clipPath.addPath(cbPath);
|
|
99
|
+
clipPath.addPath(imcbPath);
|
|
100
|
+
|
|
101
|
+
context.save();
|
|
102
|
+
context.clip(clipPath, 'evenodd');
|
|
95
103
|
fillPathWithBoxStyle(context, cbPath, cbBounds, 0, {
|
|
96
104
|
fillColor: config.insetsFillColor,
|
|
97
105
|
hatchColor: config.insetsHatchColor,
|
|
98
106
|
});
|
|
99
|
-
|
|
100
|
-
// Clear the IMCB area from the containing block fill so only the insets remain.
|
|
101
|
-
context.save();
|
|
102
|
-
context.globalCompositeOperation = 'destination-out';
|
|
103
|
-
const clearBounds = emptyBounds();
|
|
104
|
-
const clearPath = buildPath(highlight.imcbBorder, clearBounds, emulationScaleFactor);
|
|
105
|
-
context.fillStyle = 'white';
|
|
106
|
-
context.fill(clearPath);
|
|
107
107
|
context.restore();
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
// 2. IMCB Rectangle
|
|
111
|
-
const imcbBounds = emptyBounds();
|
|
112
|
-
const imcbPath = buildPath(highlight.imcbBorder, imcbBounds, emulationScaleFactor);
|
|
113
|
-
|
|
114
111
|
if (config.imcbFillColor) {
|
|
115
112
|
context.save();
|
|
116
113
|
context.fillStyle = config.imcbFillColor;
|
package/package.json
CHANGED