Issue #2106 - Follow-up: Additional Un-prefixing

This commit is contained in:
Andy 2025-07-07 10:43:13 -07:00 committed by roytam1
commit 1a5b3dcae6
52 changed files with 152 additions and 152 deletions

View file

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
:root{
-moz-user-select: none;
user-select: none;
}
#options-panel-container {

View file

@ -20,7 +20,7 @@
padding: 5px;
transition: all 0.25s ease;
width: 100%;
-moz-user-select: none;
user-select: none;
}
.accordion ._header:hover {

View file

@ -29,7 +29,7 @@
padding-top: 8px;
padding-bottom: 4px;
font-weight: bold;
-moz-user-select: none;
user-select: none;
}
.headersPanelBox .netInfoParamValue {

View file

@ -22,7 +22,7 @@
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
-moz-user-select: none;
user-select: none;
padding: 0 2px;
border-radius: 2px;
}

View file

@ -140,7 +140,7 @@ select > option.divider {
margin: 0 0 15px 0;
padding: 4px 5px;
display: inline-flex;
-moz-user-select: none;
user-select: none;
}
#global-toolbar > .title {
@ -196,7 +196,7 @@ select > option.divider {
#global-dpr-selector {
margin: 0 8px;
-moz-user-select: none;
user-select: none;
color: var(--viewport-color);
font-size: 11px;
height: 15px;
@ -295,7 +295,7 @@ select > option.divider {
.browser {
display: block;
border: 0;
-moz-user-select: none;
user-select: none;
}
.browser:-moz-focusring {
@ -383,7 +383,7 @@ select > option.divider {
}
.viewport-dimension-separator {
-moz-user-select: none;
user-select: none;
}
/**

View file

@ -85,7 +85,7 @@
.treeTable .treeHeaderCell {
cursor: pointer;
-moz-user-select: none;
user-select: none;
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
padding: 0 !important;
background: linear-gradient(

View file

@ -63,7 +63,7 @@
background-size: 100% 100%, 100% 100%;
background-position: -2px 5px, -2px 5px;
-moz-user-select: none;
user-select: none;
}
canvas.curve {

View file

@ -16,7 +16,7 @@
}
#filter-container.dragging {
-moz-user-select: none;
user-select: none;
}
.filters-list,
@ -96,7 +96,7 @@
}
.filter-name label {
-moz-user-select: none;
user-select: none;
flex-grow: 1;
}

View file

@ -101,7 +101,7 @@ http://www.briangrinstead.com/blog/keep-aspect-ratio-with-html-and-css */
}
.spectrum-dragger, .spectrum-slider {
-moz-user-select: none;
user-select: none;
}
.spectrum-alpha {

View file

@ -275,7 +275,7 @@ body {
.animation-timeline .time-header {
min-height: var(--timeline-animation-height);
cursor: col-resize;
-moz-user-select: none;
user-select: none;
}
.animation-timeline .time-header .header-item {
@ -300,7 +300,7 @@ body {
}
.animation-timeline .time-body .time-tick {
-moz-user-select: none;
user-select: none;
position: absolute;
width: 0;
/* When scroll bar is shown, make it covers entire time-body */

View file

@ -228,7 +228,7 @@
.boxmodel-editable {
border: 1px dashed transparent;
-moz-user-select: text;
user-select: text;
}
.boxmodel-editable:hover {

View file

@ -44,7 +44,7 @@
}
#propertyContainer {
-moz-user-select: text;
user-select: text;
overflow-y: auto;
overflow-x: hidden;
flex: auto;

View file

@ -20,7 +20,7 @@
}
body {
-moz-user-select: none;
user-select: none;
}
/* Force height and width (possibly overflowing) from inline elements.
@ -359,7 +359,7 @@ ul.children + .tag-line::before {
border-radius: 3px;
padding: 0px 2px;
margin-inline-start: 5px;
-moz-user-select: none;
user-select: none;
}
.markupview-events {

View file

@ -322,7 +322,7 @@
padding: 0 2px;
margin: 0;
margin-inline-end: 3px;
-moz-user-select: none;
user-select: none;
}
.requests-menu-transferred {

View file

@ -366,7 +366,7 @@
.call-tree-item .call-tree-cell,
.call-tree-item .call-tree-cell[type=function] description {
-moz-user-select: text;
user-select: text;
/* so that optimizations view doesn't break the lines in call tree */
white-space: nowrap;
}

View file

@ -67,7 +67,7 @@
}
#pseudo-class-panel > label {
-moz-user-select: none;
user-select: none;
flex-grow: 1;
display: flex;
align-items: center;
@ -76,7 +76,7 @@
/* Rule View Container */
#ruleview-container {
-moz-user-select: text;
user-select: text;
overflow: auto;
flex: auto;
height: 100%;
@ -148,7 +148,7 @@
overflow: hidden;
text-overflow: ellipsis;
-moz-user-select: none;
user-select: none;
margin-bottom: 2px;
}
@ -184,7 +184,7 @@
border-top-style: solid;
border-bottom-style: solid;
padding: 1px 4px;
-moz-user-select: none;
user-select: none;
word-wrap: break-word;
vertical-align: middle;
min-height: 1.5em;

View file

@ -322,7 +322,7 @@ h3 {
margin: 20px auto;
-moz-column-width: 300px;
font-size: 13px;
-moz-user-select: text;
user-select: text;
}
.csscoverage-report-summary,

View file

@ -94,7 +94,7 @@ a {
/* The red bubble that shows the number of times a message is repeated */
.message-repeats {
-moz-user-select: none;
user-select: none;
flex: none;
margin: 2px 6px;
padding: 0 6px;
@ -161,7 +161,7 @@ a {
#output-wrapper {
direction: ltr;
overflow: auto;
-moz-user-select: text;
user-select: text;
position: relative;
}

View file

@ -21,7 +21,7 @@
.netInfoBody .netInfoGroupTitle {
cursor: pointer;
font-weight: bold;
-moz-user-select: none;
user-select: none;
cursor: pointer;
padding-left: 3px;
}

View file

@ -265,7 +265,7 @@
/* The geometry editor can be interacted with, so it needs to react to
pointer events */
pointer-events: auto;
-moz-user-select: none;
user-select: none;
}
:-moz-native-anonymous .geometry-editor-offset-parent {
@ -408,7 +408,7 @@
font: message-box;
font-size: 10px;
pointer-events: none;
-moz-user-select: none;
user-select: none;
box-sizing: border-box;
}

View file

@ -1543,30 +1543,6 @@ exports.CSS_PROPERTIES = {
"write-only"
]
},
"-moz-user-select": {
"isInherited": false,
"subproperties": [
"-moz-user-select"
],
"supports": [],
"values": [
"-moz-all",
"-moz-none",
"-moz-text",
"all",
"auto",
"element",
"elements",
"inherit",
"initial",
"none",
"revert",
"text",
"toggle",
"tri-state",
"unset"
]
},
"-moz-window-dragging": {
"isInherited": false,
"subproperties": [
@ -2993,7 +2969,7 @@ exports.CSS_PROPERTIES = {
"-webkit-user-select": {
"isInherited": false,
"subproperties": [
"-moz-user-select"
"user-select"
],
"supports": [],
"values": [
@ -3391,7 +3367,7 @@ exports.CSS_PROPERTIES = {
"-moz-user-focus",
"-moz-user-input",
"-moz-user-modify",
"-moz-user-select",
"user-select",
"vector-effect",
"vertical-align",
"visibility",
@ -10084,6 +10060,30 @@ exports.CSS_PROPERTIES = {
"unset"
]
},
"user-select": {
"isInherited": false,
"subproperties": [
"user-select"
],
"supports": [],
"values": [
"-moz-all",
"-moz-none",
"-moz-text",
"all",
"auto",
"element",
"elements",
"inherit",
"initial",
"none",
"revert",
"text",
"toggle",
"tri-state",
"unset"
]
},
"vector-effect": {
"isInherited": false,
"subproperties": [

View file

@ -12,7 +12,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=765993
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=765993">Mozilla Bug 765993</a>
<style type="text/css">
#link1 a { -moz-user-select:none; }
#link1 a { user-select:none; }
</style>
<div id="link1"><a href="http://www.mozilla.org/">link1</a></div>
<div id="link2"><a href="http://www.mozilla.org/">link2</a></div>

View file

@ -11,17 +11,17 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1101364
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
<style>
#test1 {
-moz-user-select: none;
user-select: none;
}
#testDiv, #test2 {
-moz-user-select: text;
user-select: text;
}
</style>
</head>
<body id='body'>
<iframe id="test1" src="data:text/html,<h1 id='test1' style='-moz-user-select:none'>Header</h1><div id='testDiv'>test1</div>"></iframe>
<iframe id="test1" src="data:text/html,<h1 id='test1' style='user-select:none'>Header</h1><div id='testDiv'>test1</div>"></iframe>
<iframe id="test2" src="data:text/html,<div contenteditable id='test2'>AAA<span id='test2Inner'>BBB</span></div>"></iframe>
<pre id="test">
<script class="testbody" type="text/javascript">

View file

@ -12,11 +12,11 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=816298
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=166235">Mozilla Bug 166235 and Bug 816298</a>
<p id="test0">This text should be copied.</p>
<p id="test1">This text should<span style="-moz-user-select: none;"> NOT</span> be copied.</p>
<p id="test2">This<span style="-moz-user-select: none;"><span style="-moz-user-select: text"> text should</span> NOT</span> be copied.</p>
<p id="test3">This text should<span style="-moz-user-select: -moz-none;"> NOT</span> be copied.</p>
<p id="test4">This<span style="-moz-user-select: -moz-none;"><span style="-moz-user-select: text"> text should</span> NOT</span> be copied.</p>
<p id="test5">This<span style="-moz-user-select: all"> text<span style="-moz-user-select: none"> should</span></span> be copied.</p>
<p id="test1">This text should<span style="user-select: none;"> NOT</span> be copied.</p>
<p id="test2">This<span style="user-select: none;"><span style="user-select: text"> text should</span> NOT</span> be copied.</p>
<p id="test3">This text should<span style="user-select: -moz-none;"> NOT</span> be copied.</p>
<p id="test4">This<span style="user-select: -moz-none;"><span style="user-select: text"> text should</span> NOT</span> be copied.</p>
<p id="test5">This<span style="user-select: all"> text<span style="user-select: none"> should</span></span> be copied.</p>
<div id="content" style="display: none">
</div>
@ -108,10 +108,10 @@ var originalStrings = [
var clipboardHTML = [
'<p id=\"test0\">This text should be copied.</p>',
'<p id=\"test1\">This text should be copied.</p>',
'<p id=\"test2\">This<span style=\"-moz-user-select: text\"> text should</span> be copied.</p>',
'<p id=\"test2\">This<span style=\"user-select: text\"> text should</span> be copied.</p>',
'<p id=\"test3\">This text should be copied.</p>',
'<p id=\"test4\">This<span style=\"-moz-user-select: text\"> text should</span> be copied.</p>',
'<p id=\"test5\">This<span style=\"-moz-user-select: all\"> text<span style=\"-moz-user-select: none\"> should</span></span> be copied.</p>',
'<p id=\"test4\">This<span style=\"user-select: text\"> text should</span> be copied.</p>',
'<p id=\"test5\">This<span style=\"user-select: all\"> text<span style=\"user-select: none\"> should</span></span> be copied.</p>',
];
// expected results for clipboard text/unicode
@ -127,11 +127,11 @@ var clipboardUnicode = [
// expected results for .innerHTML
var innerHTMLStrings = [
'This text should be copied.',
'This text should<span style=\"-moz-user-select: none;\"> NOT</span> be copied.',
'This<span style=\"-moz-user-select: none;\"><span style=\"-moz-user-select: text\"> text should</span> NOT</span> be copied.',
'This text should<span style=\"-moz-user-select: -moz-none;\"> NOT</span> be copied.',
'This<span style=\"-moz-user-select: -moz-none;\"><span style=\"-moz-user-select: text\"> text should</span> NOT</span> be copied.',
'This<span style=\"-moz-user-select: all\"> text<span style=\"-moz-user-select: none\"> should</span></span> be copied.',
'This text should<span style=\"user-select: none;\"> NOT</span> be copied.',
'This<span style=\"user-select: none;\"><span style=\"user-select: text\"> text should</span> NOT</span> be copied.',
'This text should<span style=\"user-select: -moz-none;\"> NOT</span> be copied.',
'This<span style=\"user-select: -moz-none;\"><span style=\"user-select: text\"> text should</span> NOT</span> be copied.',
'This<span style=\"user-select: all\"> text<span style=\"user-select: none\"> should</span></span> be copied.',
];
// expected results for pasting into a TEXTAREA

View file

@ -12,7 +12,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=558726
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=558726">Mozilla Bug 558726</a>
<div>
<div id="test_558726_1"><select name="selecttest"><option value="0">item 1</option></select>x<input type="button" name="test" value="test"></div>
<div id="test_558726_2">y<input><i style="-moz-user-select: none;">z</i></div>
<div id="test_558726_2">y<input><i style="user-select: none;">z</i></div>
</div>
<p id="display"></p>
@ -26,7 +26,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=558726
function runTest() {
is(document.getElementById('test_558726_1').innerHTML, '<select name="selecttest"><option value="0">item 1</option></select>x<input name="test" value="test" type="button">','test_558726_1.innerHTML')
is(document.getElementById('test_558726_2').innerHTML, 'y<input><i style="-moz-user-select: none;">z</i>','test_558726_2.innerHTML')
is(document.getElementById('test_558726_2').innerHTML, 'y<input><i style="user-select: none;">z</i>','test_558726_2.innerHTML')
SimpleTest.finish();
}

View file

@ -12,7 +12,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=574596
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=574596">Mozilla Bug 574596</a>
<style type="text/css">
#link1 a { -moz-user-select:none; }
#link1 a { user-select:none; }
</style>
<div id="link1"><a href="http://www.mozilla.org/">link1</a></div>
<div id="link2"><a href="http://www.mozilla.org/">link2</a></div>
@ -61,7 +61,7 @@ function dumpTransfer(dataTransfer,expect) {
function runTest() {
var result = synthesizeDragStart($('link1'), dragLinkText, window);
is(result, null, "Drag -moz-user-select:none link (#link1)");
is(result, null, "Drag user-select:none link (#link1)");
// if (result) dumpTransfer(result,dragLinkText);
dragLinkText[0][2].data = "link2";

View file

@ -52,7 +52,7 @@ function runTest() {
]]></script>
<description style="-moz-user-focus: normal; -moz-user-select: text;"><![CDATA[
<description style="-moz-user-focus: normal; user-select: text;"><![CDATA[
hello
world
]]></description>

View file

@ -12,10 +12,10 @@
src: url("Ahem.ttf");
}
body { font-family: Ahem; font-size: 20px; }
s, .non-selectable { -moz-user-select: none; }
s, .non-selectable { user-select: none; }
n { display: none; }
a { position:absolute; bottom: 0; right:0; }
.text { -moz-user-select: text; }
.text { user-select: text; }
</style>
</head>
@ -48,7 +48,7 @@ bbbb</div>
<div class="non-selectable">x</div><input>
bbbbbbb</div>
<iframe id="testD" src="data:text/html,<body>aaaa<span style='-moz-user-select:none'>bbbb</span>cccc"></iframe>
<iframe id="testD" src="data:text/html,<body>aaaa<span style='user-select:none'>bbbb</span>cccc"></iframe>
<pre id="test">
<script class="testbody" type="text/javascript">

View file

@ -18,7 +18,7 @@
.expander {
cursor: pointer;
-moz-user-select: none;
user-select: none;
text-align: center;
vertical-align: top;
width: 1em;

View file

@ -52,14 +52,14 @@ a:link {
/* Allow double-clicks on these widgets to open properties dialogs
XXX except when the widget has disabled attribute */
input, button, textarea {
-moz-user-select: all !important;
user-select: all !important;
-moz-user-input: auto !important;
-moz-user-focus: none !important;
}
/* XXX Still need a better way of blocking other events to these widgets */
select, input[disabled], input[type="checkbox"], input[type="radio"], input[type="file"] {
-moz-user-select: all !important;
user-select: all !important;
-moz-user-input: none !important;
-moz-user-focus: none !important;
}
@ -70,19 +70,19 @@ input[type="hidden"] {
}
label {
-moz-user-select: all !important;
user-select: all !important;
}
::-moz-display-comboboxcontrol-frame {
-moz-user-select: text !important;
user-select: text !important;
}
option {
-moz-user-select: text !important;
user-select: text !important;
}
#mozToc.readonly {
-moz-user-select: all !important;
user-select: all !important;
-moz-user-input: none !important;
}
@ -94,7 +94,7 @@ span[\_moz_anonclass="mozResizer"] {
position: absolute;
border: 1px black solid;
background-color: white;
-moz-user-select: none;
user-select: none;
z-index: 2147483646; /* max value -1 for this property */
}
@ -142,7 +142,7 @@ span[\_moz_anonclass="mozResizer"][anonlocation="se"] {
span[\_moz_anonclass="mozResizingShadow"],
img[\_moz_anonclass="mozResizingShadow"] {
outline: thin dashed black;
-moz-user-select: none;
user-select: none;
opacity: 0.5;
position: absolute;
z-index: 2147483647; /* max value for this property */
@ -183,7 +183,7 @@ span[\_moz_anonclass="mozGrabber"] {
background-image: url("resource://gre/res/grabber.gif");
background-repeat: no-repeat;
background-position: center center;
-moz-user-select: none;
user-select: none;
cursor: move;
z-index: 2147483647; /* max value for this property */
}
@ -200,7 +200,7 @@ a[\_moz_anonclass="mozTableAddColumnBefore"] {
background-image: url("resource://gre/res/table-add-column-before.gif");
background-repeat: no-repeat;
background-position: center center;
-moz-user-select: none !important;
user-select: none !important;
-moz-user-focus: none !important;
}
@ -222,7 +222,7 @@ a[\_moz_anonclass="mozTableAddColumnAfter"] {
background-image: url("resource://gre/res/table-add-column-after.gif");
background-repeat: no-repeat;
background-position: center center;
-moz-user-select: none !important;
user-select: none !important;
-moz-user-focus: none !important;
}
@ -244,7 +244,7 @@ a[\_moz_anonclass="mozTableRemoveColumn"] {
background-image: url("resource://gre/res/table-remove-column.gif");
background-repeat: no-repeat;
background-position: center center;
-moz-user-select: none !important;
user-select: none !important;
-moz-user-focus: none !important;
}
@ -266,7 +266,7 @@ a[\_moz_anonclass="mozTableAddRowBefore"] {
background-image: url("resource://gre/res/table-add-row-before.gif");
background-repeat: no-repeat;
background-position: center center;
-moz-user-select: none !important;
user-select: none !important;
-moz-user-focus: none !important;
}
@ -288,7 +288,7 @@ a[\_moz_anonclass="mozTableAddRowAfter"] {
background-image: url("resource://gre/res/table-add-row-after.gif");
background-repeat: no-repeat;
background-position: center center;
-moz-user-select: none !important;
user-select: none !important;
-moz-user-focus: none !important;
}
@ -310,7 +310,7 @@ a[\_moz_anonclass="mozTableRemoveRow"] {
background-image: url("resource://gre/res/table-remove-row.gif");
background-repeat: no-repeat;
background-position: center center;
-moz-user-select: none !important;
user-select: none !important;
-moz-user-focus: none !important;
}

View file

@ -1,4 +1,4 @@
<html xmlns="http://www.w3.org/1999/xhtml" contenteditable="true" style="-moz-user-select: all;"><sub>x</sub><script>
<html xmlns="http://www.w3.org/1999/xhtml" contenteditable="true" style="user-select: all;"><sub>x</sub><script>
function boom()
{
window.getSelection().removeAllRanges();

View file

@ -13,6 +13,6 @@
<body onload="setTimeout(test, 0)">
<div contenteditable spellcheck="false" onfocus="focused()"
style="outline: none">foo<span contenteditable=false
style="-moz-user-select: none">bar</span>baz</div>
style="user-select: none">bar</span>baz</div>
</body>
</html>

View file

@ -23,7 +23,7 @@
}
</script>
<style>
div { -moz-user-select:none; }
div { user-select:none; }
div:focus { outline:1px solid black; }
</style>
</head>

View file

@ -19,7 +19,7 @@
}
</script>
<style>
div { -moz-user-select:none; }
div { user-select:none; }
div:focus { outline:1px solid black; }
</style>
</head>

View file

@ -1,5 +1,5 @@
<!DOCTYPE HTML>
<html class="reftest-wait" style="-moz-user-select:none" spellcheck="false">
<html class="reftest-wait" style="user-select:none" spellcheck="false">
<head>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>

View file

@ -12,7 +12,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=968148
width: 20px;
height: 20px;
border: 1px solid black;
-moz-user-select: none;
user-select: none;
}
</style>
</head>

View file

@ -13,8 +13,8 @@
}
html,body { margin:0; padding: 0; }
body,pre { font-family: Ahem; font-size: 20px; }
span { -moz-user-select:none; }
x { -moz-user-select:text; }
span { user-select:none; }
x { user-select:text; }
</style>
</head>
<body>

View file

@ -12,7 +12,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=582771
width: 20px;
height: 20px;
border: 1px solid black;
-moz-user-select: none;
user-select: none;
}
</style>
</head>

View file

@ -12,7 +12,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=603550
width: 20px;
height: 20px;
border: 1px solid black;
-moz-user-select: none;
user-select: none;
}
</style>
</head>

View file

@ -15,7 +15,7 @@ vbox, hbox {
word-spacing: normal;
letter-spacing: normal;
text-indent: 0;
-moz-user-select: text;
user-select: text;
text-shadow: none;
/* Copy of the type=file part of forms.css below this */

View file

@ -24,7 +24,7 @@ video {
margin: auto;
max-width: 100%;
max-height: 100%;
-moz-user-select: none;
user-select: none;
}
video:focus {

View file

@ -10,17 +10,17 @@
}
*|*:read-write :read-only {
-moz-user-select: all;
user-select: all;
}
*|*:read-only > :read-write {
/* override the above -moz-user-select: all rule. */
-moz-user-select: -moz-text;
user-select: -moz-text;
}
input:read-write > .anonymous-div:read-only,
textarea:read-write > .anonymous-div:read-only {
-moz-user-select: text;
user-select: text;
}
/* Use default arrow over objects with size that
@ -60,7 +60,7 @@ a:link:read-write {
*|*:read-write > input:read-only,
*|*:read-write > button:read-only,
*|*:read-write > textarea:read-only {
-moz-user-select: all;
user-select: all;
-moz-user-input: auto !important;
-moz-user-focus: none !important;
}
@ -75,7 +75,7 @@ input[contenteditable="true"]:disabled,
input[contenteditable="true"][type="checkbox"],
input[contenteditable="true"][type="radio"],
input[contenteditable="true"][type="file"] {
-moz-user-select: all;
user-select: all;
-moz-user-input: none !important;
-moz-user-focus: none !important;
}
@ -96,15 +96,15 @@ input[contenteditable="true"][type="hidden"] {
}
label:read-write {
-moz-user-select: all;
user-select: all;
}
*|*::-moz-display-comboboxcontrol-frame {
-moz-user-select: text;
user-select: text;
}
option:read-write {
-moz-user-select: text;
user-select: text;
}
/* the following rules are for Image Resizing */
@ -115,7 +115,7 @@ span[\_moz_anonclass="mozResizer"] {
position: absolute;
border: 1px black solid;
background-color: white;
-moz-user-select: none;
user-select: none;
z-index: 2147483646; /* max value -1 for this property */
}
@ -163,7 +163,7 @@ span[\_moz_anonclass="mozResizer"][anonlocation="se"] {
span[\_moz_anonclass="mozResizingShadow"],
img[\_moz_anonclass="mozResizingShadow"] {
outline: thin dashed black;
-moz-user-select: none;
user-select: none;
opacity: 0.5;
position: absolute;
z-index: 2147483647; /* max value for this property */
@ -204,7 +204,7 @@ span[\_moz_anonclass="mozGrabber"] {
background-image: url("resource://gre/res/grabber.gif");
background-repeat: no-repeat;
background-position: center center;
-moz-user-select: none;
user-select: none;
cursor: move;
}
@ -220,7 +220,7 @@ a[\_moz_anonclass="mozTableAddColumnBefore"] {
background-image: url("resource://gre/res/table-add-column-before.gif");
background-repeat: no-repeat;
background-position: center center;
-moz-user-select: none;
user-select: none;
-moz-user-focus: none !important;
}
@ -242,7 +242,7 @@ a[\_moz_anonclass="mozTableAddColumnAfter"] {
background-image: url("resource://gre/res/table-add-column-after.gif");
background-repeat: no-repeat;
background-position: center center;
-moz-user-select: none;
user-select: none;
-moz-user-focus: none !important;
}
@ -264,7 +264,7 @@ a[\_moz_anonclass="mozTableRemoveColumn"] {
background-image: url("resource://gre/res/table-remove-column.gif");
background-repeat: no-repeat;
background-position: center center;
-moz-user-select: none;
user-select: none;
-moz-user-focus: none !important;
}
@ -286,7 +286,7 @@ a[\_moz_anonclass="mozTableAddRowBefore"] {
background-image: url("resource://gre/res/table-add-row-before.gif");
background-repeat: no-repeat;
background-position: center center;
-moz-user-select: none;
user-select: none;
-moz-user-focus: none !important;
}
@ -308,7 +308,7 @@ a[\_moz_anonclass="mozTableAddRowAfter"] {
background-image: url("resource://gre/res/table-add-row-after.gif");
background-repeat: no-repeat;
background-position: center center;
-moz-user-select: none;
user-select: none;
-moz-user-focus: none !important;
}
@ -330,7 +330,7 @@ a[\_moz_anonclass="mozTableRemoveRow"] {
background-image: url("resource://gre/res/table-remove-row.gif");
background-repeat: no-repeat;
background-position: center center;
-moz-user-select: none;
user-select: none;
-moz-user-focus: none !important;
}

View file

@ -101,7 +101,7 @@ input {
cursor: text;
-moz-binding: url("chrome://global/content/platformHTMLBindings.xml#inputFields");
text-indent: 0;
-moz-user-select: text;
user-select: text;
text-shadow: none;
overflow-clip-box: content-box;
}
@ -148,7 +148,7 @@ textarea {
-moz-binding: url("chrome://global/content/platformHTMLBindings.xml#textAreas");
-moz-appearance: textfield-multiline;
text-indent: 0;
-moz-user-select: text;
user-select: text;
text-shadow: none;
white-space: pre-wrap;
word-wrap: break-word;
@ -240,7 +240,7 @@ select {
text-align: start;
cursor: default;
box-sizing: border-box;
-moz-user-select: none;
user-select: none;
-moz-appearance: menulist;
border-width: 2px;
border-style: inset;
@ -332,7 +332,7 @@ select:empty {
color: inherit;
white-space: nowrap;
text-align: inherit;
-moz-user-select: none;
user-select: none;
/* Make sure to size correctly if the combobox has a non-auto block-size. */
block-size: 100% ! important;
box-sizing: border-box ! important;
@ -345,7 +345,7 @@ option {
position: static !important;
min-block-size: 1em;
line-height: normal !important;
-moz-user-select: none;
user-select: none;
text-indent: 0;
white-space: nowrap !important;
word-wrap: normal !important;
@ -379,7 +379,7 @@ optgroup {
font-style: italic;
font-weight: bold;
font-size: inherit;
-moz-user-select: none;
user-select: none;
text-indent: 0;
white-space: nowrap !important;
word-wrap: normal !important;
@ -399,7 +399,7 @@ optgroup:before {
*|*::-moz-dropdown-list {
z-index: 2147483647;
background-color: inherit;
-moz-user-select: none;
user-select: none;
position: static !important;
float: none !important;
@ -633,7 +633,7 @@ input[type="submit"] {
background-color: ButtonFace;
cursor: default;
box-sizing: border-box;
-moz-user-select: none;
user-select: none;
-moz-binding: none;
}
@ -933,7 +933,7 @@ input[type=range] {
border: none;
-moz-binding: none; /* we don't want any of platformHTMLBindings.xml#inputFields */
/* Prevent nsFrame::HandlePress setting mouse capture to this element. */
-moz-user-select: none ! important;
user-select: none ! important;
}
input[type=range][orient=block] {
@ -986,7 +986,7 @@ input[type=range]::-moz-range-track {
inline-size: 100%;
block-size: 0.2em;
/* Prevent nsFrame::HandlePress setting mouse capture to this element. */
-moz-user-select: none ! important;
user-select: none ! important;
}
input[type=range][orient=block]::-moz-range-track {
@ -1023,7 +1023,7 @@ input[type=range]::-moz-range-progress {
width: 0.2em;
height: 0.2em;
/* Prevent nsFrame::HandlePress setting mouse capture to this element. */
-moz-user-select: none ! important;
user-select: none ! important;
}
/**
@ -1047,7 +1047,7 @@ input[type=range]::-moz-range-thumb {
border-radius: 0.5em;
background-color: #F0F0F0;
/* Prevent nsFrame::HandlePress setting mouse capture to this element. */
-moz-user-select: none ! important;
user-select: none ! important;
}
/* As a temporary workaround until bug 677302 the rule for input[type=number]

View file

@ -706,7 +706,7 @@ spacer {
}
canvas {
-moz-user-select: none;
user-select: none;
}
/* focusable content: anything w/ tabindex >=0 is focusable, but we

View file

@ -110,7 +110,7 @@
vertical-align: baseline;
font-variant-numeric: tabular-nums;
/* Prevent the element from being selected when clicking on the marker. */
-moz-user-select: none;
user-select: none;
}
/* SVG documents don't always load this file but they do have links.
@ -321,7 +321,7 @@
top: 0; left: 0;
right: 0; bottom: 0;
/* This prevents undesired interactions with the selection code. */
-moz-user-select: none;
user-select: none;
}
*|*:-moz-full-screen:not(:root)::backdrop {

View file

@ -36,7 +36,7 @@ pre[id]:before,
span[id]:before {
content: counter(line) " ";
counter-increment: line;
-moz-user-select: none;
user-select: none;
display: inline-block;
width: 5ch;
margin: 0 0 0 -5ch;

View file

@ -2237,7 +2237,7 @@ var gCSSProperties = {
other_values: [ "read-write", "write-only" ],
invalid_values: []
},
"-moz-user-select": {
"user-select": {
domProp: "MozUserSelect",
inherited: false,
type: CSS_TYPE_LONGHAND,
@ -7885,8 +7885,8 @@ if (IsCSSPropertyPrefEnabled("layout.css.prefixes.webkit")) {
domProp: "webkitUserSelect",
inherited: false,
type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
alias_for: "-moz-user-select",
subproperties: [ "-moz-user-select" ],
alias_for: "user-select",
subproperties: [ "user-select" ],
};
if (SupportsMaskShorthand()) {

View file

@ -20,7 +20,7 @@
#results {
margin: 5px;
background-color: window;
-moz-user-select: text;
user-select: text;
}
#summary {

File diff suppressed because one or more lines are too long

View file

@ -10,7 +10,7 @@
#info\.body {
-moz-user-focus: normal;
-moz-user-select: text;
user-select: text;
cursor: text !important;
white-space: pre-wrap;
unicode-bidi: plaintext;

View file

@ -24,7 +24,7 @@ tabmodalprompt {
.info\.body {
margin: 0 !important;
-moz-user-focus: normal;
-moz-user-select: text;
user-select: text;
cursor: text !important;
white-space: pre-wrap;
unicode-bidi: plaintext;

View file

@ -29,7 +29,7 @@
margin: 0;
ime-mode: disabled;
cursor: default;
-moz-user-select: none;
user-select: none;
}
.datetime-separator {
@ -39,7 +39,7 @@
.datetime-input[readonly],
.datetime-input[disabled] {
color: GrayText;
-moz-user-select: none;
user-select: none;
}
.datetime-reset-button {