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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
:root{ :root{
-moz-user-select: none; user-select: none;
} }
#options-panel-container { #options-panel-container {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -16,7 +16,7 @@
} }
#filter-container.dragging { #filter-container.dragging {
-moz-user-select: none; user-select: none;
} }
.filters-list, .filters-list,
@ -96,7 +96,7 @@
} }
.filter-name label { .filter-name label {
-moz-user-select: none; user-select: none;
flex-grow: 1; 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 { .spectrum-dragger, .spectrum-slider {
-moz-user-select: none; user-select: none;
} }
.spectrum-alpha { .spectrum-alpha {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -366,7 +366,7 @@
.call-tree-item .call-tree-cell, .call-tree-item .call-tree-cell,
.call-tree-item .call-tree-cell[type=function] description { .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 */ /* so that optimizations view doesn't break the lines in call tree */
white-space: nowrap; white-space: nowrap;
} }

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1543,30 +1543,6 @@ exports.CSS_PROPERTIES = {
"write-only" "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": { "-moz-window-dragging": {
"isInherited": false, "isInherited": false,
"subproperties": [ "subproperties": [
@ -2993,7 +2969,7 @@ exports.CSS_PROPERTIES = {
"-webkit-user-select": { "-webkit-user-select": {
"isInherited": false, "isInherited": false,
"subproperties": [ "subproperties": [
"-moz-user-select" "user-select"
], ],
"supports": [], "supports": [],
"values": [ "values": [
@ -3391,7 +3367,7 @@ exports.CSS_PROPERTIES = {
"-moz-user-focus", "-moz-user-focus",
"-moz-user-input", "-moz-user-input",
"-moz-user-modify", "-moz-user-modify",
"-moz-user-select", "user-select",
"vector-effect", "vector-effect",
"vertical-align", "vertical-align",
"visibility", "visibility",
@ -10084,6 +10060,30 @@ exports.CSS_PROPERTIES = {
"unset" "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": { "vector-effect": {
"isInherited": false, "isInherited": false,
"subproperties": [ "subproperties": [

View file

@ -12,7 +12,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=765993
<body> <body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=765993">Mozilla Bug 765993</a> <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=765993">Mozilla Bug 765993</a>
<style type="text/css"> <style type="text/css">
#link1 a { -moz-user-select:none; } #link1 a { user-select:none; }
</style> </style>
<div id="link1"><a href="http://www.mozilla.org/">link1</a></div> <div id="link1"><a href="http://www.mozilla.org/">link1</a></div>
<div id="link2"><a href="http://www.mozilla.org/">link2</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" /> <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
<style> <style>
#test1 { #test1 {
-moz-user-select: none; user-select: none;
} }
#testDiv, #test2 { #testDiv, #test2 {
-moz-user-select: text; user-select: text;
} }
</style> </style>
</head> </head>
<body id='body'> <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> <iframe id="test2" src="data:text/html,<div contenteditable id='test2'>AAA<span id='test2Inner'>BBB</span></div>"></iframe>
<pre id="test"> <pre id="test">
<script class="testbody" type="text/javascript"> <script class="testbody" type="text/javascript">

View file

@ -12,11 +12,11 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=816298
<body> <body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=166235">Mozilla Bug 166235 and Bug 816298</a> <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="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="test1">This text should<span style="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="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="-moz-user-select: -moz-none;"> 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="-moz-user-select: -moz-none;"><span style="-moz-user-select: text"> text should</span> 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="-moz-user-select: all"> text<span style="-moz-user-select: none"> should</span></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 id="content" style="display: none">
</div> </div>
@ -108,10 +108,10 @@ var originalStrings = [
var clipboardHTML = [ var clipboardHTML = [
'<p id=\"test0\">This text should be copied.</p>', '<p id=\"test0\">This text should be copied.</p>',
'<p id=\"test1\">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=\"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=\"test4\">This<span style=\"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=\"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 // expected results for clipboard text/unicode
@ -127,11 +127,11 @@ var clipboardUnicode = [
// expected results for .innerHTML // expected results for .innerHTML
var innerHTMLStrings = [ var innerHTMLStrings = [
'This text should be copied.', 'This text should be copied.',
'This text should<span style=\"-moz-user-select: none;\"> NOT</span> be copied.', 'This text should<span style=\"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<span style=\"user-select: none;\"><span style=\"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 text should<span style=\"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=\"user-select: -moz-none;\"><span style=\"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<span style=\"user-select: all\"> text<span style=\"user-select: none\"> should</span></span> be copied.',
]; ];
// expected results for pasting into a TEXTAREA // 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> <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=558726">Mozilla Bug 558726</a>
<div> <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_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> </div>
<p id="display"></p> <p id="display"></p>
@ -26,7 +26,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=558726
function runTest() { 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_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(); SimpleTest.finish();
} }

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -13,6 +13,6 @@
<body onload="setTimeout(test, 0)"> <body onload="setTimeout(test, 0)">
<div contenteditable spellcheck="false" onfocus="focused()" <div contenteditable spellcheck="false" onfocus="focused()"
style="outline: none">foo<span contenteditable=false 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> </body>
</html> </html>

View file

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

View file

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

View file

@ -1,5 +1,5 @@
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html class="reftest-wait" style="-moz-user-select:none" spellcheck="false"> <html class="reftest-wait" style="user-select:none" spellcheck="false">
<head> <head>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.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; width: 20px;
height: 20px; height: 20px;
border: 1px solid black; border: 1px solid black;
-moz-user-select: none; user-select: none;
} }
</style> </style>
</head> </head>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

File diff suppressed because one or more lines are too long

View file

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

View file

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

View file

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