Make the -moz-column-rule-color test not assume that inputs have the same 'color' as divs. (Bug 271586) r=Ventnor

This commit is contained in:
L. David Baron 2008-08-04 16:10:05 -07:00
Родитель 0a472c2700
Коммит e879badbaa
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -80,6 +80,8 @@ function part1()
"border-left-color applies");
isnot(cs1.borderBottomColor, cs2.borderBottomColor,
"border-top-color applies");
isnot(cs1.MozColumnRuleColor, cs2.MozColumnRuleColor,
"-moz-column-rule-color applies");
is(cs1.borderTopColor, cs3.borderTopColor, "border-top-color applies");
is(cs1.borderRightColor, cs3.borderRightColor,
"border-right-color applies");
@ -108,8 +110,6 @@ function part1()
"border-left-color applies");
isnot(cs3.borderBottomColor, cs4.borderBottomColor,
"border-bottom-color applies");
isnot(cs2.MozColumnRuleColor, cs3.MozColumnRuleColor,
"-moz-column-rule-color applies");
transparentBackgroundColor = cs2.backgroundColor;
inputBackgroundColor = cs4.backgroundColor;
inputColor = cs4.color;
@ -141,7 +141,7 @@ function part2()
"-moz-border-end-color is blocked");
is(cs1.borderBottomColor, cs2.borderBottomColor,
"border-bottom-color is blocked");
is(cs2.MozColumnRuleColor, cs3.MozColumnRuleColor,
is(cs1.MozColumnRuleColor, cs2.MozColumnRuleColor,
"-moz-column-rule-color is blocked");
is(cs3.backgroundColor, cs1.backgroundColor, "background-color transparency preserved (opaque)");
is(cs3.color, cs4.color, "color is blocked");