Index: LayoutTests/media/track/cue-style-invalidation-expected.txt |
diff --git a/LayoutTests/media/track/cue-style-invalidation-expected.txt b/LayoutTests/media/track/cue-style-invalidation-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..558e53314c79e1c5586661f20e88e678535f27b3 |
--- /dev/null |
+++ b/LayoutTests/media/track/cue-style-invalidation-expected.txt |
@@ -0,0 +1,17 @@ |
+Check that descendant style invalidation works with ::cue selectors. |
+EVENT(canplaythrough) |
+EVENT(seeked) |
+EXPECTED (getComputedStyle(cueNode).backgroundColor == 'rgb(255, 0, 0)') OK |
+EXPECTED (internals.updateStyleAndReturnAffectedElementCount() == '9') OK |
+EXPECTED (getComputedStyle(cueNode).backgroundColor == 'rgb(0, 128, 0)') OK |
+EXPECTED (getComputedStyle(cNode).backgroundColor == 'rgb(255, 0, 0)') OK |
+EXPECTED (internals.updateStyleAndReturnAffectedElementCount() == '2') OK |
+EXPECTED (getComputedStyle(cNode).backgroundColor == 'rgb(0, 128, 0)') OK |
+EXPECTED (getComputedStyle(iNode).backgroundColor == 'rgb(255, 0, 0)') OK |
+EXPECTED (internals.updateStyleAndReturnAffectedElementCount() == '2') OK |
+EXPECTED (getComputedStyle(iNode).backgroundColor == 'rgb(0, 128, 0)') OK |
+EXPECTED (getComputedStyle(bNode).backgroundColor == 'rgb(255, 0, 0)') OK |
+EXPECTED (internals.updateStyleAndReturnAffectedElementCount() == '2') OK |
+EXPECTED (getComputedStyle(bNode).backgroundColor == 'rgb(0, 128, 0)') OK |
+END OF TEST |
+ |