Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: LayoutTests/media/track/cue-style-invalidation-expected.txt

Issue 684993007: Support style invalidation for ::cue selectors. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Sort alphabetically Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/media/track/cue-style-invalidation.html ('k') | Source/core/css/RuleFeature.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+
« no previous file with comments | « LayoutTests/media/track/cue-style-invalidation.html ('k') | Source/core/css/RuleFeature.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698