blob: 4a4ba3c940859a6b54212b779eb0ad7f094af5c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Change classes affecting pseudo elements
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS getComputedStyle(r1, '::before').backgroundColor is transparent
PASS internals.updateStyleAndReturnAffectedElementCount() is 2
PASS getComputedStyle(r1, '::before').backgroundColor is green
PASS getComputedStyle(r2, '::after').backgroundColor is transparent
PASS internals.updateStyleAndReturnAffectedElementCount() is 2
PASS getComputedStyle(r2, '::after').backgroundColor is green
PASS getComputedStyle(r3, '::first-line').backgroundColor is transparent
PASS internals.updateStyleAndReturnAffectedElementCount() is 9
PASS getComputedStyle(r3, '::first-line').backgroundColor is green
PASS getComputedStyle(r4, '::first-letter').backgroundColor is transparent
PASS internals.updateStyleAndReturnAffectedElementCount() is 10
PASS getComputedStyle(r4, '::first-letter').backgroundColor is green
PASS successfullyParsed is true
TEST COMPLETE
< Background of 'X' should be green
Background of 'X' should be green >
Background should be green
Background of first letter should be green
|