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

Unified Diff: LayoutTests/media/track/track-css-matching-user-override-settings-expected.txt

Issue 921833003: Expose APIs for text track settings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed comments from fs Created 5 years, 10 months 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
Index: LayoutTests/media/track/track-css-matching-user-override-settings-expected.txt
diff --git a/LayoutTests/media/track/track-css-matching-user-override-settings-expected.txt b/LayoutTests/media/track/track-css-matching-user-override-settings-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2d60f7971962c9a577aed32af898aa3d9781c1
--- /dev/null
+++ b/LayoutTests/media/track/track-css-matching-user-override-settings-expected.txt
@@ -0,0 +1,12 @@
+Test that WebVTT objects are being styled correctly based on user settings.
+EVENT(canplaythrough)
+EXPECTED (getComputedStyle(cue).color == 'rgb(0, 255, 255)') OK
+EXPECTED (getComputedStyle(cue).backgroundColor == 'rgb(0, 128, 0)') OK
+EXPECTED (getComputedStyle(display).backgroundColor == 'rgb(0, 0, 255)') OK
+EXPECTED (getComputedStyle(cue).textShadow == 'rgb(255, 0, 0) 2px 2px 0px') OK
+EXPECTED (getComputedStyle(cue).fontSize == '14px') OK
+EXPECTED (getComputedStyle(cue).fontFamily == 'fantasy') OK
+EXPECTED (getComputedStyle(cue).fontStyle == 'italic') OK
+EXPECTED (getComputedStyle(cue).fontVariant == 'small-caps') OK
+END OF TEST
+

Powered by Google App Engine
This is Rietveld 408576698