|
|
@ -23,8 +23,8 @@ class ColorTests { |
|
|
|
Div({ style { color(Color.RGB(200, 10, 20)) } }) |
|
|
|
Div({ style { color(Color.RGB(200, 10, 20)) } }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
assertEquals("rgb(0, 0, 0)", (root.children[0] as HTMLElement).style.color) |
|
|
|
assertEquals("rgb(0, 0, 0)", nextChild().style.color) |
|
|
|
assertEquals("rgb(200, 10, 20)", (root.children[1] as HTMLElement).style.color) |
|
|
|
assertEquals("rgb(200, 10, 20)", nextChild().style.color) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -35,8 +35,8 @@ class ColorTests { |
|
|
|
Div({ style { color(rgb(200, 10, 20)) } }) |
|
|
|
Div({ style { color(rgb(200, 10, 20)) } }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
assertEquals("rgb(0, 0, 0)", (root.children[0] as HTMLElement).style.color) |
|
|
|
assertEquals("rgb(0, 0, 0)", nextChild().style.color) |
|
|
|
assertEquals("rgb(200, 10, 20)", (root.children[1] as HTMLElement).style.color) |
|
|
|
assertEquals("rgb(200, 10, 20)", nextChild().style.color) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
@ -48,8 +48,8 @@ class ColorTests { |
|
|
|
Div({ style { color(Color.RGBA(200, 10, 20, 0.3)) } }) |
|
|
|
Div({ style { color(Color.RGBA(200, 10, 20, 0.3)) } }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
assertEquals("rgba(0, 220, 0, 0.2)", (root.children[0] as HTMLElement).style.color) |
|
|
|
assertEquals("rgba(0, 220, 0, 0.2)", nextChild().style.color) |
|
|
|
assertEquals("rgb(200, 10, 20)", (root.children[1] as HTMLElement).style.color) |
|
|
|
assertEquals("rgb(200, 10, 20)", nextChild().style.color) |
|
|
|
assertEquals("rgba(200, 10, 20, 0.3)", (root.children[2] as HTMLElement).style.color) |
|
|
|
assertEquals("rgba(200, 10, 20, 0.3)", (root.children[2] as HTMLElement).style.color) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -62,8 +62,8 @@ class ColorTests { |
|
|
|
Div({ style { color(rgba(200, 10, 20, 0.3)) } }) |
|
|
|
Div({ style { color(rgba(200, 10, 20, 0.3)) } }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
assertEquals("rgba(0, 220, 0, 0.2)", (root.children[0] as HTMLElement).style.color) |
|
|
|
assertEquals("rgba(0, 220, 0, 0.2)", nextChild().style.color) |
|
|
|
assertEquals("rgb(200, 10, 20)", (root.children[1] as HTMLElement).style.color) |
|
|
|
assertEquals("rgb(200, 10, 20)", nextChild().style.color) |
|
|
|
assertEquals("rgba(200, 10, 20, 0.3)", (root.children[2] as HTMLElement).style.color) |
|
|
|
assertEquals("rgba(200, 10, 20, 0.3)", (root.children[2] as HTMLElement).style.color) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -75,8 +75,8 @@ class ColorTests { |
|
|
|
Div({ style { color(Color.HSL(235, 100, 50)) } }) |
|
|
|
Div({ style { color(Color.HSL(235, 100, 50)) } }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
assertEquals("rgb(85, 255, 0)", (root.children[0] as HTMLElement).style.color) |
|
|
|
assertEquals("rgb(85, 255, 0)", nextChild().style.color) |
|
|
|
assertEquals("rgb(0, 21, 255)", (root.children[1] as HTMLElement).style.color) |
|
|
|
assertEquals("rgb(0, 21, 255)", nextChild().style.color) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
@ -86,8 +86,8 @@ class ColorTests { |
|
|
|
Div({ style { color(hsl(235, 100, 50)) } }) |
|
|
|
Div({ style { color(hsl(235, 100, 50)) } }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
assertEquals("rgb(85, 255, 0)", (root.children[0] as HTMLElement).style.color) |
|
|
|
assertEquals("rgb(85, 255, 0)", nextChild().style.color) |
|
|
|
assertEquals("rgb(0, 21, 255)", (root.children[1] as HTMLElement).style.color) |
|
|
|
assertEquals("rgb(0, 21, 255)", nextChild().style.color) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
@ -98,8 +98,8 @@ class ColorTests { |
|
|
|
Div({ style { color(Color.HSLA(235, 100, 50, .5)) } }) |
|
|
|
Div({ style { color(Color.HSLA(235, 100, 50, .5)) } }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
assertEquals("rgb(85, 255, 0)", (root.children[0] as HTMLElement).style.color) |
|
|
|
assertEquals("rgb(85, 255, 0)", nextChild().style.color) |
|
|
|
assertEquals("rgba(0, 21, 255, 0.5)", (root.children[1] as HTMLElement).style.color) |
|
|
|
assertEquals("rgba(0, 21, 255, 0.5)", nextChild().style.color) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -110,8 +110,8 @@ class ColorTests { |
|
|
|
Div({ style { color(hsla(235, 100, 50, .5)) } }) |
|
|
|
Div({ style { color(hsla(235, 100, 50, .5)) } }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
assertEquals("rgb(85, 255, 0)", (root.children[0] as HTMLElement).style.color) |
|
|
|
assertEquals("rgb(85, 255, 0)", nextChild().style.color) |
|
|
|
assertEquals("rgba(0, 21, 255, 0.5)", (root.children[1] as HTMLElement).style.color) |
|
|
|
assertEquals("rgba(0, 21, 255, 0.5)", nextChild().style.color) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -259,144 +259,143 @@ class ColorTests { |
|
|
|
Div({ style { color(Color.currentColor) } }) |
|
|
|
Div({ style { color(Color.currentColor) } }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var counter = 0 |
|
|
|
assertEquals("aliceblue", nextChild().style.color) |
|
|
|
assertEquals("aliceblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("antiquewhite", nextChild().style.color) |
|
|
|
assertEquals("antiquewhite", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("aquamarine", nextChild().style.color) |
|
|
|
assertEquals("aquamarine", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("azure", nextChild().style.color) |
|
|
|
assertEquals("azure", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("beige", nextChild().style.color) |
|
|
|
assertEquals("beige", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("bisque", nextChild().style.color) |
|
|
|
assertEquals("bisque", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("black", nextChild().style.color) |
|
|
|
assertEquals("black", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("blanchedalmond", nextChild().style.color) |
|
|
|
assertEquals("blanchedalmond", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("blue", nextChild().style.color) |
|
|
|
assertEquals("blue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("blueviolet", nextChild().style.color) |
|
|
|
assertEquals("blueviolet", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("brown", nextChild().style.color) |
|
|
|
assertEquals("brown", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("burlywood", nextChild().style.color) |
|
|
|
assertEquals("burlywood", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("cadetblue", nextChild().style.color) |
|
|
|
assertEquals("cadetblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("chartreuse", nextChild().style.color) |
|
|
|
assertEquals("chartreuse", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("chocolate", nextChild().style.color) |
|
|
|
assertEquals("chocolate", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("cornflowerblue", nextChild().style.color) |
|
|
|
assertEquals("cornflowerblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("cornsilk", nextChild().style.color) |
|
|
|
assertEquals("cornsilk", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("crimson", nextChild().style.color) |
|
|
|
assertEquals("crimson", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("cyan", nextChild().style.color) |
|
|
|
assertEquals("cyan", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkblue", nextChild().style.color) |
|
|
|
assertEquals("darkblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkcyan", nextChild().style.color) |
|
|
|
assertEquals("darkcyan", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkgoldenrod", nextChild().style.color) |
|
|
|
assertEquals("darkgoldenrod", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkgray", nextChild().style.color) |
|
|
|
assertEquals("darkgray", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkgreen", nextChild().style.color) |
|
|
|
assertEquals("darkgreen", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkkhaki", nextChild().style.color) |
|
|
|
assertEquals("darkkhaki", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkmagenta", nextChild().style.color) |
|
|
|
assertEquals("darkmagenta", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkolivegreen", nextChild().style.color) |
|
|
|
assertEquals("darkolivegreen", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkorange", nextChild().style.color) |
|
|
|
assertEquals("darkorange", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkorchid", nextChild().style.color) |
|
|
|
assertEquals("darkorchid", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkred", nextChild().style.color) |
|
|
|
assertEquals("darkred", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darksalmon", nextChild().style.color) |
|
|
|
assertEquals("darksalmon", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkslateblue", nextChild().style.color) |
|
|
|
assertEquals("darkslateblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkslategray", nextChild().style.color) |
|
|
|
assertEquals("darkslategray", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkturquoise", nextChild().style.color) |
|
|
|
assertEquals("darkturquoise", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("darkviolet", nextChild().style.color) |
|
|
|
assertEquals("darkviolet", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("deeppink", nextChild().style.color) |
|
|
|
assertEquals("deeppink", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("deepskyblue", nextChild().style.color) |
|
|
|
assertEquals("deepskyblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("dimgray", nextChild().style.color) |
|
|
|
assertEquals("dimgray", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("dodgerblue", nextChild().style.color) |
|
|
|
assertEquals("dodgerblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("firebrick", nextChild().style.color) |
|
|
|
assertEquals("firebrick", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("floralwhite", nextChild().style.color) |
|
|
|
assertEquals("floralwhite", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("forestgreen", nextChild().style.color) |
|
|
|
assertEquals("forestgreen", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("fuchsia", nextChild().style.color) |
|
|
|
assertEquals("fuchsia", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("gainsboro", nextChild().style.color) |
|
|
|
assertEquals("gainsboro", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("ghostwhite", nextChild().style.color) |
|
|
|
assertEquals("ghostwhite", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("goldenrod", nextChild().style.color) |
|
|
|
assertEquals("goldenrod", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("gold", nextChild().style.color) |
|
|
|
assertEquals("gold", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("gray", nextChild().style.color) |
|
|
|
assertEquals("gray", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("green", nextChild().style.color) |
|
|
|
assertEquals("green", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("greenyellow", nextChild().style.color) |
|
|
|
assertEquals("greenyellow", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("honeydew", nextChild().style.color) |
|
|
|
assertEquals("honeydew", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("hotpink", nextChild().style.color) |
|
|
|
assertEquals("hotpink", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("indianred", nextChild().style.color) |
|
|
|
assertEquals("indianred", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("indigo", nextChild().style.color) |
|
|
|
assertEquals("indigo", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("ivory", nextChild().style.color) |
|
|
|
assertEquals("ivory", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("khaki", nextChild().style.color) |
|
|
|
assertEquals("khaki", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lavenderblush", nextChild().style.color) |
|
|
|
assertEquals("lavenderblush", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lavender", nextChild().style.color) |
|
|
|
assertEquals("lavender", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lawngreen", nextChild().style.color) |
|
|
|
assertEquals("lawngreen", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lemonchiffon", nextChild().style.color) |
|
|
|
assertEquals("lemonchiffon", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lightblue", nextChild().style.color) |
|
|
|
assertEquals("lightblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lightcoral", nextChild().style.color) |
|
|
|
assertEquals("lightcoral", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lightcyan", nextChild().style.color) |
|
|
|
assertEquals("lightcyan", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lightgoldenrodyellow", nextChild().style.color) |
|
|
|
assertEquals("lightgoldenrodyellow", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lightgray", nextChild().style.color) |
|
|
|
assertEquals("lightgray", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lightgreen", nextChild().style.color) |
|
|
|
assertEquals("lightgreen", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lightpink", nextChild().style.color) |
|
|
|
assertEquals("lightpink", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lightsalmon", nextChild().style.color) |
|
|
|
assertEquals("lightsalmon", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lightseagreen", nextChild().style.color) |
|
|
|
assertEquals("lightseagreen", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lightskyblue", nextChild().style.color) |
|
|
|
assertEquals("lightskyblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lightslategray", nextChild().style.color) |
|
|
|
assertEquals("lightslategray", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lightsteelblue", nextChild().style.color) |
|
|
|
assertEquals("lightsteelblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lightyellow", nextChild().style.color) |
|
|
|
assertEquals("lightyellow", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("limegreen", nextChild().style.color) |
|
|
|
assertEquals("limegreen", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("lime", nextChild().style.color) |
|
|
|
assertEquals("lime", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("linen", nextChild().style.color) |
|
|
|
assertEquals("linen", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("magenta", nextChild().style.color) |
|
|
|
assertEquals("magenta", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("maroon", nextChild().style.color) |
|
|
|
assertEquals("maroon", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("mediumaquamarine", nextChild().style.color) |
|
|
|
assertEquals("mediumaquamarine", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("mediumblue", nextChild().style.color) |
|
|
|
assertEquals("mediumblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("mediumorchid", nextChild().style.color) |
|
|
|
assertEquals("mediumorchid", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("mediumpurple", nextChild().style.color) |
|
|
|
assertEquals("mediumpurple", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("mediumseagreen", nextChild().style.color) |
|
|
|
assertEquals("mediumseagreen", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("mediumslateblue", nextChild().style.color) |
|
|
|
assertEquals("mediumslateblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("mediumspringgreen", nextChild().style.color) |
|
|
|
assertEquals("mediumspringgreen", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("mediumturquoise", nextChild().style.color) |
|
|
|
assertEquals("mediumturquoise", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("mediumvioletred", nextChild().style.color) |
|
|
|
assertEquals("mediumvioletred", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("midnightblue", nextChild().style.color) |
|
|
|
assertEquals("midnightblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("mintcream", nextChild().style.color) |
|
|
|
assertEquals("mintcream", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("mistyrose", nextChild().style.color) |
|
|
|
assertEquals("mistyrose", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("moccasin", nextChild().style.color) |
|
|
|
assertEquals("moccasin", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("navajowhite", nextChild().style.color) |
|
|
|
assertEquals("navajowhite", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("oldlace", nextChild().style.color) |
|
|
|
assertEquals("oldlace", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("olivedrab", nextChild().style.color) |
|
|
|
assertEquals("olivedrab", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("olive", nextChild().style.color) |
|
|
|
assertEquals("olive", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("orange", nextChild().style.color) |
|
|
|
assertEquals("orange", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("orangered", nextChild().style.color) |
|
|
|
assertEquals("orangered", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("orchid", nextChild().style.color) |
|
|
|
assertEquals("orchid", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("palegoldenrod", nextChild().style.color) |
|
|
|
assertEquals("palegoldenrod", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("palegreen", nextChild().style.color) |
|
|
|
assertEquals("palegreen", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("paleturquoise", nextChild().style.color) |
|
|
|
assertEquals("paleturquoise", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("palevioletred", nextChild().style.color) |
|
|
|
assertEquals("palevioletred", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("papayawhip", nextChild().style.color) |
|
|
|
assertEquals("papayawhip", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("peachpuff", nextChild().style.color) |
|
|
|
assertEquals("peachpuff", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("peru", nextChild().style.color) |
|
|
|
assertEquals("peru", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("pink", nextChild().style.color) |
|
|
|
assertEquals("pink", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("plum", nextChild().style.color) |
|
|
|
assertEquals("plum", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("powderblue", nextChild().style.color) |
|
|
|
assertEquals("powderblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("purple", nextChild().style.color) |
|
|
|
assertEquals("purple", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("rebeccapurple", nextChild().style.color) |
|
|
|
assertEquals("rebeccapurple", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("red", nextChild().style.color) |
|
|
|
assertEquals("red", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("rosybrown", nextChild().style.color) |
|
|
|
assertEquals("rosybrown", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("royalblue", nextChild().style.color) |
|
|
|
assertEquals("royalblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("saddlebrown", nextChild().style.color) |
|
|
|
assertEquals("saddlebrown", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("salmon", nextChild().style.color) |
|
|
|
assertEquals("salmon", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("sandybrown", nextChild().style.color) |
|
|
|
assertEquals("sandybrown", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("seagreen", nextChild().style.color) |
|
|
|
assertEquals("seagreen", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("seashell", nextChild().style.color) |
|
|
|
assertEquals("seashell", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("sienna", nextChild().style.color) |
|
|
|
assertEquals("sienna", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("silver", nextChild().style.color) |
|
|
|
assertEquals("silver", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("skyblue", nextChild().style.color) |
|
|
|
assertEquals("skyblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("slateblue", nextChild().style.color) |
|
|
|
assertEquals("slateblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("slategray", nextChild().style.color) |
|
|
|
assertEquals("slategray", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("snow", nextChild().style.color) |
|
|
|
assertEquals("snow", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("springgreen", nextChild().style.color) |
|
|
|
assertEquals("springgreen", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("steelblue", nextChild().style.color) |
|
|
|
assertEquals("steelblue", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("teal", nextChild().style.color) |
|
|
|
assertEquals("teal", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("thistle", nextChild().style.color) |
|
|
|
assertEquals("thistle", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("tomato", nextChild().style.color) |
|
|
|
assertEquals("tomato", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("turquoise", nextChild().style.color) |
|
|
|
assertEquals("turquoise", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("violet", nextChild().style.color) |
|
|
|
assertEquals("violet", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("wheat", nextChild().style.color) |
|
|
|
assertEquals("wheat", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("white", nextChild().style.color) |
|
|
|
assertEquals("white", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("whitesmoke", nextChild().style.color) |
|
|
|
assertEquals("whitesmoke", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("yellowgreen", nextChild().style.color) |
|
|
|
assertEquals("yellowgreen", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("yellow", nextChild().style.color) |
|
|
|
assertEquals("yellow", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("transparent", nextChild().style.color) |
|
|
|
assertEquals("transparent", (root.children[counter++] as HTMLElement).style.color) |
|
|
|
assertEquals("currentcolor", nextChild().style.color) |
|
|
|
assertEquals("currentcolor", (root.children[counter] as HTMLElement).style.color) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|