blob: bc6f570b0673c97c64eb5ff485b42bf2e90dc2b5 [file] [log] [blame]
This test checks hexadecimal color parsing.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS getComputedStyle(div, null).color is red
PASS getComputedStyle(div, null).color is red
PASS getComputedStyle(div, null).color is red
PASS getComputedStyle(div, null).color is red
PASS getComputedStyle(div, null).color is red
PASS getComputedStyle(div, null).color is black
PASS getComputedStyle(div, null).color is black
PASS getComputedStyle(div, null).color is black
PASS getComputedStyle(div, null).color is black
PASS successfullyParsed is true
TEST COMPLETE
This style is "color: red"
This style is "color: FF0000"
This style is "color: #FF0000"
This style is "color: F00"
This style is "color: #F00"
This style is "color: #red"
This style is "color: #yellow"
This style is "color: #green"
This style is "color: #FFAALL"