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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc014-alignment.html

Issue 2683633006: [WebVTT] Rename Middle to Center (Closed)
Patch Set: fix tests Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc014-alignment.html
diff --git a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc014-alignment.html b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc014-alignment.html
index e74ac7d51b402a0061816945f194786bef8085c5..206d694ca6326019c4035b2de05e31df7aeebf0e 100644
--- a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc014-alignment.html
+++ b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc014-alignment.html
@@ -9,10 +9,10 @@ check_cues_from_track("captions-webvtt/tc014-alignment-ltr.vtt", testTrack);
check_cues_from_track("captions-webvtt/tc014-alignment-bad.vtt", function(track) {
var expected = [
- { align: "middle" },
- { align: "middle" },
- { align: "middle" },
- { align: "middle" }
+ { align: "center" },
+ { align: "center" },
+ { align: "center" },
+ { align: "center" }
];
assert_cues_match(track.cues, expected);
@@ -21,11 +21,11 @@ check_cues_from_track("captions-webvtt/tc014-alignment-bad.vtt", function(track)
function testTrack(track) {
var expected = [
{ align: "start" },
- { align: "middle" },
+ { align: "center" },
{ align: "end" },
- { align: "middle" }
+ { align: "center" }
];
assert_cues_match(track.cues, expected);
}
-</script>
+</script>

Powered by Google App Engine
This is Rietveld 408576698