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

Side by Side Diff: LayoutTests/media/track/track-css-user-settings-override-internal-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 unified diff | Download patch
OLDNEW
(Empty)
1 Test that WebVTT objects are being styled correctly based on user settings that should override app default settings.
2 EVENT(canplaythrough)
3 EVENT(seeked)
4
5 EXPECTED (getComputedStyle(cue).color == 'rgb(255, 255, 255)') OK
6 EXPECTED (getComputedStyle(cue).backgroundColor == 'rgba(0, 0, 0, 0.8)') OK
7 EXPECTED (getComputedStyle(cue).fontFamily == 'sans-serif') OK
8 RUN(video.currentTime = 0.3)
9
10 EXPECTED (getComputedStyle(cue).color == 'rgb(128, 0, 128)') OK
11 EXPECTED (getComputedStyle(cue).fontSize == '14px') OK
12 EXPECTED (getComputedStyle(cue).backgroundColor == 'rgba(0, 0, 0, 0.8)') OK
13 EXPECTED (getComputedStyle(cue).fontFamily == 'sans-serif') OK
14 END OF TEST
15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698