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

Unified Diff: LayoutTests/media/track/track-css-reset-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: Rebase and added a test to verify behavior of internal settings Created 5 years, 9 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-reset-user-override-settings-expected.txt
diff --git a/LayoutTests/media/track/track-css-reset-user-override-settings-expected.txt b/LayoutTests/media/track/track-css-reset-user-override-settings-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b1466014ac8ea172e0ea73a5fe3be9ab3b13689
--- /dev/null
+++ b/LayoutTests/media/track/track-css-reset-user-override-settings-expected.txt
@@ -0,0 +1,11 @@
+Test that WebVTT objects user override styles when reset, refer to css specified styles.
+EVENT(canplaythrough)
+EXPECTED (getComputedStyle(cue).color == 'rgb(0, 255, 0)') OK
+EXPECTED (getComputedStyle(cue).backgroundColor == 'rgb(255, 255, 0)') OK
+EXPECTED (getComputedStyle(cue).textShadow == 'rgb(255, 0, 0) 4px 4px 0px') OK
+EXPECTED (getComputedStyle(cue).fontSize == '10px') OK
+EXPECTED (getComputedStyle(cue).fontFamily == 'serif') OK
+EXPECTED (getComputedStyle(cue).fontStyle == 'normal') OK
+EXPECTED (getComputedStyle(cue).fontVariant == 'normal') OK
+END OF TEST
+

Powered by Google App Engine
This is Rietveld 408576698