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