Skip to content

Commit

Permalink
Remove duplicate color(srgb) invalid value test
Browse files Browse the repository at this point in the history
This is causing a harness error due to the same subtest name, which was
introduced by two PRs landing on the same day:
web-platform-tests#38203
web-platform-tests#38258

Also remove the 3rd argument to test_invalid_value() since it only takes
2 arguments.
  • Loading branch information
foolip committed Feb 7, 2023
1 parent 52ac014 commit 5abf511
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions css/css-color/parsing/color-invalid-color-function.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@
test_invalid_value("color", "color(banana 1 1 1)"); // Bad color space
test_invalid_value("color", "color(displayp3 1 1 1)"); // Bad Display P3 color space
test_invalid_value("color", "color(1 1 1)"); // No color space
test_invalid_value("color", "color(srgb 1 1)", "color(srgb 1 1 0)"); // One missing component
test_invalid_value("color", "color(srgb 1)", "color(srgb 1 0 0)"); // Two missing components
test_invalid_value("color", "color(srgb)", "color(srgb 0 0 0)"); // All components missing
test_invalid_value("color", "color(srgb 1 1)"); // One missing component
test_invalid_value("color", "color(srgb 1)"); // Two missing components

test_invalid_value("color", "color(srgb 1 1 1 1)"); // Too many parameters
test_invalid_value("color", "color(srgb 1 1 1 1 1)"); // Way too many parameters
Expand Down

0 comments on commit 5abf511

Please sign in to comment.