Make the -moz-column-rule-color test not assume that inputs have the same 'color' as divs. (Bug 271586) r=Ventnor
authorL. David Baron <dbaron@dbaron.org>
Mon, 04 Aug 2008 16:10:05 -0700
changeset 16374 143278174a83ebc3c4402d362e993a0230d92a9a
parent 16373 5034907cae2a05eb0b8beb348122a7b9729041f1
child 16375 de6fc723c05bad36a6e7455afcfc0ff7961e78f7
push idunknown
push userunknown
push dateunknown
reviewersVentnor
bugs271586
milestone1.9.1a2pre
Make the -moz-column-rule-color test not assume that inputs have the same 'color' as divs. (Bug 271586) r=Ventnor
layout/style/test/test_dont_use_document_colors.html
--- a/layout/style/test/test_dont_use_document_colors.html
+++ b/layout/style/test/test_dont_use_document_colors.html
@@ -75,16 +75,18 @@ function part1()
     isnot(cs1.color, cs2.color, "color applies");
     isnot(cs1.borderTopColor, cs2.borderTopColor, "border-top-color applies");
     isnot(cs1.borderRightColor, cs2.borderRightColor,
           "border-right-color applies");
     isnot(cs1.borderLeftColor, cs2.borderLeftColor,
           "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");
     is(cs1.borderLeftColor, cs3.borderLeftColor,
        "border-left-color applies");
     is(cs1.borderBottomColor, cs3.borderBottomColor, 
        "border-top-color applies");
     is(cs1.MozColumnRuleColor, cs3.MozColumnRuleColor,
@@ -103,18 +105,16 @@ function part1()
     isnot(cs3.color, cs4.color, "color applies");
     isnot(cs3.borderTopColor, cs4.borderTopColor, "border-top-color applies");
     isnot(cs3.borderRightColor, cs4.borderRightColor,
           "border-right-color applies");
     isnot(cs3.borderLeftColor, cs4.borderLeftColor,
           "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;
     inputBorderTopColor = cs4.borderTopColor;
     inputBorderRightColor = cs4.borderRightColor;
     inputBorderLeftColor = cs4.borderLeftColor;
     inputBorderBottomColor = cs4.borderBottomColor;
     set_pref(false);
@@ -136,17 +136,17 @@ function part2()
     is(cs5.borderLeftColor, cs2.borderLeftColor,
        "-moz-border-start-color is blocked");
     is(cs6.borderRightColor, cs2.borderRightColor,
        "-moz-border-start-color is blocked");
     is(cs6.borderLeftColor, cs2.borderLeftColor,
        "-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");
     is(cs3.borderTopColor, cs4.borderTopColor, "border-top-color is blocked");
     is(cs3.borderRightColor, cs4.borderRightColor,
        "border-right-color is blocked");
     is(cs3.borderLeftColor, cs4.borderLeftColor,
        "border-left-color is blocked");