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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/regions-webvtt/vtt-region-dom-layout-expected.txt

Issue 1854553003: Convert webvtt regions tests from video-test.js to testharness.js based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address more 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 Tests default DOM layout structure for a VTTRegion.
2
3 EVENT(canplaythrough)
4 ** The text track has only one region **
5 EXPECTED (testTrack.regions.length == '1') OK
6
7 ** Inspecting the default DOM layout used for regions display **
8
9 ** Only one region should be displayed **
10 EXPECTED (region.children.length == '1') OK
11
12 ** The child of the region should be the container **
13 EXPECTED (region.children[0] == container == 'true') OK
14
15 ** Default pseudo IDs should be set properly
16 EXPECTED (internals.shadowPseudoId(region) == '-webkit-media-text-track-region') OK
17 EXPECTED (internals.shadowPseudoId(container) == '-webkit-media-text-track-regio n-container') OK
18 END OF TEST
19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698