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

Side by Side Diff: LayoutTests/media/track/regions-webvtt/vtt-region-constructor-expected.txt

Issue 55653003: Rename TextTrackRegion/TextTrackRegionList to VTTRegion/VTTRegionList (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test expectations Created 7 years, 1 month 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
1 Tests the constructor and mutation of TextTrackRegion. 1 Tests the constructor and mutation of VTTRegion.
2 2
3 ** Test instanceof VTTRegion. **
4 EXPECTED (region instanceof VTTRegion == 'true') OK
3 ** Test the default indexs of a region. ** 5 ** Test the default indexs of a region. **
4 EXPECTED (region.track == 'null') OK 6 EXPECTED (region.track == 'null') OK
5 EXPECTED (region.scroll == '') OK 7 EXPECTED (region.scroll == '') OK
6 EXPECTED (region.viewportAnchorX == '0') OK 8 EXPECTED (region.viewportAnchorX == '0') OK
7 EXPECTED (region.viewportAnchorY == '100') OK 9 EXPECTED (region.viewportAnchorY == '100') OK
8 EXPECTED (region.regionAnchorX == '0') OK 10 EXPECTED (region.regionAnchorX == '0') OK
9 EXPECTED (region.regionAnchorY == '100') OK 11 EXPECTED (region.regionAnchorY == '100') OK
10 EXPECTED (region.height == '3') OK 12 EXPECTED (region.height == '3') OK
11 EXPECTED (region.width == '100') OK 13 EXPECTED (region.width == '100') OK
12 14
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 RUN(region.viewportAnchorY = 32) 113 RUN(region.viewportAnchorY = 32)
112 EXPECTED (region.viewportAnchorY == '32') OK 114 EXPECTED (region.viewportAnchorY == '32') OK
113 RUN(region.regionAnchorX = 16) 115 RUN(region.regionAnchorX = 16)
114 EXPECTED (region.regionAnchorX == '16') OK 116 EXPECTED (region.regionAnchorX == '16') OK
115 RUN(region.regionAnchorY = 8) 117 RUN(region.regionAnchorY = 8)
116 EXPECTED (region.regionAnchorY == '8') OK 118 EXPECTED (region.regionAnchorY == '8') OK
117 RUN(region.width = 42) 119 RUN(region.width = 42)
118 EXPECTED (region.width == '42') OK 120 EXPECTED (region.width == '42') OK
119 END OF TEST 121 END OF TEST
120 122
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698