blob: 16121fcfe53e5b9224691033941c0107d9ab4859 [file] [log] [blame]
Check that targeted class invalidation works for ::content selectors.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS getComputedStyle(r1, null).backgroundColor is transparent
PASS internals.updateStyleAndReturnAffectedElementCount() is 5
PASS getComputedStyle(r1, null).backgroundColor is green
PASS getComputedStyle(r2, null).backgroundColor is transparent
PASS internals.updateStyleAndReturnAffectedElementCount() is 3
PASS getComputedStyle(r2, null).backgroundColor is green
PASS getComputedStyle(r3, null).backgroundColor is transparent
PASS internals.updateStyleAndReturnAffectedElementCount() is 1
PASS getComputedStyle(r3, null).backgroundColor is green
PASS successfullyParsed is true
TEST COMPLETE