mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
Merge remote-tracking branch 'origin/tracking' into custom
This commit is contained in:
commit
9175504ffc
25 changed files with 75 additions and 75 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<html class="reftest-wait"><style>
|
||||
.c12:-moz-read-write, *|* { vertical-align: -moz-calc(30060px 36%); display: inline; -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight; border-collapse: collapse; speak: normal; width: 2.88999223464x+18mozmm; -moz-outline-radius: -219px/6827px; }
|
||||
.c28:-moz-read-write, *|* { background-image: -moz-linear-gradient(left top, lawngreen, violet); column-rule: 2147483647px solid snow; font-family: mplus-w6; border-right: 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px solid hsla(56224, 127%, 11074%, 3.1529590536x+18); font: Arial, sans-serif; -moz-transform: matrix(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 54, 70.084369622, 2600244143.97, 225, 200); animation: step-right 7.82973832672x+18s forwards;.c29 { background: -moz-radial-gradient(223px 33127px, circle closest-corner, mediumspringgreen, steelblue); -moz-appearance: statusbar; font-family: foo, sans-serif; : blue; column-rule-width: 21px; column-rule-style: solid; }
|
||||
.c12:read-write, *|* { vertical-align: -moz-calc(30060px 36%); display: inline; -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight; border-collapse: collapse; speak: normal; width: 2.88999223464x+18mozmm; -moz-outline-radius: -219px/6827px; }
|
||||
.c28:read-write, *|* { background-image: -moz-linear-gradient(left top, lawngreen, violet); column-rule: 2147483647px solid snow; font-family: mplus-w6; border-right: 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px solid hsla(56224, 127%, 11074%, 3.1529590536x+18); font: Arial, sans-serif; -moz-transform: matrix(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 54, 70.084369622, 2600244143.97, 225, 200); animation: step-right 7.82973832672x+18s forwards;.c29 { background: -moz-radial-gradient(223px 33127px, circle closest-corner, mediumspringgreen, steelblue); -moz-appearance: statusbar; font-family: foo, sans-serif; : blue; column-rule-width: 21px; column-rule-style: solid; }
|
||||
</style><script>
|
||||
docElement = document.documentElement;
|
||||
docElement.contentEditable = "true";
|
||||
|
|
|
|||
|
|
@ -992,7 +992,7 @@ nsFrameSelection::MoveCaret(nsDirection aDirection,
|
|||
(focusNode->IsEditable() ||
|
||||
(focusNode->IsElement() &&
|
||||
focusNode->AsElement()->State().
|
||||
HasState(NS_EVENT_STATE_MOZ_READWRITE)))) {
|
||||
HasState(NS_EVENT_STATE_READWRITE)))) {
|
||||
// If caret moves in editor, it should cause scrolling even if it's in
|
||||
// overflow: hidden;.
|
||||
scrollFlags |= Selection::SCROLL_OVERFLOW_HIDDEN;
|
||||
|
|
|
|||
|
|
@ -12,11 +12,11 @@
|
|||
<style type="text/css">
|
||||
body,html { color:black; background:white; font-size:16px; padding:0; margin:0; }
|
||||
|
||||
#t1:-moz-read-only { display:none; }
|
||||
#t1:-moz-read-write { display:block; }
|
||||
#t1:read-only { display:none; }
|
||||
#t1:read-write { display:block; }
|
||||
|
||||
#t2:-moz-read-write { display:none; }
|
||||
#t2:-moz-read-only { display:block; }
|
||||
#t2:read-write { display:none; }
|
||||
#t2:read-only { display:block; }
|
||||
|
||||
#t3:disabled { display:none; }
|
||||
#t3:enabled { display:block; }
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -254,10 +254,10 @@ CSS_STATE_PSEUDO_CLASS(outOfRange, ":out-of-range", 0, "", NS_EVENT_STATE_OUTOFR
|
|||
CSS_STATE_PSEUDO_CLASS(defaultPseudo, ":default", 0, "", NS_EVENT_STATE_DEFAULT)
|
||||
CSS_STATE_PSEUDO_CLASS(placeholderShown, ":placeholder-shown", 0, "",
|
||||
NS_EVENT_STATE_PLACEHOLDERSHOWN)
|
||||
CSS_STATE_PSEUDO_CLASS(mozReadOnly, ":-moz-read-only", 0, "",
|
||||
NS_EVENT_STATE_MOZ_READONLY)
|
||||
CSS_STATE_PSEUDO_CLASS(mozReadWrite, ":-moz-read-write", 0, "",
|
||||
NS_EVENT_STATE_MOZ_READWRITE)
|
||||
CSS_STATE_PSEUDO_CLASS(readOnly, ":read-only", 0, "",
|
||||
NS_EVENT_STATE_READONLY)
|
||||
CSS_STATE_PSEUDO_CLASS(readWrite, ":read-write", 0, "",
|
||||
NS_EVENT_STATE_READWRITE)
|
||||
CSS_STATE_PSEUDO_CLASS(mozSubmitInvalid, ":-moz-submit-invalid", 0, "",
|
||||
NS_EVENT_STATE_MOZ_SUBMITINVALID)
|
||||
CSS_STATE_PSEUDO_CLASS(mozUIInvalid, ":-moz-ui-invalid", 0, "",
|
||||
|
|
|
|||
|
|
@ -217,8 +217,8 @@ textarea::placeholder {
|
|||
white-space: pre-wrap !important;
|
||||
}
|
||||
|
||||
input:-moz-read-write,
|
||||
textarea:-moz-read-write {
|
||||
input:read-write,
|
||||
textarea:read-write {
|
||||
-moz-user-modify: read-write !important;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue