Backed out changeset 79323e71de55 (bug 1276831)
authorSebastian Hengst <archaeopteryx@coole-files.de>
Tue, 14 Jun 2016 14:33:29 +0200
changeset 301745 76cffbe704e27cf82cf062aa2ef5f385966224ed
parent 301744 58641c44fc7f5f03ede954ad96eac80d66978cdd
child 301746 803228efe10858012ab159a694d913de136bc9e2
push id78437
push userarchaeopteryx@coole-files.de
push dateTue, 14 Jun 2016 12:36:05 +0000
treeherdermozilla-inbound@017c7d55f22f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1276831
milestone50.0a1
backs out79323e71de55371e66aff9a04adb3eff1235c26d
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 79323e71de55 (bug 1276831)
dom/media/webvtt/vtt.jsm
--- a/dom/media/webvtt/vtt.jsm
+++ b/dom/media/webvtt/vtt.jsm
@@ -226,17 +226,23 @@ this.EXPORTED_SYMBOLS = ["WebVTT"];
       // Apply default values for any missing fields.
       cue.region = settings.get("region", null);
       cue.vertical = settings.get("vertical", "");
       cue.line = settings.get("line", "auto");
       cue.lineAlign = settings.get("lineAlign", "start");
       cue.snapToLines = settings.get("snapToLines", true);
       cue.size = settings.get("size", 100);
       cue.align = settings.get("align", "middle");
-      cue.position = settings.get("position", "auto");
+      cue.position = settings.get("position", {
+        start: 0,
+        left: 0,
+        middle: 50,
+        end: 100,
+        right: 100
+      }, cue.align);
       cue.positionAlign = settings.get("positionAlign", "center");
     }
 
     function skipWhitespace() {
       input = input.replace(/^\s+/, "");
     }
 
     // 4.1 WebVTT cue timings.