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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-css-user-settings-override-author-settings-expected.txt

Issue 1882583002: Convert track tests from video-test.js to testharness.js based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments Created 4 years, 8 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 author settings.
2 EVENT(canplaythrough)
3
4 EXPECTED (getComputedStyle(cue).color == 'rgb(255, 0, 0)') OK
5 EXPECTED (getComputedStyle(cue).backgroundColor == 'rgb(0, 128, 0)') OK
6 EXPECTED (getComputedStyle(cue).textShadow == 'rgb(0, 255, 0) 3px 3px 0px') OK
7 EXPECTED (getComputedStyle(cue).fontSize == '20px') OK
8 EXPECTED (getComputedStyle(cue).fontFamily == 'arial') OK
9 EXPECTED (getComputedStyle(cue).fontStyle == 'normal') OK
10 EXPECTED (getComputedStyle(cue).fontVariant == 'normal') OK
11 RUN(video.currentTime = 0.3)
12
13 EXPECTED (getComputedStyle(cue).color == 'rgb(0, 255, 255)') OK
14 EXPECTED (getComputedStyle(cue).backgroundColor == 'rgb(0, 128, 0)') OK
15 EXPECTED (getComputedStyle(cue).textShadow == 'rgb(255, 0, 0) 2px 2px 0px') OK
16 EXPECTED (getComputedStyle(cue).fontSize == '14px') OK
17 EXPECTED (getComputedStyle(cue).fontFamily == 'fantasy') OK
18 EXPECTED (getComputedStyle(cue).fontStyle == 'italic') OK
19 EXPECTED (getComputedStyle(cue).fontVariant == 'small-caps') OK
20 END OF TEST
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698