blob: 0807baacc16fa9d0d7b3d832bc6d561abbf622ce [file] [log] [blame]
Check if replacing innerHTML handles :last-child properly.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Replacing three children.
PASS getComputedStyle(element).getPropertyValue('color') is 'rgb(0, 0, 255)'
PASS getComputedStyle(element).getPropertyValue('color') is 'rgb(0, 0, 0)'
PASS getComputedStyle(element).getPropertyValue('color') is 'rgb(128, 0, 128)'
Replacing one child.
PASS getComputedStyle(element).getPropertyValue('color') is 'rgb(0, 0, 255)'
PASS getComputedStyle(element).getPropertyValue('color') is 'rgb(0, 0, 0)'
PASS getComputedStyle(element).getPropertyValue('color') is 'rgb(128, 0, 128)'
PASS successfullyParsed is true
TEST COMPLETE