From fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:14:29 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- devtools/client/shared/widgets/TableWidget.js | 2 +- devtools/client/shared/widgets/spectrum.css | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'devtools/client/shared/widgets') diff --git a/devtools/client/shared/widgets/TableWidget.js b/devtools/client/shared/widgets/TableWidget.js index d37559b587..f606649eee 100644 --- a/devtools/client/shared/widgets/TableWidget.js +++ b/devtools/client/shared/widgets/TableWidget.js @@ -1667,7 +1667,7 @@ function Cell(column, item, nextCell) { if (column.table.cellContextMenuId) { this.label.setAttribute("context", column.table.cellContextMenuId); - this.label.addEventListener("contextmenu", event => { + this.label.addEventListener("contextmenu", () => { // Make the ID of the clicked cell available as a property on the table. // It's then available for the popupshowing or command handler. column.table.contextMenuRowId = this.id; diff --git a/devtools/client/shared/widgets/spectrum.css b/devtools/client/shared/widgets/spectrum.css index b7bf31668f..9ea2a97fbc 100644 --- a/devtools/client/shared/widgets/spectrum.css +++ b/devtools/client/shared/widgets/spectrum.css @@ -292,15 +292,14 @@ http://www.briangrinstead.com/blog/keep-aspect-ratio-with-html-and-css */ } .spectrum-color-contrast .accessibility-color-contrast-large-text { - margin-inline-start: 1px; - margin-inline-end: 1px; + margin-inline: 1px; unicode-bidi: isolate; } .learn-more { background-repeat: no-repeat; -moz-context-properties: fill; - background-image: url(chrome://devtools/skin/images/info-small.svg); + background-image: url(resource://devtools-shared-images/info-small.svg); background-color: transparent; fill: var(--theme-icon-dimmed-color); border: none; -- cgit v1.2.3