blob: 0807baacc16fa9d0d7b3d832bc6d561abbf622ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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
|