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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc013-settings.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-tc013-settings.html
diff --git a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc013-settings.html b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc013-settings.html
index 43e137c72b5ef104a288a305a6167a18a7cad4d9..9bc2699c5173b29d75ac4708c17533c9aa6d09e7 100644
--- a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc013-settings.html
+++ b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc013-settings.html
@@ -7,8 +7,8 @@
check_cues_from_track("captions-webvtt/tc013-settings.vtt", function(track) {
var expected = [
{ line: 100, position: "auto", align: "start", vertical: "" },
- { line: 15, position: 40, align: "middle", vertical: "rl" },
- { line: "auto", position: 10, align: "middle", vertical: "" },
+ { line: 15, position: 40, align: "center", vertical: "rl" },
+ { line: "auto", position: 10, align: "center", vertical: "" },
{ line: 95, position: "auto", align: "end", vertical: "lr" }
];
@@ -17,12 +17,12 @@ check_cues_from_track("captions-webvtt/tc013-settings.vtt", function(track) {
check_cues_from_track("captions-webvtt/tc013-settings-bad-separation.vtt", function(track) {
var expected = [
- { line: 43, position: 10, align: "middle", vertical: "" },
+ { line: 43, position: 10, align: "center", vertical: "" },
{ line: "auto", position: 50, align: "end", vertical: "" },
- { line: "auto", position: "auto", align: "middle", vertical: "" },
- { line: "auto", position: 90, align: "middle", vertical: "lr" }
+ { line: "auto", position: "auto", align: "center", vertical: "" },
+ { line: "auto", position: 90, align: "center", vertical: "lr" }
];
assert_cues_match(track.cues, expected);
});
-</script>
+</script>

Powered by Google App Engine
This is Rietveld 408576698