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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/regions-webvtt/vtt-region-parser-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
« no previous file with comments | « third_party/WebKit/LayoutTests/media/track/regions-webvtt/vtt-region-parser.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Tests proper parsing of various regions present in WebVTT header area.
2
3 EXPECTED (video.textTracks[0].regions.length == '5') OK
4
5 EXPECTED (region.id == 'region_without_settings') OK
6
7 EXPECTED (region.id == 'region_with_all_settings') OK
8 EXPECTED (region.width == '32') OK
9 EXPECTED (region.height == '5') OK
10 EXPECTED (region.regionAnchorX == '41') OK
11 EXPECTED (region.regionAnchorY == '20') OK
12 EXPECTED (region.viewportAnchorX == '31') OK
13 EXPECTED (region.viewportAnchorY == '84') OK
14 EXPECTED (region.scroll == 'up') OK
15
16 EXPECTED (region.id == 'region_floating_point_anchor') OK
17 EXPECTED (Math.round(region.regionAnchorX * 1000) == '41133') OK
18 EXPECTED (Math.round(region.regionAnchorY * 1000) == '20420') OK
19 EXPECTED (Math.round(region.viewportAnchorX * 1000) == '32330') OK
20 EXPECTED (Math.round(region.viewportAnchorY * 1000) == '32440') OK
21
22 EXPECTED (region.id == 'not_unique_id') OK
23 EXPECTED (region.width == '67') OK
24
25 EXPECTED (region.id == '') OK
26
27 END OF TEST
28
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/track/regions-webvtt/vtt-region-parser.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698