OLD | NEW |
| (Empty) |
1 Check that descendant style invalidation works with ::cue selectors. | |
2 EVENT(canplaythrough) | |
3 EVENT(seeked) | |
4 EXPECTED (getComputedStyle(cueNode).backgroundColor == 'rgb(255, 0, 0)') OK | |
5 EXPECTED (internals.updateStyleAndReturnAffectedElementCount() == '8') OK | |
6 EXPECTED (getComputedStyle(cueNode).backgroundColor == 'rgb(0, 128, 0)') OK | |
7 EXPECTED (getComputedStyle(cNode).backgroundColor == 'rgb(255, 0, 0)') OK | |
8 EXPECTED (internals.updateStyleAndReturnAffectedElementCount() == '1') OK | |
9 EXPECTED (getComputedStyle(cNode).backgroundColor == 'rgb(0, 128, 0)') OK | |
10 EXPECTED (getComputedStyle(iNode).backgroundColor == 'rgb(255, 0, 0)') OK | |
11 EXPECTED (internals.updateStyleAndReturnAffectedElementCount() == '1') OK | |
12 EXPECTED (getComputedStyle(iNode).backgroundColor == 'rgb(0, 128, 0)') OK | |
13 EXPECTED (getComputedStyle(bNode).backgroundColor == 'rgb(255, 0, 0)') OK | |
14 EXPECTED (internals.updateStyleAndReturnAffectedElementCount() == '1') OK | |
15 EXPECTED (getComputedStyle(bNode).backgroundColor == 'rgb(0, 128, 0)') OK | |
16 END OF TEST | |
17 | |
OLD | NEW |