mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
Unprefix -moz-read-write / -moz-read-only
This commit is contained in:
parent
e4630ce481
commit
4cc014cb6b
25 changed files with 75 additions and 75 deletions
|
|
@ -9,17 +9,17 @@
|
|||
cursor: text;
|
||||
}
|
||||
|
||||
*|*:-moz-read-write :-moz-read-only {
|
||||
*|*:read-write :read-only {
|
||||
-moz-user-select: all;
|
||||
}
|
||||
|
||||
*|*:-moz-read-only > :-moz-read-write {
|
||||
*|*:read-only > :read-write {
|
||||
/* override the above -moz-user-select: all rule. */
|
||||
-moz-user-select: -moz-text;
|
||||
}
|
||||
|
||||
input:-moz-read-write > .anonymous-div:-moz-read-only,
|
||||
textarea:-moz-read-write > .anonymous-div:-moz-read-only {
|
||||
input:read-write > .anonymous-div:read-only,
|
||||
textarea:read-write > .anonymous-div:read-only {
|
||||
-moz-user-select: text;
|
||||
}
|
||||
|
||||
|
|
@ -28,49 +28,49 @@ textarea:-moz-read-write > .anonymous-div:-moz-read-only {
|
|||
Override the browser's pointer cursor over links
|
||||
*/
|
||||
|
||||
img:-moz-read-write, img:-moz-read-write[usemap], area:-moz-read-write,
|
||||
object:-moz-read-write, object:-moz-read-write[usemap],
|
||||
applet:-moz-read-write, hr:-moz-read-write, button:-moz-read-write,
|
||||
select:-moz-read-write,
|
||||
a:-moz-read-write:link img, a:-moz-read-write:visited img,
|
||||
a:-moz-read-write:active img, a:-moz-read-write:-moz-only-whitespace[name] {
|
||||
img:read-write, img:read-write[usemap], area:read-write,
|
||||
object:read-write, object:read-write[usemap],
|
||||
applet:read-write, hr:read-write, button:read-write,
|
||||
select:read-write,
|
||||
a:read-write:link img, a:read-write:visited img,
|
||||
a:read-write:active img, a:read-write:-moz-only-whitespace[name] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
*|*:any-link:-moz-read-write {
|
||||
*|*:any-link:read-write {
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
/* Prevent clicking on links from going to link */
|
||||
a:link:-moz-read-write img, a:visited:-moz-read-write img,
|
||||
a:active:-moz-read-write img {
|
||||
a:link:read-write img, a:visited:read-write img,
|
||||
a:active:read-write img {
|
||||
-moz-user-input: none;
|
||||
}
|
||||
|
||||
/* We suppress user/author's prefs for link underline,
|
||||
so we must set explicitly. This isn't good!
|
||||
*/
|
||||
a:link:-moz-read-write {
|
||||
a:link:read-write {
|
||||
text-decoration: underline -moz-anchor-decoration;
|
||||
color: -moz-hyperlinktext;
|
||||
}
|
||||
|
||||
/* Allow double-clicks on these widgets to open properties dialogs
|
||||
XXX except when the widget has disabled attribute */
|
||||
*|*:-moz-read-write > input:-moz-read-only,
|
||||
*|*:-moz-read-write > button:-moz-read-only,
|
||||
*|*:-moz-read-write > textarea:-moz-read-only {
|
||||
*|*:read-write > input:read-only,
|
||||
*|*:read-write > button:read-only,
|
||||
*|*:read-write > textarea:read-only {
|
||||
-moz-user-select: all;
|
||||
-moz-user-input: auto !important;
|
||||
-moz-user-focus: none !important;
|
||||
}
|
||||
|
||||
/* XXX Still need a better way of blocking other events to these widgets */
|
||||
select:-moz-read-write,
|
||||
*|*:-moz-read-write > input:disabled,
|
||||
*|*:-moz-read-write > input[type="checkbox"],
|
||||
*|*:-moz-read-write > input[type="radio"],
|
||||
*|*:-moz-read-write > input[type="file"],
|
||||
select:read-write,
|
||||
*|*:read-write > input:disabled,
|
||||
*|*:read-write > input[type="checkbox"],
|
||||
*|*:read-write > input[type="radio"],
|
||||
*|*:read-write > input[type="file"],
|
||||
input[contenteditable="true"]:disabled,
|
||||
input[contenteditable="true"][type="checkbox"],
|
||||
input[contenteditable="true"][type="radio"],
|
||||
|
|
@ -81,21 +81,21 @@ input[contenteditable="true"][type="file"] {
|
|||
}
|
||||
|
||||
/* emulation of non-standard HTML <marquee> tag */
|
||||
marquee:-moz-read-write {
|
||||
marquee:read-write {
|
||||
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-horizontal-editable');
|
||||
}
|
||||
|
||||
marquee[direction="up"]:-moz-read-write, marquee[direction="down"]:-moz-read-write {
|
||||
marquee[direction="up"]:read-write, marquee[direction="down"]:read-write {
|
||||
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-vertical-editable');
|
||||
}
|
||||
|
||||
*|*:-moz-read-write > input[type="hidden"],
|
||||
*|*:read-write > input[type="hidden"],
|
||||
input[contenteditable="true"][type="hidden"] {
|
||||
border: 1px solid black !important;
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
label:-moz-read-write {
|
||||
label:read-write {
|
||||
-moz-user-select: all;
|
||||
}
|
||||
|
||||
|
|
@ -103,7 +103,7 @@ label:-moz-read-write {
|
|||
-moz-user-select: text;
|
||||
}
|
||||
|
||||
option:-moz-read-write {
|
||||
option:read-write {
|
||||
-moz-user-select: text;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue