mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert
This commit is contained in:
parent
1958bd71d6
commit
a55ebc12a4
@ -1,6 +1,6 @@
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:mathml="http://www.w3.org/1998/Math/MathML">
|
||||
<box>
|
||||
<box style="background: -moz-initial;" id="f">
|
||||
<box style="background: initial;" id="f">
|
||||
<box style="margin-top: -9999999px;"/>
|
||||
</box>
|
||||
<mathml:divergence>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body style="margin: -moz-initial;"
|
||||
<body style="margin: initial;"
|
||||
contenteditable="true"
|
||||
onload="document.execCommand('outdent', false, null);"></body>
|
||||
</html>
|
||||
|
@ -16,7 +16,7 @@
|
||||
58646</a></li>
|
||||
<li>
|
||||
6/18/2002: David Baron (dbaron@dbaron.org): corrected support
|
||||
for 'inherit' and '-moz-initial' (didn't test with code, though),
|
||||
for 'inherit' and 'initial' (didn't test with code, though),
|
||||
and explained what the final boolean in CheckPropertyData is for.
|
||||
</li>
|
||||
<li>
|
||||
@ -425,7 +425,7 @@ to the style struct:<br>
|
||||
ui->mResizer = parentUI->mResizer;
|
||||
}
|
||||
|
||||
<b>// force-broken-image-icons: integer, inherit, -moz-initial
|
||||
<b>// force-broken-image-icons: integer, inherit, initial
|
||||
if (eCSSUnit_Integer == uiData.mForceBrokenImageIcons.GetUnit()) {
|
||||
ui->mForceBrokenImageIcons = uiData.mForceBrokenImageIcons.GetIntValue();
|
||||
} else if (eCSSUnit_Inherit == uiData.mForceBrokenImageIcons.GetUnit()) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
<html style="width: 1px;" class="reftest-wait"><head style="float: left; position: fixed; display: -moz-initial;" id="head">
|
||||
<html style="width: 1px;" class="reftest-wait"><head style="float: left; position: fixed; display: initial;" id="head">
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
|
||||
|
||||
@ -61,7 +61,7 @@ function foo()
|
||||
tableRow.style.display = "list-item";
|
||||
br3.style.width = "auto";
|
||||
br2.style.clear = "none";
|
||||
head.style.display = "-moz-initial"; // doesn't seem to crash when this is "block"!
|
||||
head.style.display = "initial"; // doesn't seem to crash when this is "block"!
|
||||
docElem.style.width = "1px";
|
||||
|
||||
document.documentElement.removeAttribute("class");
|
||||
@ -78,7 +78,7 @@ function foo()
|
||||
<br style="clear: none;" id="br2">
|
||||
<br style="height: auto; clear: both; width: auto;" id="br3">
|
||||
<br style="position: static;" id="br4">
|
||||
<br style="background: yellow none repeat scroll 0% 0%; background-clip: -moz-initial; background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; display: inline;" id="br5">
|
||||
<br style="background: yellow none repeat scroll 0% 0%; background-clip: initial; background-origin: initial; -moz-background-inline-policy: initial; display: inline;" id="br5">
|
||||
<br style="width: 1px; visibility: visible;" id="br6">
|
||||
<br style="color: black; width: 2px; display: table-cell;" id="br7">
|
||||
<table border="1"><tbody><tr style="display: list-item;" id="tableRow"><td>x</td></tr></tbody></table>
|
||||
|
@ -16,7 +16,7 @@ div#above {
|
||||
height: 40px;
|
||||
border-width: 10px;
|
||||
border-style: solid;
|
||||
border-color: -moz-initial;
|
||||
border-color: initial;
|
||||
color: rgba(0,0,0,0);
|
||||
background-image: url("data:image/gif;base64,\
|
||||
R0lGODlhAQABAPAAAACAAAAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==");
|
||||
|
@ -2,7 +2,7 @@
|
||||
<title>Test for privacy restrictions on :visited (Bug 147777)</title>
|
||||
<style type="text/css">
|
||||
|
||||
a { text-decoration: none; color: -moz-initial; display: block; margin: 2px; }
|
||||
a { text-decoration: none; color: initial; display: block; margin: 2px; }
|
||||
:link { border: medium solid olive; border-top: dashed thin blue; }
|
||||
:visited { border: thick dotted fuchsia; border-right: thin double silver; }
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
div.table { display: table; border-collapse: collapse }
|
||||
div.row { display: table-row }
|
||||
a { text-decoration: none; color: -moz-initial; display: table-cell }
|
||||
a { text-decoration: none; color: initial; display: table-cell }
|
||||
|
||||
.row1 :link { border: medium solid blue }
|
||||
.row1 :visited { border: thick dashed fuchsia }
|
||||
|
@ -2,7 +2,7 @@
|
||||
<title>Test for privacy restrictions on :visited (Bug 147777)</title>
|
||||
<style type="text/css">
|
||||
|
||||
a { text-decoration: none; color: -moz-initial; }
|
||||
a { text-decoration: none; color: initial; }
|
||||
:link { background: rgba(179, 25, 87, 0.72); }
|
||||
:visited { background: rgba(28, 215, 119, 0.31); }
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
<title>Test for privacy restrictions on :visited (Bug 147777)</title>
|
||||
<style type="text/css">
|
||||
|
||||
a { text-decoration: none; color: -moz-initial; display: block; margin: 8px; -moz-column-count: 2; }
|
||||
a { text-decoration: none; color: initial; display: block; margin: 8px; -moz-column-count: 2; }
|
||||
:link { -moz-column-rule: medium dotted blue; }
|
||||
:visited { -moz-column-rule: thick dashed silver; }
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE HTML>
|
||||
<title>Test for privacy restrictions on :visited (Bug 147777)</title>
|
||||
<style type="text/css">
|
||||
* { color: -moz-initial; text-decoration: none }
|
||||
* { color: initial; text-decoration: none }
|
||||
:link:before { content: "link"; }
|
||||
:visited:before { content: "visited"; }
|
||||
</style>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE HTML>
|
||||
<title>Test for privacy restrictions on :visited (Bug 147777)</title>
|
||||
<style type="text/css">
|
||||
* { color: -moz-initial; text-decoration: none }
|
||||
* { color: initial; text-decoration: none }
|
||||
:link:before { content: "link"; }
|
||||
:visited:before { content: "visited"; }
|
||||
</style>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<title>Test for privacy restrictions on :visited (Bug 147777)</title>
|
||||
<style type="text/css">
|
||||
|
||||
a { text-decoration: none; color: -moz-initial; display: block; margin: 8px; }
|
||||
a { text-decoration: none; color: initial; display: block; margin: 8px; }
|
||||
:link { outline: medium dotted blue; }
|
||||
:visited { outline: thick dashed silver; }
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
line-height: 10px;
|
||||
|
||||
/* Any children whose align-self is 'auto' (or unspecified, or
|
||||
-moz-initial) will end up taking this value from us: */
|
||||
initial) will end up taking this value from us: */
|
||||
align-items: center;
|
||||
|
||||
/* Any children whose align-self is 'inherit' will end up
|
||||
@ -65,7 +65,7 @@
|
||||
}
|
||||
.initial {
|
||||
background: aqua;
|
||||
align-self: -moz-initial;
|
||||
align-self: initial;
|
||||
}
|
||||
.inherit {
|
||||
background: violet;
|
||||
|
@ -17,7 +17,7 @@
|
||||
line-height: 10px;
|
||||
|
||||
/* Any children whose align-self is 'auto' (or unspecified, or
|
||||
-moz-initial) will end up taking this value from us: */
|
||||
initial) will end up taking this value from us: */
|
||||
align-items: center;
|
||||
|
||||
/* Any children whose align-self is 'inherit' will end up
|
||||
@ -67,7 +67,7 @@
|
||||
}
|
||||
.initial {
|
||||
background: aqua;
|
||||
align-self: -moz-initial;
|
||||
align-self: initial;
|
||||
}
|
||||
.inherit {
|
||||
background: violet;
|
||||
|
@ -60,7 +60,7 @@
|
||||
}
|
||||
.initial {
|
||||
background: aqua;
|
||||
align-self: -moz-initial;
|
||||
align-self: initial;
|
||||
}
|
||||
.inherit {
|
||||
background: violet;
|
||||
|
@ -16,7 +16,7 @@
|
||||
font-size: 10px;
|
||||
|
||||
/* Any children whose align-self is 'auto' (or unspecified, or
|
||||
-moz-initial) will end up taking this value from us: */
|
||||
initial) will end up taking this value from us: */
|
||||
align-items: center;
|
||||
|
||||
/* Any children whose align-self is 'inherit' will end up
|
||||
@ -59,7 +59,7 @@
|
||||
}
|
||||
.initial {
|
||||
background: aqua;
|
||||
align-self: -moz-initial;
|
||||
align-self: initial;
|
||||
}
|
||||
.inherit {
|
||||
background: violet;
|
||||
|
@ -19,7 +19,7 @@
|
||||
font-size: 10px;
|
||||
|
||||
/* Any children whose align-self is 'auto' (or unspecified, or
|
||||
-moz-initial) will end up taking this value from us: */
|
||||
initial) will end up taking this value from us: */
|
||||
align-items: center;
|
||||
|
||||
/* Any children whose align-self is 'inherit' will end up
|
||||
@ -62,7 +62,7 @@
|
||||
}
|
||||
.initial {
|
||||
background: aqua;
|
||||
align-self: -moz-initial;
|
||||
align-self: initial;
|
||||
}
|
||||
.inherit {
|
||||
background: violet;
|
||||
|
@ -44,7 +44,7 @@ li > ol:-moz-first-node {
|
||||
*/
|
||||
|
||||
li::-moz-list-bullet {
|
||||
font-size: -moz-initial;
|
||||
font-size: initial;
|
||||
}
|
||||
|
||||
|
||||
@ -54,10 +54,10 @@ table {
|
||||
line-height: normal;
|
||||
|
||||
/* Quirk: cut off all font inheritance in tables except for family. */
|
||||
font-size: -moz-initial;
|
||||
font-weight: -moz-initial;
|
||||
font-style: -moz-initial;
|
||||
font-variant: -moz-initial;
|
||||
font-size: initial;
|
||||
font-weight: initial;
|
||||
font-style: initial;
|
||||
font-variant: initial;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -42,7 +42,7 @@ function initial_font_family_is_sans_serif()
|
||||
// The initial value of 'font-family' might be 'serif' or
|
||||
// 'sans-serif'.
|
||||
var div = document.createElement("div");
|
||||
div.setAttribute("style", "font: -moz-initial");
|
||||
div.setAttribute("style", "font: initial");
|
||||
return getComputedStyle(div, "").fontFamily == "sans-serif";
|
||||
}
|
||||
var gInitialFontFamilyIsSansSerif = initial_font_family_is_sans_serif();
|
||||
|
@ -102,7 +102,7 @@ var tests = [
|
||||
blink: null, line: null, color: "#ff0000", style: null,
|
||||
expectedValue: "", expectedCSSValue: null },
|
||||
{ decoration: "line-through",
|
||||
blink: null, line: null, color: "-moz-initial", style: null,
|
||||
blink: null, line: null, color: "initial", style: null,
|
||||
expectedValue: "line-through", expectedCSSValue: "line-through" },
|
||||
{ decoration: "blink underline",
|
||||
blink: null, line: null, color: "currentColor", style: null,
|
||||
@ -134,7 +134,7 @@ var tests = [
|
||||
expectedValue: "underline overline line-through blink",
|
||||
expectedCSSValue: "underline overline line-through blink" },
|
||||
{ decoration: "line-through overline underline",
|
||||
blink: null, line: null, color: null, style: "-moz-initial",
|
||||
blink: null, line: null, color: null, style: "initial",
|
||||
expectedValue: "underline overline line-through",
|
||||
expectedCSSValue: "underline overline line-through" }
|
||||
];
|
||||
|
@ -35,9 +35,9 @@ var gProps = [
|
||||
[ "border-left-width", "border-right-width", "-moz-border-start-width", "-moz-border-end-width" ],
|
||||
];
|
||||
|
||||
var gLengthValues = [ "inherit", "-moz-initial", "2px", "1em" ];
|
||||
var gColorValues = [ "inherit", "-moz-initial", "currentColor", "green" ];
|
||||
var gStyleValues = [ "inherit", "-moz-initial", "double", "dashed" ];
|
||||
var gLengthValues = [ "inherit", "initial", "2px", "1em" ];
|
||||
var gColorValues = [ "inherit", "initial", "currentColor", "green" ];
|
||||
var gStyleValues = [ "inherit", "initial", "double", "dashed" ];
|
||||
|
||||
function values_for(set) {
|
||||
var values;
|
||||
@ -62,7 +62,7 @@ for each (var set in gProps) {
|
||||
s.setProperty("direction", dir, "");
|
||||
s.setProperty(pvisual, val, "");
|
||||
var v1 = c.getPropertyValue(pvisual);
|
||||
if (val != "-moz-initial" && val != "currentColor")
|
||||
if (val != "initial" && val != "currentColor")
|
||||
isnot(v1, v0, "setProperty set the property " + pvisual + ": " + val);
|
||||
s.removeProperty(pvisual);
|
||||
is(c.getPropertyValue(pvisual), v0, "removeProperty worked for " + pvisual);
|
||||
|
@ -40,7 +40,7 @@ var gDeclaration = gElement.style;
|
||||
/*
|
||||
* This lists properties where garbage identifiers are allowed at the
|
||||
* end, with values in property_database.js that are exceptions that
|
||||
* should be tested anyway. "inherit" and "-moz-initial" are always
|
||||
* should be tested anyway. "inherit" and "initial" are always
|
||||
* tested
|
||||
*/
|
||||
var gAllowsExtra = {
|
||||
@ -82,7 +82,7 @@ function test_property(property)
|
||||
|
||||
function test_value(value) {
|
||||
if (property in gAllowsExtra &&
|
||||
value != "inherit" && value != "-moz-initial" &&
|
||||
value != "inherit" && value != "initial" &&
|
||||
!(value in gAllowsExtra[property])) {
|
||||
return;
|
||||
}
|
||||
@ -108,7 +108,7 @@ function test_property(property)
|
||||
|
||||
var idx;
|
||||
test_value("inherit");
|
||||
test_value("-moz-initial");
|
||||
test_value("initial");
|
||||
for (idx in info.initial_values)
|
||||
test_value(info.initial_values[idx]);
|
||||
for (idx in info.other_values)
|
||||
|
@ -3,7 +3,7 @@
|
||||
<!--
|
||||
-->
|
||||
<head>
|
||||
<title>Test for computation of CSS '-moz-initial'</title>
|
||||
<title>Test for computation of CSS 'initial'</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="property_database.js"></script>
|
||||
<style type="text/css" id="stylesheet"></style>
|
||||
@ -36,7 +36,7 @@
|
||||
<pre id="test">
|
||||
<script class="testbody" type="text/javascript">
|
||||
|
||||
/** Test for computation of CSS '-moz-initial' **/
|
||||
/** Test for computation of CSS 'initial' **/
|
||||
|
||||
var gBrokenInitial = {
|
||||
};
|
||||
@ -105,15 +105,15 @@ function test_property(property)
|
||||
// the initial value from the luck of default-initialization.
|
||||
// This means that it's important that we set the prereqs on
|
||||
// gRule1.style rather than on gElement.style.
|
||||
gRule2.style.setProperty(property, "-moz-initial", "");
|
||||
gRule2.style.setProperty(property, "initial", "");
|
||||
var initial_val_computed_n = get_computed_value(getComputedStyle(gElementN, ""), property);
|
||||
var initial_val_computed_f = get_computed_value(getComputedStyle(gElementF, ""), property);
|
||||
(xfail_initial(property) ? todo_is : is)(
|
||||
initial_val_computed_n, initial_computed_n,
|
||||
"-moz-initial should cause initial value for '" + property + "'");
|
||||
"initial should cause initial value for '" + property + "'");
|
||||
(xfail_initial(property) ? todo_is : is)(
|
||||
initial_val_computed_f, initial_computed_f,
|
||||
"-moz-initial should cause initial value for '" + property + "'");
|
||||
"initial should cause initial value for '" + property + "'");
|
||||
gRule1.style.removeProperty(property);
|
||||
gRule2.style.removeProperty(property);
|
||||
|
||||
|
@ -197,7 +197,7 @@ function run() {
|
||||
}
|
||||
|
||||
var content_div = document.getElementById("content");
|
||||
content_div.style.font = "-moz-initial";
|
||||
content_div.style.font = "initial";
|
||||
var em_size =
|
||||
getComputedStyle(content_div, "").fontSize.match(/^(\d+)px$/)[1];
|
||||
|
||||
|
@ -57,7 +57,7 @@ function run() {
|
||||
}
|
||||
|
||||
var content_div = document.getElementById("content");
|
||||
content_div.style.font = "-moz-initial";
|
||||
content_div.style.font = "initial";
|
||||
var em_size =
|
||||
getComputedStyle(content_div, "").fontSize.match(/^(\d+)px$/)[1];
|
||||
|
||||
|
@ -26,7 +26,7 @@ function run() {
|
||||
var subroot = subdoc.documentElement;
|
||||
|
||||
var content_div = document.getElementById("content");
|
||||
content_div.style.font = "-moz-initial";
|
||||
content_div.style.font = "initial";
|
||||
var em_size =
|
||||
getComputedStyle(content_div, "").fontSize.match(/^(\d+)px$/)[1];
|
||||
|
||||
|
@ -35,7 +35,7 @@ var body = document.body;
|
||||
var p = document.getElementById("display");
|
||||
var p2 = document.getElementById("display2");
|
||||
|
||||
html.style.font = "-moz-initial";
|
||||
html.style.font = "initial";
|
||||
|
||||
var defaultFontSize = fs(html);
|
||||
|
||||
@ -48,9 +48,9 @@ var defaultFontSize = fs(html);
|
||||
html.style.fontSize = "3rem";
|
||||
is(fs(html), 3 * defaultFontSize,
|
||||
"3rem on root should triple root's font size");
|
||||
body.style.font = "-moz-initial";
|
||||
body.style.font = "initial";
|
||||
is(fs(body), defaultFontSize,
|
||||
"-moz-initial should produce initial font size");
|
||||
"initial should produce initial font size");
|
||||
body.style.fontSize = "1em";
|
||||
is(fs(body), 3 * defaultFontSize, "1em should inherit from parent");
|
||||
body.style.fontSize = "200%";
|
||||
@ -61,7 +61,7 @@ p.style.font = "inherit";
|
||||
is(fs(p), 6 * defaultFontSize, "inherit should inherit from parent");
|
||||
p2.style.fontSize = "2rem";
|
||||
is(fs(p2), 6 * defaultFontSize, "2rem should double root");
|
||||
body.style.font = "-moz-initial";
|
||||
body.style.font = "initial";
|
||||
is(fs(p), defaultFontSize, "inherit should inherit from parent");
|
||||
is(fs(p2), 6 * defaultFontSize, "2rem should double root");
|
||||
body.style.fontSize = "5em";
|
||||
|
@ -40,7 +40,7 @@ function myrand()
|
||||
var values = {
|
||||
"transition-duration":
|
||||
[
|
||||
{ lone: true, specified: "-moz-initial" },
|
||||
{ lone: true, specified: "initial" },
|
||||
{ lone: false, specified: "2s" },
|
||||
{ lone: false, specified: "0s" },
|
||||
{ lone: false, specified: "430ms" },
|
||||
@ -48,7 +48,7 @@ var values = {
|
||||
],
|
||||
"transition-property":
|
||||
[
|
||||
{ lone: true, specified: "-moz-initial" },
|
||||
{ lone: true, specified: "initial" },
|
||||
{ lone: true, specified: "none" },
|
||||
{ lone: true, specified: "all" },
|
||||
{ lone: false, specified: "color" },
|
||||
@ -59,7 +59,7 @@ var values = {
|
||||
],
|
||||
"transition-timing-function":
|
||||
[
|
||||
{ lone: true, specified: "-moz-initial" },
|
||||
{ lone: true, specified: "initial" },
|
||||
{ lone: false, specified: "linear" },
|
||||
{ lone: false, specified: "ease" },
|
||||
{ lone: false, specified: "ease-in-out" },
|
||||
@ -67,7 +67,7 @@ var values = {
|
||||
],
|
||||
"transition-delay":
|
||||
[
|
||||
{ lone: true, specified: "-moz-initial" },
|
||||
{ lone: true, specified: "initial" },
|
||||
{ lone: false, specified: "2s" },
|
||||
{ lone: false, specified: "0s" },
|
||||
{ lone: false, specified: "430ms" },
|
||||
|
@ -638,7 +638,7 @@ function test_border_color_transition(prop) {
|
||||
is(cs.getPropertyValue(prop), "rgb(96, 48, 32)",
|
||||
"color-valued property " + prop + ": interpolation of initial value");
|
||||
|
||||
check_distance(prop, "rgb(128, 64, 0)", "rgb(96, 48, 32)", "-moz-initial");
|
||||
check_distance(prop, "rgb(128, 64, 0)", "rgb(96, 48, 32)", "initial");
|
||||
|
||||
div.style.removeProperty("color");
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=375363
|
||||
-->
|
||||
<head>
|
||||
<title>Test for cloning of CSS property values (including 'inherit' and '-moz-initial')</title>
|
||||
<title>Test for cloning of CSS property values (including 'inherit' and 'initial')</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="property_database.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
@ -14,7 +14,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=375363
|
||||
<pre id="test">
|
||||
<script class="testbody" type="text/javascript">
|
||||
|
||||
/** Test for cloning of CSS property values (including 'inherit' and '-moz-initial') **/
|
||||
/** Test for cloning of CSS property values (including 'inherit' and 'initial') **/
|
||||
var test_queue = [];
|
||||
var iframe = document.getElementById("iframe");
|
||||
|
||||
@ -27,7 +27,7 @@ for (var prop in gCSSProperties) {
|
||||
inherited_value: info.initial_values[0] });
|
||||
test_queue.push({ prop: prop, value: "inherit",
|
||||
inherited_value: info.other_values[0] });
|
||||
test_queue.push({ prop: prop, value: "-moz-initial" });
|
||||
test_queue.push({ prop: prop, value: "initial" });
|
||||
for (var idx in info.initial_values) {
|
||||
test_queue.push({ prop: prop, value: info.initial_values[idx] });
|
||||
}
|
||||
|
@ -149,7 +149,7 @@
|
||||
}
|
||||
|
||||
#form-helper-suggestions .form-helper-suggestions-label:first-child {
|
||||
-moz-padding-start: -moz-initial; /* the arrowscrollbox creates enough left padding */
|
||||
-moz-padding-start: initial; /* the arrowscrollbox creates enough left padding */
|
||||
-moz-border-start: none;
|
||||
}
|
||||
|
||||
|
@ -149,7 +149,7 @@
|
||||
}
|
||||
|
||||
#form-helper-suggestions .form-helper-suggestions-label:first-child {
|
||||
-moz-padding-start: -moz-initial; /* the arrowscrollbox creates enough left padding */
|
||||
-moz-padding-start: initial; /* the arrowscrollbox creates enough left padding */
|
||||
-moz-border-start: none;
|
||||
}
|
||||
|
||||
|
@ -44,10 +44,10 @@ textbox {
|
||||
textbox:not([type="number"]) {
|
||||
min-height: @textbox_height@;
|
||||
border: @border_width_small@ solid @color_button_border@;
|
||||
-moz-border-top-colors: -moz-initial;
|
||||
-moz-border-right-colors: -moz-initial;
|
||||
-moz-border-bottom-colors: -moz-initial;
|
||||
-moz-border-left-colors: -moz-initial;
|
||||
-moz-border-top-colors: initial;
|
||||
-moz-border-right-colors: initial;
|
||||
-moz-border-bottom-colors: initial;
|
||||
-moz-border-left-colors: initial;
|
||||
}
|
||||
|
||||
textbox[isempty="true"] {
|
||||
@ -144,7 +144,7 @@ button:not([disabled])[checked="true"] {
|
||||
|
||||
/* Override GTK2 system setting */
|
||||
.button-icon {
|
||||
display: -moz-initial !important;
|
||||
display: initial !important;
|
||||
}
|
||||
|
||||
/* spinbuttons ------------------------------------------------------------- */
|
||||
@ -155,9 +155,9 @@ spinbuttons {
|
||||
.numberbox-input-box {
|
||||
border: @border_width_small@ solid @color_button_border@;
|
||||
border-right: 0 solid transparent;
|
||||
-moz-border-top-colors: -moz-initial;
|
||||
-moz-border-bottom-colors: -moz-initial;
|
||||
-moz-border-left-colors: -moz-initial;
|
||||
-moz-border-top-colors: initial;
|
||||
-moz-border-bottom-colors: initial;
|
||||
-moz-border-left-colors: initial;
|
||||
}
|
||||
|
||||
.numberbox-input-box:-moz-locale-dir(rtl) {
|
||||
@ -331,10 +331,10 @@ checkbox:focus > .checkbox-label-center-box > .checkbox-label-box {
|
||||
|
||||
.checkbox-check {
|
||||
border: 2px transparent;
|
||||
-moz-border-top-colors: -moz-initial;
|
||||
-moz-border-right-colors: -moz-initial;
|
||||
-moz-border-bottom-colors: -moz-initial;
|
||||
-moz-border-left-colors: -moz-initial;
|
||||
-moz-border-top-colors: initial;
|
||||
-moz-border-right-colors: initial;
|
||||
-moz-border-bottom-colors: initial;
|
||||
-moz-border-left-colors: initial;
|
||||
width: 46px;
|
||||
height: 46px;
|
||||
background: url("chrome://browser/skin/images/check-unselected-hdpi.png") no-repeat 50% 50%;
|
||||
@ -503,10 +503,10 @@ progressmeter {
|
||||
padding: @padding_small@;
|
||||
height: @textbox_height@;
|
||||
border: @border_width_large@ solid #aaa;
|
||||
-moz-border-top-colors: -moz-initial;
|
||||
-moz-border-right-colors: -moz-initial;
|
||||
-moz-border-bottom-colors: -moz-initial;
|
||||
-moz-border-left-colors: -moz-initial;
|
||||
-moz-border-top-colors: initial;
|
||||
-moz-border-right-colors: initial;
|
||||
-moz-border-bottom-colors: initial;
|
||||
-moz-border-left-colors: initial;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
|
@ -149,7 +149,7 @@
|
||||
}
|
||||
|
||||
#form-helper-suggestions .form-helper-suggestions-label:first-child {
|
||||
-moz-padding-start: -moz-initial; /* the arrowscrollbox creates enough left padding */
|
||||
-moz-padding-start: initial; /* the arrowscrollbox creates enough left padding */
|
||||
-moz-border-start: none;
|
||||
}
|
||||
|
||||
|
@ -44,10 +44,10 @@ textbox {
|
||||
textbox:not([type="number"]) {
|
||||
min-height: @textbox_height@;
|
||||
border: @border_width_small@ solid @color_button_border@;
|
||||
-moz-border-top-colors: -moz-initial;
|
||||
-moz-border-right-colors: -moz-initial;
|
||||
-moz-border-bottom-colors: -moz-initial;
|
||||
-moz-border-left-colors: -moz-initial;
|
||||
-moz-border-top-colors: initial;
|
||||
-moz-border-right-colors: initial;
|
||||
-moz-border-bottom-colors: initial;
|
||||
-moz-border-left-colors: initial;
|
||||
}
|
||||
|
||||
textbox[isempty="true"] {
|
||||
@ -137,7 +137,7 @@ button:not([disabled])[checked="true"] {
|
||||
|
||||
/* Override GTK2 system setting */
|
||||
.button-icon {
|
||||
display: -moz-initial !important;
|
||||
display: initial !important;
|
||||
}
|
||||
|
||||
/* spinbuttons ------------------------------------------------------------- */
|
||||
@ -148,9 +148,9 @@ spinbuttons {
|
||||
.numberbox-input-box {
|
||||
border: @border_width_small@ solid @color_button_border@;
|
||||
border-right: 0 solid transparent;
|
||||
-moz-border-top-colors: -moz-initial;
|
||||
-moz-border-bottom-colors: -moz-initial;
|
||||
-moz-border-left-colors: -moz-initial;
|
||||
-moz-border-top-colors: initial;
|
||||
-moz-border-bottom-colors: initial;
|
||||
-moz-border-left-colors: initial;
|
||||
}
|
||||
|
||||
.numberbox-input-box:-moz-locale-dir(rtl) {
|
||||
@ -334,10 +334,10 @@ checkbox:focus > .checkbox-label-center-box > .checkbox-label-box {
|
||||
|
||||
.checkbox-check {
|
||||
border: 2px transparent;
|
||||
-moz-border-top-colors: -moz-initial;
|
||||
-moz-border-right-colors: -moz-initial;
|
||||
-moz-border-bottom-colors: -moz-initial;
|
||||
-moz-border-left-colors: -moz-initial;
|
||||
-moz-border-top-colors: initial;
|
||||
-moz-border-right-colors: initial;
|
||||
-moz-border-bottom-colors: initial;
|
||||
-moz-border-left-colors: initial;
|
||||
width: 46px;
|
||||
height: 46px;
|
||||
background: url("chrome://browser/skin/images/check-unselected-hdpi.png") no-repeat 50% 50%;
|
||||
@ -536,10 +536,10 @@ progressmeter {
|
||||
padding: @padding_small@;
|
||||
height: @textbox_height@;
|
||||
border: @border_width_large@ solid #aaa;
|
||||
-moz-border-top-colors: -moz-initial;
|
||||
-moz-border-right-colors: -moz-initial;
|
||||
-moz-border-bottom-colors: -moz-initial;
|
||||
-moz-border-left-colors: -moz-initial;
|
||||
-moz-border-top-colors: initial;
|
||||
-moz-border-right-colors: initial;
|
||||
-moz-border-bottom-colors: initial;
|
||||
-moz-border-left-colors: initial;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
|
@ -15,7 +15,7 @@ notification, notification[type="warning"] {
|
||||
|
||||
notification .messageCloseButton {
|
||||
list-style-image: url("chrome://browser/skin/images/close-default-hdpi.png");
|
||||
-moz-image-region: -moz-initial;
|
||||
-moz-image-region: initial;
|
||||
-moz-box-align: start;
|
||||
}
|
||||
|
||||
|
@ -46,10 +46,10 @@ textbox:not([type="number"]) {
|
||||
min-height: @textbox_height@;
|
||||
border: @border_width_small@ solid #cacdd5;
|
||||
border-radius: @border_radius_normal@;
|
||||
-moz-border-top-colors: -moz-initial;
|
||||
-moz-border-right-colors: -moz-initial;
|
||||
-moz-border-bottom-colors: -moz-initial;
|
||||
-moz-border-left-colors: -moz-initial;
|
||||
-moz-border-top-colors: initial;
|
||||
-moz-border-right-colors: initial;
|
||||
-moz-border-bottom-colors: initial;
|
||||
-moz-border-left-colors: initial;
|
||||
}
|
||||
|
||||
textbox[isempty="true"] {
|
||||
@ -149,7 +149,7 @@ button:not([disabled])[checked="true"] {
|
||||
|
||||
/* Override GTK2 system setting */
|
||||
.button-icon {
|
||||
display: -moz-initial !important;
|
||||
display: initial !important;
|
||||
}
|
||||
|
||||
/* spinbuttons ------------------------------------------------------------- */
|
||||
@ -161,9 +161,9 @@ spinbuttons {
|
||||
border: @border_width_small@ solid #cacdd5;
|
||||
border-right: 0 solid transparent;
|
||||
border-radius: @border_radius_normal@ 0 0 @border_radius_normal@;
|
||||
-moz-border-top-colors: -moz-initial;
|
||||
-moz-border-bottom-colors: -moz-initial;
|
||||
-moz-border-left-colors: -moz-initial;
|
||||
-moz-border-top-colors: initial;
|
||||
-moz-border-bottom-colors: initial;
|
||||
-moz-border-left-colors: initial;
|
||||
}
|
||||
|
||||
.numberbox-input-box:-moz-locale-dir(rtl) {
|
||||
@ -511,10 +511,10 @@ progressmeter {
|
||||
padding: @padding_small@;
|
||||
height: @textbox_height@;
|
||||
border: @border_width_large@ solid #aaa;
|
||||
-moz-border-top-colors: -moz-initial;
|
||||
-moz-border-right-colors: -moz-initial;
|
||||
-moz-border-bottom-colors: -moz-initial;
|
||||
-moz-border-left-colors: -moz-initial;
|
||||
-moz-border-top-colors: initial;
|
||||
-moz-border-right-colors: initial;
|
||||
-moz-border-bottom-colors: initial;
|
||||
-moz-border-left-colors: initial;
|
||||
border-radius: @border_radius_normal@;
|
||||
}
|
||||
|
||||
|
@ -132,7 +132,7 @@ documenttab[selected="true"] > vbox > stack > hbox > .documenttab-close[tablet]
|
||||
#newtab-button[tablet] > .toolbarbutton-text {
|
||||
-moz-padding-start: 0.5em;
|
||||
color: white;
|
||||
display: -moz-initial;
|
||||
display: initial;
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user