mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
Merge remote-tracking branch 'origin/tracking' into custom
This commit is contained in:
commit
fbb39ce322
65 changed files with 188 additions and 193 deletions
File diff suppressed because one or more lines are too long
|
|
@ -612,7 +612,6 @@ menuseparator {
|
|||
}
|
||||
|
||||
.autocomplete .results * {
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -773,7 +772,6 @@ menuseparator {
|
|||
}
|
||||
.tree {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
|
|
@ -820,7 +818,6 @@ html[dir="rtl"] .tree .node > div {
|
|||
}
|
||||
|
||||
.sources-panel * {
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -834,7 +831,6 @@ html[dir="rtl"] .tree .node > div {
|
|||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -916,7 +912,6 @@ html[dir="rtl"] .worker svg {
|
|||
|
||||
.tree {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
|
|
@ -966,7 +961,6 @@ html[dir="rtl"] .worker svg {
|
|||
right: 1px;
|
||||
opacity: 1;
|
||||
z-index: 100;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -979,7 +973,6 @@ html[dir="rtl"] .source-footer .command-bar {
|
|||
}
|
||||
|
||||
.source-footer .command-bar * {
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -1186,7 +1179,6 @@ html[dir="rtl"] .editor-mount {
|
|||
background-color: var(--theme-tab-toolbar-background);
|
||||
font-weight: lighter;
|
||||
z-index: 100;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -1213,7 +1205,6 @@ html[dir="rtl"] .editor-mount {
|
|||
outline-width: 0;
|
||||
}
|
||||
.breakpoints-list * {
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -1396,7 +1387,6 @@ html .arrow.expanded svg {
|
|||
*/
|
||||
|
||||
.frames ul li * {
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -1449,7 +1439,6 @@ html .arrow.expanded svg {
|
|||
width: 100%;
|
||||
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
|
|
@ -1475,7 +1464,6 @@ html .arrow.expanded svg {
|
|||
}
|
||||
|
||||
.right-siderbar * {
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -1550,7 +1538,6 @@ html[dir="rtl"] .command-bar .stepOut {
|
|||
font-style: italic;
|
||||
text-align: center;
|
||||
padding: 0.5em;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -1572,7 +1559,6 @@ span.pause-exceptions.all {
|
|||
}
|
||||
|
||||
.source-header * {
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
padding: 5px;
|
||||
transition: all 0.25s ease;
|
||||
width: 100%;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.accordion ._header:hover {
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
padding-top: 8px;
|
||||
padding-bottom: 4px;
|
||||
font-weight: bold;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.headersPanelBox .netInfoParamValue {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -228,7 +228,6 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
|||
}
|
||||
.CodeMirror-gutter-wrapper {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2096,7 +2096,6 @@ textarea.input-lg, .input-group-lg > textarea.form-control, .input-group-lg > te
|
|||
line-height: 1.42857;
|
||||
border-radius: 4px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
.btn:focus, .btn:active:focus, .btn.active:focus {
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@
|
|||
|
||||
.boxmodel-editable {
|
||||
border: 1px dashed transparent;
|
||||
-moz-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.boxmodel-editable:hover {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
}
|
||||
|
||||
#propertyContainer {
|
||||
-moz-user-select: text;
|
||||
user-select: text;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
flex: auto;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -322,7 +322,7 @@
|
|||
padding: 0 2px;
|
||||
margin: 0;
|
||||
margin-inline-end: 3px;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.requests-menu-transferred {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
.netInfoBody .netInfoGroupTitle {
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
cursor: pointer;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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": [
|
||||
|
|
@ -3002,6 +2978,7 @@ exports.CSS_PROPERTIES = {
|
|||
"-moz-text",
|
||||
"all",
|
||||
"auto",
|
||||
"contain",
|
||||
"element",
|
||||
"elements",
|
||||
"inherit",
|
||||
|
|
@ -3391,7 +3368,7 @@ exports.CSS_PROPERTIES = {
|
|||
"-moz-user-focus",
|
||||
"-moz-user-input",
|
||||
"-moz-user-modify",
|
||||
"-moz-user-select",
|
||||
"user-select",
|
||||
"vector-effect",
|
||||
"vertical-align",
|
||||
"visibility",
|
||||
|
|
@ -9290,7 +9267,7 @@ exports.CSS_PROPERTIES = {
|
|||
]
|
||||
},
|
||||
"scrollbar-width": {
|
||||
"isInherited": true,
|
||||
"isInherited": false,
|
||||
"subproperties": [
|
||||
"scrollbar-width"
|
||||
],
|
||||
|
|
@ -10084,6 +10061,31 @@ exports.CSS_PROPERTIES = {
|
|||
"unset"
|
||||
]
|
||||
},
|
||||
"user-select": {
|
||||
"isInherited": false,
|
||||
"subproperties": [
|
||||
"user-select"
|
||||
],
|
||||
"supports": [],
|
||||
"values": [
|
||||
"-moz-all",
|
||||
"-moz-none",
|
||||
"-moz-text",
|
||||
"all",
|
||||
"auto",
|
||||
"contain",
|
||||
"element",
|
||||
"elements",
|
||||
"inherit",
|
||||
"initial",
|
||||
"none",
|
||||
"revert",
|
||||
"text",
|
||||
"toggle",
|
||||
"tri-state",
|
||||
"unset"
|
||||
]
|
||||
},
|
||||
"vector-effect": {
|
||||
"isInherited": false,
|
||||
"subproperties": [
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ public:
|
|||
/**
|
||||
* Mark this range as being generated or not.
|
||||
* Currently it is used for marking ranges that are created when splitting up
|
||||
* a range to exclude a -moz-user-select:none region.
|
||||
* a range to exclude a user-select:none region.
|
||||
* @see Selection::AddItem
|
||||
* @see ExcludeNonSelectableNodes
|
||||
*/
|
||||
|
|
@ -354,13 +354,13 @@ public:
|
|||
bool aClampToEdge, bool aFlushLayout);
|
||||
|
||||
/**
|
||||
* Scan this range for -moz-user-select:none nodes and split it up into
|
||||
* Scan this range for user-select:none nodes and split it up into
|
||||
* multiple ranges to exclude those nodes. The resulting ranges are put
|
||||
* in aOutRanges. If no -moz-user-select:none node is found in the range
|
||||
* in aOutRanges. If no user-select:none node is found in the range
|
||||
* then |this| is unmodified and is the only range in aOutRanges.
|
||||
* Otherwise, |this| will be modified so that it ends before the first
|
||||
* -moz-user-select:none node and additional ranges may also be created.
|
||||
* If all nodes in the range are -moz-user-select:none then aOutRanges
|
||||
* user-select:none node and additional ranges may also be created.
|
||||
* If all nodes in the range are user-select:none then aOutRanges
|
||||
* will be empty.
|
||||
* @param aOutRanges the resulting set of ranges
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
@ -54,11 +54,11 @@ function test()
|
|||
.getInterface(Ci.nsIWebNavigation)
|
||||
var docShell = webnav.QueryInterface(Ci.nsIDocShell);
|
||||
var test2Inner = iframe2.contentDocument.getElementById('test2Inner');
|
||||
test2Inner.style.MozUserSelect = 'text';
|
||||
test2Inner.style.UserSelect = 'text';
|
||||
docShell.doCommand("cmd_selectAll");
|
||||
var withoutUserSelect = snapshotWindow(iframe2.contentWindow);
|
||||
|
||||
test2Inner.style.MozUserSelect = 'none';
|
||||
test2Inner.style.UserSelect = 'none';
|
||||
docShell.doCommand("cmd_selectAll");
|
||||
var withUserSelect = snapshotWindow(iframe2.contentWindow);
|
||||
ok(compareSnapshots(withoutUserSelect, withUserSelect, true)[0], 'Editable fields should ignore user select style');
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE>
|
||||
<html>
|
||||
<head>
|
||||
<title>-moz-user-select selection tests</title>
|
||||
<title>user-select selection tests</title>
|
||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script src="/tests/SimpleTest/EventUtils.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
|
|
@ -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">
|
||||
|
|
@ -249,7 +249,7 @@ function test()
|
|||
// ================== shift+click tests =================
|
||||
// ======================================================
|
||||
|
||||
// test extending a selection that starts in a -moz-user-select:none node
|
||||
// test extending a selection that starts in a user-select:none node
|
||||
clear();
|
||||
e = document.getElementById('test2');
|
||||
init([[0,0,0,1]], e);
|
||||
|
|
@ -261,7 +261,7 @@ function test()
|
|||
checkRanges([[-1,1,1,10]], e);
|
||||
doneTest(e);
|
||||
|
||||
// test extending a selection that end in a -moz-user-select:none node
|
||||
// test extending a selection that end in a user-select:none node
|
||||
clear();
|
||||
e = document.getElementById('test3');
|
||||
init([[1,0,1,1]], e);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
.expander {
|
||||
cursor: pointer;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
width: 1em;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@ TextEditor::InsertFromDrop(nsIDOMEvent* aDropEvent)
|
|||
// Only the HTMLEditor::FindUserSelectAllNode returns a node.
|
||||
nsCOMPtr<nsIDOMNode> userSelectNode = FindUserSelectAllNode(newSelectionParent);
|
||||
if (userSelectNode) {
|
||||
// The drop is happening over a "-moz-user-select: all"
|
||||
// The drop is happening over a "user-select: all"
|
||||
// subtree so make sure the content we insert goes before
|
||||
// the root of the subtree.
|
||||
//
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ interface nsIContentFilter : nsISupports
|
|||
* approximation since the editor may need to adjust it if it deletes
|
||||
* the selection as part of the event and later determines that insertion
|
||||
* point is an empty container which should also be removed (or in other
|
||||
* scenarios such as -moz-user-select:none).
|
||||
* scenarios such as user-select:none).
|
||||
*
|
||||
* In some scenarios the selection will be deleted. If callers choose
|
||||
* to adjust the insertion point, they should be careful that the insertion
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
}
|
||||
</script>
|
||||
<style>
|
||||
div { -moz-user-select:none; }
|
||||
div { user-select:none; }
|
||||
div:focus { outline:1px solid black; }
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
}
|
||||
</script>
|
||||
<style>
|
||||
div { -moz-user-select:none; }
|
||||
div { user-select:none; }
|
||||
div:focus { outline:1px solid black; }
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -40,7 +40,7 @@ var sel = window.getSelection();
|
|||
|
||||
function enableSelection(id) {
|
||||
var span = document.getElementById(id);
|
||||
span.style.MozUserSelect = 'text';
|
||||
span.style.UserSelect = 'text';
|
||||
}
|
||||
|
||||
function setupPrevSelection() {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ public:
|
|||
nsTArray<RangeData>* aOutput);
|
||||
/**
|
||||
* AddItem adds aRange to this Selection. If mUserInitiated is true,
|
||||
* then aRange is first scanned for -moz-user-select:none nodes and split up
|
||||
* then aRange is first scanned for user-select:none nodes and split up
|
||||
* into multiple ranges to exclude those before adding the resulting ranges
|
||||
* to this Selection.
|
||||
*/
|
||||
|
|
@ -425,7 +425,7 @@ private:
|
|||
SelectionType mSelectionType;
|
||||
/**
|
||||
* True if the current selection operation was initiated by user action.
|
||||
* It determines whether we exclude -moz-user-select:none nodes or not,
|
||||
* It determines whether we exclude user-select:none nodes or not,
|
||||
* as well as whether selectstart events will be fired.
|
||||
*/
|
||||
bool mUserInitiated;
|
||||
|
|
|
|||
|
|
@ -3443,7 +3443,7 @@ nsFrame::HandlePress(nsPresContext* aPresContext,
|
|||
{
|
||||
// A single node is selected and we aren't extending an existing
|
||||
// selection, which means the user clicked directly on an object (either
|
||||
// -moz-user-select: all or a non-text node without children).
|
||||
// user-select: all or a non-text node without children).
|
||||
// Therefore, disable selection extension during mouse moves.
|
||||
// XXX This is a bit hacky; shouldn't editor be able to deal with this?
|
||||
fc->SetDragState(false);
|
||||
|
|
@ -4251,7 +4251,7 @@ nsIFrame::ContentOffsets nsIFrame::GetContentOffsetsFromPoint(nsPoint aPoint,
|
|||
|
||||
adjustedFrame = AdjustFrameForSelectionStyles(this);
|
||||
|
||||
// -moz-user-select: all needs special handling, because clicking on it
|
||||
// user-select: all needs special handling, because clicking on it
|
||||
// should lead to the whole frame being selected
|
||||
if (adjustedFrame && adjustedFrame->StyleUIReset()->mUserSelect ==
|
||||
StyleUserSelect::All) {
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ video {
|
|||
margin: auto;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
video:focus {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
/* override the above user-select: all rule. */
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6427,6 +6427,15 @@ nsRuleNode::ComputeDisplayData(void* aStartStruct,
|
|||
display->mOverflowY = NS_STYLE_OVERFLOW_HIDDEN;
|
||||
}
|
||||
|
||||
// If 'visible' is specified but doesn't match the other dimension, it
|
||||
// turns into 'auto'.
|
||||
if (display->mOverflowX == NS_STYLE_OVERFLOW_VISIBLE) {
|
||||
display->mOverflowX = NS_STYLE_OVERFLOW_AUTO;
|
||||
}
|
||||
if (display->mOverflowY == NS_STYLE_OVERFLOW_VISIBLE) {
|
||||
display->mOverflowY = NS_STYLE_OVERFLOW_AUTO;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// When 'contain: paint', update overflow from 'visible' to 'clip'.
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -706,7 +706,7 @@ spacer {
|
|||
}
|
||||
|
||||
canvas {
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* focusable content: anything w/ tabindex >=0 is focusable, but we
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -2237,12 +2237,12 @@ var gCSSProperties = {
|
|||
other_values: [ "read-write", "write-only" ],
|
||||
invalid_values: []
|
||||
},
|
||||
"-moz-user-select": {
|
||||
domProp: "MozUserSelect",
|
||||
"user-select": {
|
||||
domProp: "UserSelect",
|
||||
inherited: false,
|
||||
type: CSS_TYPE_LONGHAND,
|
||||
initial_values: [ "auto" ],
|
||||
other_values: [ "none", "text", "element", "elements", "all", "toggle", "tri-state", "-moz-all", "-moz-none" ],
|
||||
other_values: [ "none", "text", "element", "contain", "elements", "all", "toggle", "tri-state", "-moz-all", "-moz-none" ],
|
||||
invalid_values: []
|
||||
},
|
||||
"background": {
|
||||
|
|
@ -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()) {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
#results {
|
||||
margin: 5px;
|
||||
background-color: window;
|
||||
-moz-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
#summary {
|
||||
|
|
|
|||
|
|
@ -4096,7 +4096,7 @@ if(dojo.isIE || dojo.isOpera){
|
|||
// selectable:
|
||||
node = d.byId(node);
|
||||
if(d.isMozilla){
|
||||
node.style.MozUserSelect = selectable ? "" : "none";
|
||||
node.style.UserSelect = selectable ? "" : "none";
|
||||
}else if(d.isKhtml){
|
||||
node.style.KhtmlUserSelect = selectable ? "auto" : "none";
|
||||
}else if(d.isIE){
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue