From 17b594b705c3d824ba04e223d4946149540bc763 Mon Sep 17 00:00:00 2001 From: Jerico Date: Mon, 30 Jun 2025 22:32:54 +0800 Subject: [PATCH] Issue #2106 - Part 2: Align value names --- toolkit/components/aboutmemory/content/aboutMemory.css | 10 +++++----- toolkit/content/minimal-xul.css | 4 ++-- toolkit/content/xul.css | 4 ++-- toolkit/mozapps/extensions/content/extensions.css | 6 +++--- toolkit/themes/shared/aboutReader.css | 2 +- toolkit/themes/shared/datetimeinputpickers.css | 2 +- toolkit/themes/shared/in-content/common.inc.css | 4 ++-- toolkit/themes/shared/plugins/pluginProblem.css | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/toolkit/components/aboutmemory/content/aboutMemory.css b/toolkit/components/aboutmemory/content/aboutMemory.css index cf4d36de87..c359857a40 100644 --- a/toolkit/components/aboutmemory/content/aboutMemory.css +++ b/toolkit/components/aboutmemory/content/aboutMemory.css @@ -16,7 +16,7 @@ body { div.ancillary { margin: 0.5em 0; - -moz-user-select: none; + user-select: none; } div.section { @@ -71,7 +71,7 @@ h3 { a.upDownArrow { font-size: 130%; text-decoration: none; - -moz-user-select: none; /* no need to include this when cutting+pasting */ + user-select: none; /* no need to include this when cutting+pasting */ } .accuracyWarning { @@ -114,17 +114,17 @@ a.upDownArrow { } .noselect { - -moz-user-select: none; /* no need to include this when cutting+pasting */ + user-select: none; /* no need to include this when cutting+pasting */ } .option { font-size: 80%; - -moz-user-select: none; /* no need to include this when cutting+pasting */ + user-select: none; /* no need to include this when cutting+pasting */ } .legend { font-size: 80%; - -moz-user-select: none; /* no need to include this when cutting+pasting */ + user-select: none; /* no need to include this when cutting+pasting */ } .debug { diff --git a/toolkit/content/minimal-xul.css b/toolkit/content/minimal-xul.css index 0cd41922d1..80526cc9ac 100644 --- a/toolkit/content/minimal-xul.css +++ b/toolkit/content/minimal-xul.css @@ -23,7 +23,7 @@ * { -moz-user-focus: ignore; - -moz-user-select: none; + user-select: none; display: -moz-box; box-sizing: border-box; } @@ -97,7 +97,7 @@ thumb { } scrollbar, scrollbarbutton, scrollcorner, slider, thumb, scale { - -moz-user-select: none; + user-select: none; } scrollcorner { diff --git a/toolkit/content/xul.css b/toolkit/content/xul.css index 0aa0d3a217..9d94df64c0 100644 --- a/toolkit/content/xul.css +++ b/toolkit/content/xul.css @@ -658,7 +658,7 @@ treecol.treecol-image { tree > treechildren { display: -moz-box; -moz-binding: url("chrome://global/content/bindings/tree.xml#treebody"); - -moz-user-select: none; + user-select: none; -moz-box-flex: 1; } @@ -763,7 +763,7 @@ progressmeter { textbox { -moz-binding: url("chrome://global/content/bindings/textbox.xml#textbox"); - -moz-user-select: text; + user-select: text; text-shadow: none; } diff --git a/toolkit/mozapps/extensions/content/extensions.css b/toolkit/mozapps/extensions/content/extensions.css index 3eeb173bde..c4c4e8ee1c 100644 --- a/toolkit/mozapps/extensions/content/extensions.css +++ b/toolkit/mozapps/extensions/content/extensions.css @@ -61,7 +61,7 @@ xhtml|link { .text-list { white-space: pre-line; - -moz-user-select: element; + user-select: contain; } setting, row[unsupported="true"] { @@ -203,10 +203,10 @@ setting[type="menulist"] { } .addon .relnotes { - -moz-user-select: text; + user-select: text; } #detail-name, #detail-desc, #detail-fulldesc { - -moz-user-select: text; + user-select: text; } /* Make sure we're not animating hidden images. See bug 623739. */ diff --git a/toolkit/themes/shared/aboutReader.css b/toolkit/themes/shared/aboutReader.css index 1bfbd0309d..831fd31d24 100644 --- a/toolkit/themes/shared/aboutReader.css +++ b/toolkit/themes/shared/aboutReader.css @@ -216,7 +216,7 @@ body:not(.loaded) .toolbar:-moz-locale-dir(rtl) { padding: 0; list-style: none; background-color: #fbfbfb; - -moz-user-select: none; + user-select: none; border-right: 1px solid #b5b5b5; z-index: 1; } diff --git a/toolkit/themes/shared/datetimeinputpickers.css b/toolkit/themes/shared/datetimeinputpickers.css index f0c4315e5b..05f4ad2e77 100644 --- a/toolkit/themes/shared/datetimeinputpickers.css +++ b/toolkit/themes/shared/datetimeinputpickers.css @@ -315,7 +315,7 @@ button.month-year.active::after { padding: calc((var(--spinner-item-height) - var(--font-size-default)) / 2) 0; margin-bottom: var(--spinner-item-margin-bottom); height: var(--spinner-item-height); - -moz-user-select: none; + user-select: none; scroll-snap-coordinate: 0 0; } diff --git a/toolkit/themes/shared/in-content/common.inc.css b/toolkit/themes/shared/in-content/common.inc.css index ecd961d8da..a34f36bd6f 100644 --- a/toolkit/themes/shared/in-content/common.inc.css +++ b/toolkit/themes/shared/in-content/common.inc.css @@ -655,7 +655,7 @@ xul|*.radio-label-box { padding-bottom: 2px; padding-inline-start: 9px; margin: 0; - -moz-user-select: none; + user-select: none; } *|*.category-icon { @@ -678,7 +678,7 @@ xul|*.radio-label-box { font-weight: normal; line-height: 40px; margin: 0; - -moz-user-select: none; + user-select: none; } /* File fields */ diff --git a/toolkit/themes/shared/plugins/pluginProblem.css b/toolkit/themes/shared/plugins/pluginProblem.css index 9929bd92aa..9e40456d45 100644 --- a/toolkit/themes/shared/plugins/pluginProblem.css +++ b/toolkit/themes/shared/plugins/pluginProblem.css @@ -15,7 +15,7 @@ height: 100%; background-color: rgb(72,72,72); color: white; - -moz-user-select: none; + user-select: none; } .hoverBox {