зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1492739 - Unprefix usage of -moz-user-select from UA stylesheets. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D31154 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
c1954c0d3a
Коммит
f041512168
|
@ -25,7 +25,7 @@ video {
|
|||
margin: auto;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-moz-user-focus: normal;
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
input:-moz-read-write > .anonymous-div:-moz-read-only,
|
||||
textarea:-moz-read-write > .anonymous-div:-moz-read-only {
|
||||
-moz-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
/* Use default arrow over objects with size that
|
||||
|
@ -50,7 +50,7 @@ a:link:-moz-read-write {
|
|||
*|*:-moz-read-write > input:-moz-read-only,
|
||||
*|*:-moz-read-write > button:-moz-read-only,
|
||||
*|*:-moz-read-write > textarea:-moz-read-only {
|
||||
-moz-user-select: all;
|
||||
user-select: all;
|
||||
-moz-user-input: auto !important;
|
||||
-moz-user-focus: none !important;
|
||||
}
|
||||
|
@ -65,7 +65,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;
|
||||
}
|
||||
|
@ -77,15 +77,15 @@ input[contenteditable="true"][type="hidden"] {
|
|||
}
|
||||
|
||||
label:-moz-read-write {
|
||||
-moz-user-select: all;
|
||||
user-select: all;
|
||||
}
|
||||
|
||||
*|*::-moz-display-comboboxcontrol-frame {
|
||||
-moz-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
option:-moz-read-write {
|
||||
-moz-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
/* the following rules are for Image Resizing */
|
||||
|
@ -96,7 +96,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 */
|
||||
}
|
||||
|
||||
|
@ -144,7 +144,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 */
|
||||
|
@ -185,7 +185,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;
|
||||
}
|
||||
|
||||
|
@ -201,7 +201,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;
|
||||
}
|
||||
|
||||
|
@ -223,7 +223,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;
|
||||
}
|
||||
|
||||
|
@ -245,7 +245,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;
|
||||
}
|
||||
|
||||
|
@ -267,7 +267,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;
|
||||
}
|
||||
|
||||
|
@ -289,7 +289,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;
|
||||
}
|
||||
|
||||
|
@ -311,7 +311,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;
|
||||
}
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ input {
|
|||
letter-spacing: normal;
|
||||
cursor: text;
|
||||
text-indent: 0;
|
||||
-moz-user-select: text;
|
||||
user-select: text;
|
||||
text-shadow: none;
|
||||
overflow-clip-box: padding-box content-box;
|
||||
}
|
||||
|
@ -130,7 +130,7 @@ textarea {
|
|||
vertical-align: text-bottom;
|
||||
cursor: text;
|
||||
resize: both;
|
||||
-moz-user-select: text;
|
||||
user-select: text;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
overflow-clip-box: content-box;
|
||||
|
@ -231,7 +231,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;
|
||||
|
@ -323,7 +323,7 @@ select > button[orientation="right"]:active {
|
|||
color: unset;
|
||||
white-space: nowrap;
|
||||
text-align: unset;
|
||||
-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;
|
||||
|
@ -342,7 +342,7 @@ option {
|
|||
* different one there.
|
||||
*/
|
||||
line-height: normal !important;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
text-indent: 0;
|
||||
white-space: nowrap !important;
|
||||
word-wrap: normal !important;
|
||||
|
@ -376,7 +376,7 @@ optgroup {
|
|||
font-style: italic;
|
||||
font-weight: bold;
|
||||
font-size: unset;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
text-indent: 0;
|
||||
white-space: nowrap !important;
|
||||
word-wrap: normal !important;
|
||||
|
@ -396,7 +396,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;
|
||||
|
||||
|
@ -490,7 +490,7 @@ input[type="file"] > label {
|
|||
font-size: unset;
|
||||
letter-spacing: unset;
|
||||
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
unicode-bidi: plaintext;
|
||||
}
|
||||
|
||||
|
@ -597,7 +597,7 @@ input[type="submit"] {
|
|||
background-color: ButtonFace;
|
||||
cursor: default;
|
||||
box-sizing: border-box;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* Text-related properties for buttons: these ones are not shared with
|
||||
|
@ -876,7 +876,7 @@ input[type=range] {
|
|||
padding: unset;
|
||||
border: unset;
|
||||
/* Prevent nsFrame::HandlePress setting mouse capture to this element. */
|
||||
-moz-user-select: none ! important;
|
||||
user-select: none !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -907,7 +907,7 @@ input[type=range]::-moz-range-track {
|
|||
direction: unset !important;
|
||||
block-size: 0.2em;
|
||||
/* Prevent nsFrame::HandlePress setting mouse capture to this element. */
|
||||
-moz-user-select: none ! important;
|
||||
user-select: none !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -931,7 +931,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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -957,7 +957,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;
|
||||
}
|
||||
|
||||
input[type="number"] {
|
||||
|
|
|
@ -709,7 +709,7 @@ spacer {
|
|||
}
|
||||
|
||||
canvas {
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* focusable content: anything w/ tabindex >=0 is focusable, but we
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче