diff --git a/index.bs b/index.bs index 593458c..7920e42 100644 --- a/index.bs +++ b/index.bs @@ -1,7 +1,7 @@
 Title: WebVTT: The Web Video Text Tracks Format
 H1: WebVTT: The Web Video Text Tracks Format
-Shortname: webvtt1
+Shortname: webvtt
 Status: CG-DRAFT
 Group: texttracks
 ED: https://w3c.github.io/webvtt/
@@ -21,6 +21,8 @@ Boilerplate: omit conformance, omit feedback-header
 Ignored Terms: unicode-bidi, color, text-combine-upright, text-wrap
 Ignored Vars: seconds-frac, selector, fragment, seen cue
 
+
+
 
@@ -4830,7 +4832,7 @@ interface VTTCue : TextTrackCue {
 
 
-
|cue| = new VTTCue( |startTime|, |endTime|, |text| )
+
|cue| = new VTTCue( |startTime|, |endTime|, |text| )

Returns a new {{VTTCue}} object, for use with the {{TextTrack/addCue()}} method.

The |startTime| argument sets the text track cue start time.

@@ -4948,7 +4950,7 @@ interface VTTCue : TextTrackCue {
-

The VTTCue(|startTime|, |endTime|, |text|) +

The VTTCue(|startTime|, |endTime|, |text|) constructor, when invoked, must run the following steps:

    diff --git a/index.html b/index.html index 0461a45..56b167b 100644 --- a/index.html +++ b/index.html @@ -1019,7 +1019,7 @@

    WebVTT: The Web Video Text Tracks Format

    -

    Draft Community Group Report,

    +

    Draft Community Group Report,

    This version: @@ -4407,7 +4407,7 @@

    LineAlignSetting { "start", "center", "end" }; enum PositionAlignSetting { "start", "center", "end", "auto" }; enum AlignSetting { "start", "center", "end", "left", "right" }; -[Constructor(double startTime, double endTime, DOMString text)] +[Constructor(double startTime, double endTime, DOMString text)] interface VTTCue : TextTrackCue { attribute VTTRegion? region; attribute DirectionSetting vertical; @@ -4529,7 +4529,7 @@

    text track cue text as a DocumentFragment of HTML elements and other DOM nodes.

    -

    The VTTCue(startTime, endTime, text) constructor, when invoked, must run the following steps:

    +

    The VTTCue(startTime, endTime, text) constructor, when invoked, must run the following steps:

    1. Create a new WebVTT cue. Let cue be that WebVTT cue.

      @@ -4968,7 +4968,6 @@

      vertical, in §7.1
    2. viewportAnchorX, in §7.2
    3. viewportAnchorY, in §7.2 -
    4. VTTCue(), in §7.1
    5. VTTCue, in §7.1
    6. VTTCue(startTime, endTime, text), in §7.1
    7. VTTRegion(), in §7.2 @@ -5359,7 +5358,7 @@

      IDL Inde enum LineAlignSetting { "start", "center", "end" }; enum PositionAlignSetting { "start", "center", "end", "auto" }; enum AlignSetting { "start", "center", "end", "left", "right" }; -[Constructor(double startTime, double endTime, DOMString text)] +[Constructor(double startTime, double endTime, DOMString text)] interface VTTCue : TextTrackCue { attribute VTTRegion? region; attribute DirectionSetting vertical; diff --git a/snapshot.sh b/snapshot.sh index 67a41a4..10bbf62 100755 --- a/snapshot.sh +++ b/snapshot.sh @@ -3,9 +3,10 @@ STATUS=$1 NEW_DATE=$2 +PREV_URL=$(echo $3 | sed -e 's#/#\\/#g') -USAGE="\n\nUsage: $0 \n\ -For example: $0 WD 2015-10-31" +USAGE="\n\nUsage: $0 \n\ +For example: $0 WD 2015-10-31 http://www.w3.org/TR/2014/WD-webvtt1-20141113/" case $(uname) in *Darwin*) @@ -49,7 +50,13 @@ check "Replace Status metadata" replace "1,/^$/s/^$/Date: $NEW_DATE/" index.temp.bs check "Add Date metadata" -bikeshed spec index.temp.bs archives/$NEW_DATE/index.html +replace "1,/^$/s/^$/Previous Version: $PREV_URL/" index.temp.bs +check "Add Previous Version metadata" + +replace "1,/^$/s/^$/TR: http:\/\/www.w3.org\/TR\/webvtt-1\//" index.temp.bs +check "Add TR metadata" + +bikeshed spec index.temp.bs archives/$NEW_DATE/Overview.html check "Generate with bikeshed" rm index.temp.bs