servo: Correct spelling of "fuchsia"

Source-Repo: https://github.com/servo/servo
Source-Revision: f480c54e697cc5bbd2c65f8ce258f01a4d6b11da
This commit is contained in:
Patrick Walton 2012-06-14 16:40:26 -07:00
Родитель 4e23cce57b
Коммит 0f974638f5
1 изменённых файлов: 4 добавлений и 4 удалений

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

@ -84,7 +84,7 @@ mod parsing {
"maroon" { maroon() } "maroon" { maroon() }
"red" { red() } "red" { red() }
"purple" { purple() } "purple" { purple() }
"fuschia" { fuschia() } "fuchsia" { fuchsia() }
"green" { green() } "green" { green() }
"lime" { lime() } "lime" { lime() }
"olive" { olive() } "olive" { olive() }
@ -190,7 +190,7 @@ mod test {
assert silver().eq(parse_color("SiLvEr")); assert silver().eq(parse_color("SiLvEr"));
assert maroon().eq(parse_color("maroon")); assert maroon().eq(parse_color("maroon"));
assert purple().eq(parse_color("PURPLE")); assert purple().eq(parse_color("PURPLE"));
assert fuschia().eq(parse_color("FUSCHIA")); assert fuchsia().eq(parse_color("FUCHSIA"));
assert olive().eq(parse_color("oLiVe")); assert olive().eq(parse_color("oLiVe"));
assert yellow().eq(parse_color("yellow")); assert yellow().eq(parse_color("yellow"));
assert navy().eq(parse_color("NAVY")); assert navy().eq(parse_color("NAVY"));
@ -222,7 +222,7 @@ mod test {
assert gray().eq(parse_color("hsl(0.0,0.0,0.5)")); assert gray().eq(parse_color("hsl(0.0,0.0,0.5)"));
assert maroon().eq(parse_color("hsl(0.0,1.0,0.25)")); assert maroon().eq(parse_color("hsl(0.0,1.0,0.25)"));
assert purple().eq(parse_color("hsl(300.0,1.0,0.25)")); assert purple().eq(parse_color("hsl(300.0,1.0,0.25)"));
assert fuschia().eq(parse_color("hsl(300,1.0,0.5)")); assert fuchsia().eq(parse_color("hsl(300,1.0,0.5)"));
assert olive().eq(parse_color("hsl(60.,1.0,0.25)")); assert olive().eq(parse_color("hsl(60.,1.0,0.25)"));
assert yellow().eq(parse_color("hsl(60.,1.0,0.5)")); assert yellow().eq(parse_color("hsl(60.,1.0,0.5)"));
assert navy().eq(parse_color("hsl(240.0,1.0,.25)")); assert navy().eq(parse_color("hsl(240.0,1.0,.25)"));
@ -256,7 +256,7 @@ mod css_colors {
fn purple() -> Color { fn purple() -> Color {
Color({red : 128u8, green : 0u8, blue : 128u8, alpha : 1.0}) Color({red : 128u8, green : 0u8, blue : 128u8, alpha : 1.0})
} }
fn fuschia() -> Color { fn fuchsia() -> Color {
Color({red : 255u8, green : 0u8, blue : 255u8, alpha : 1.0}) Color({red : 255u8, green : 0u8, blue : 255u8, alpha : 1.0})
} }
fn green() -> Color { fn green() -> Color {