зеркало из https://github.com/mozilla/pjs.git
Bug 256003. Remove -moz-user-focus from html.css, forms.css, ua.css. It's been deprecated from use in HTML. Patch by Martijn Wargers. r=bryner, sr=roc
This commit is contained in:
Родитель
b45db22f66
Коммит
e20fafca39
|
@ -427,7 +427,7 @@ public:
|
|||
* something like nsGenericHTMLElement::SetElementFocus(). This method is
|
||||
* the end result, the point where the content finds out it has been focused.
|
||||
*
|
||||
* All content elements are potentially focusable (according to CSS3).
|
||||
* All content elements are potentially focusable.
|
||||
*
|
||||
* @param aPresContext the pres context
|
||||
* @see nsGenericHTMLElement::SetElementFocus()
|
||||
|
@ -442,7 +442,7 @@ public:
|
|||
* something like nsGenericHTMLElement::SetElementFocus(). This method is
|
||||
* the end result, the point where the content finds out it has been focused.
|
||||
*
|
||||
* All content elements are potentially focusable (according to CSS3).
|
||||
* All content elements are potentially focusable.
|
||||
*
|
||||
* @param aPresContext the pres context
|
||||
* @see nsGenericHTMLElement::SetElementFocus()
|
||||
|
|
|
@ -95,7 +95,6 @@ input {
|
|||
word-spacing: normal;
|
||||
letter-spacing: normal;
|
||||
cursor: text;
|
||||
-moz-user-focus: normal;
|
||||
-moz-binding: url("resource://gre/res/builtin/platformHTMLBindings.xml#inputFields");
|
||||
text-indent: 0;
|
||||
}
|
||||
|
@ -116,7 +115,6 @@ textarea {
|
|||
letter-spacing: normal;
|
||||
vertical-align: text-bottom;
|
||||
cursor: text;
|
||||
-moz-user-focus: normal;
|
||||
-moz-binding: url("resource://gre/res/builtin/platformHTMLBindings.xml#textAreas");
|
||||
-moz-appearance: textfield;
|
||||
text-indent: 0;
|
||||
|
@ -128,7 +126,6 @@ textarea > scrollbar {
|
|||
|
||||
textarea > .anonymous-div,
|
||||
input > .anonymous-div {
|
||||
-moz-user-focus: none;
|
||||
overflow: auto;
|
||||
border: 0px !important;
|
||||
padding: 0px;
|
||||
|
@ -150,7 +147,6 @@ select {
|
|||
cursor: default;
|
||||
-moz-box-sizing: border-box;
|
||||
-moz-user-select: none;
|
||||
-moz-user-focus: normal;
|
||||
-moz-appearance: menulist;
|
||||
border-width: 2px;
|
||||
border-style: inset;
|
||||
|
@ -181,8 +177,6 @@ select > input[type="button"] {
|
|||
width: 12px;
|
||||
height: 12px;
|
||||
white-space: nowrap;
|
||||
-moz-user-focus: none;
|
||||
|
||||
position: static !important;
|
||||
background-image: url("arrow.gif") !important;
|
||||
background-repeat: no-repeat !important;
|
||||
|
@ -216,7 +210,6 @@ option {
|
|||
min-height: 1em;
|
||||
line-height: normal !important;
|
||||
-moz-user-select: none;
|
||||
-moz-user-focus: none;
|
||||
text-indent: 0;
|
||||
}
|
||||
|
||||
|
@ -237,7 +230,6 @@ optgroup {
|
|||
font-weight: bold;
|
||||
font-size: inherit;
|
||||
-moz-user-select: none;
|
||||
-moz-user-focus: none;
|
||||
text-indent: 0;
|
||||
}
|
||||
|
||||
|
@ -268,7 +260,6 @@ option[disabled],
|
|||
optgroup[disabled],
|
||||
select[disabled] {
|
||||
-moz-user-input: disabled;
|
||||
-moz-user-focus: ignore;
|
||||
color: GrayText;
|
||||
background-color: ThreeDFace;
|
||||
cursor: default;
|
||||
|
@ -286,7 +277,6 @@ input[type="hidden"] {
|
|||
padding: 0;
|
||||
border: 0;
|
||||
cursor: auto;
|
||||
-moz-user-focus: ignore;
|
||||
-moz-binding: none;
|
||||
}
|
||||
|
||||
|
@ -432,7 +422,6 @@ input[type="submit"] {
|
|||
cursor: default;
|
||||
-moz-box-sizing: border-box;
|
||||
-moz-user-select: none;
|
||||
-moz-user-focus: normal;
|
||||
-moz-binding: none;
|
||||
}
|
||||
|
||||
|
@ -526,7 +515,6 @@ input[type="file"] > input[type="text"] {
|
|||
|
||||
@media print {
|
||||
input, textarea, select, button {
|
||||
-moz-user-focus: none !important;
|
||||
-moz-user-input: none !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -397,11 +397,6 @@ hr[size="1"] {
|
|||
img[usemap], object[usemap] {
|
||||
cursor: pointer;
|
||||
color: blue;
|
||||
-moz-user-focus: normal;
|
||||
}
|
||||
|
||||
object, embed, applet {
|
||||
-moz-user-focus: normal;
|
||||
}
|
||||
|
||||
frameset {
|
||||
|
@ -411,13 +406,8 @@ frameset {
|
|||
float: none ! important;
|
||||
}
|
||||
|
||||
frame {
|
||||
-moz-user-focus: normal;
|
||||
}
|
||||
|
||||
iframe {
|
||||
border: 2px inset;
|
||||
-moz-user-focus: normal;
|
||||
}
|
||||
|
||||
noframes {
|
||||
|
@ -474,11 +464,6 @@ marquee[height*="7"], marquee[height*="8"], marquee[height*="9"] {
|
|||
@media print {
|
||||
|
||||
marquee { -moz-binding: none; }
|
||||
|
||||
*|*:-moz-any-link img, img[usemap], object[usemap],
|
||||
img[usemap], object[usemap], object, embed, applet, iframe {
|
||||
-moz-user-focus: none !important;
|
||||
}
|
||||
|
||||
/* XXX this should not be necessary, we should be stopping blinking
|
||||
of any kind in print preview, not just the <blink> element */
|
||||
|
|
|
@ -117,7 +117,6 @@
|
|||
|
||||
*|*:-moz-any-link {
|
||||
cursor: pointer;
|
||||
-moz-user-focus: normal;
|
||||
}
|
||||
|
||||
*|*:-moz-any-link:focus {
|
||||
|
@ -193,10 +192,6 @@
|
|||
background-color: #737373 !important;
|
||||
}
|
||||
|
||||
*|*:-moz-any-link {
|
||||
-moz-user-focus: none !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* XML parse error reporting */
|
||||
|
|
Загрузка…
Ссылка в новой задаче