blob: 63c9e05a129098ec60c8d26909af389dddb96917 [file] [log] [blame]
This test checks invalid colors on gradients.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS gradient.addColorStop(0, '') threw exception SyntaxError: The string did not match the expected pattern..
PASS gradient.addColorStop(0, '#cc') threw exception SyntaxError: The string did not match the expected pattern..
PASS gradient.addColorStop(0, 'rgb(257, 0)') threw exception SyntaxError: The string did not match the expected pattern..
PASS successfullyParsed is true
TEST COMPLETE