diff --git a/archives/2015-12-10/Overview.html b/archives/2015-12-08/Overview.html similarity index 98% rename from archives/2015-12-10/Overview.html rename to archives/2015-12-08/Overview.html index 102e846..3962024 100644 --- a/archives/2015-12-10/Overview.html +++ b/archives/2015-12-08/Overview.html @@ -1,3 +1,4 @@ + @@ -363,16 +364,6 @@ text-decoration: none; border-bottom: 1px solid silver; } - @supports (text-decoration-color: silver) { - a:link, a:visited { - border-bottom: none; - text-decoration: underline; - text-decoration-color: silver; - } - a:visited { - text-decoration-style: dotted; - } - } a.logo:link, a.logo:visited { /* backout above styling for W3C logo */ padding: 0; @@ -852,12 +843,6 @@ ul.toc, ul.toc ul, ul.toc li { padding: 0; line-height: 1.3; } ul.toc a { text-decoration: none; border-bottom-style: none; } ul.toc a:hover, ul.toc a:focus { border-bottom-style: solid; } - @supports (text-decoration-style: solid) { - ul.toc a:hover, ul.toc a:focus { - border-bottom-style: none; - text-decoration-style: solid; - } - } /* ul.toc li li li, ul.toc li li li ul {margin-left: 0; display: inline} ul.toc li li li ul, ul.toc li li li ul li {margin-left: 0; display: inline} @@ -908,7 +893,7 @@ /* Index Lists: Layout */ ul.indexlist { margin-left: 0; columns: 15em; -webkit-columns: 15em; text-indent: 1em hanging; } - ul.indexlist li { margin-left: 0; list-style: none; break-inside: avoid; word-break: break-word; } + ul.indexlist li { margin-left: 0; list-style: none; break-inside: avoid; } ul.indexlist li li { margin-left: 1em } ul.indexlist dl { margin-top: 0; } ul.indexlist dt { margin: .2em 0 .2em 20px;} @@ -1044,13 +1029,13 @@

WebVTT: The Web Video Text Tracks Format

-

W3C Working Draft

+

W3C Working Draft

This version: -
http://www.w3.org/TR/2015/WD-webvtt-1-20151210/ +
http://www.w3.org/TR/2015/WD-webvtt1-20151208/
Latest version: -
http://www.w3.org/TR/webvtt-1/ +
http://www.w3.org/TR/webvtt1/
Editor's Draft:
https://w3c.github.io/webvtt/
Previous Versions: @@ -1058,7 +1043,7 @@

https://github.com/w3c/web-platform-tests/tree/master/webvtt
Editor: -
(Opera Software ASA) +
(Opera Software ASA)
Former Editors:
(Apple Inc.)
(NICTA) @@ -1103,16 +1088,15 @@

5 February 2004 W3C Patent Policy. - W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; + W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.

-

This document is governed by the 1 August 2014 W3C Process Document.

-

+

This document is governed by the 1 September 2015 W3C Process Document.

@@ -1273,7 +1257,7 @@

- +

These captions on a public service announcement video demonstrate line breaking:

WEBVTT
 
@@ -1290,7 +1274,7 @@ 

The first cue is simple, it will probably just display on one line. The second will take two lines, one for each speaker. The third will wrap to fit the width of the video, possibly taking multiple lines. For example, the three cues could look like this:

-
           Never drink liquid nitrogen.
+
           Never drink liquid nitrogen.
 
         — It will perforate your stomach.
                 — You could die.
@@ -1303,7 +1287,7 @@ 

If the width of the cues is smaller, the first two cues could wrap as well, as in the following example. Note how the second cue’s explicit line break is still honored, however:

-
      Never drink
+
      Never drink
     liquid nitrogen.
 
   — It will perforate
@@ -1329,7 +1313,7 @@ 

Comments are just blocks that are preceded by a blank line, start with the word "NOTE" (followed by a space or newline), and end at the first blank line.

- +

Here, a one-line comment is used to note a possible problem with a cue.

WEBVTT
 
@@ -1344,7 +1328,7 @@ 

- +

In this example, the author has written many comments.

WEBVTT
 
@@ -1374,7 +1358,7 @@ 

1.

CSS stylesheets that apply to an HTML page that contains a video element can target WebVTT cues and regions in the video using the ::cue, ::cue() and ::cue-region pseudo-elements.

- +

In this example, an HTML page has a CSS stylesheet in a style element that styles all cues in the video with a gradient background and a text color, as well as changing the text color for all WebVTT Bold Objects in cues in the video.

@@ -1410,7 +1394,7 @@

1. "-->" appears inside a CSS string, then it can use CSS escaping e.g. "--\>".

- +

This example shows how cues can be styled with style blocks in WebVTT.

WEBVTT
 
@@ -1439,7 +1423,7 @@ 

This section is non-normative.

WebVTT also supports some less-often used features.

- +

In this example, the cues have an identifier:

WEBVTT
 
@@ -1458,7 +1442,7 @@ 

- +

This example shows how classes can be used on elements, which can be helpful for localization or maintainability of styling, and also how to indicate a language change in the cue text.

WEBVTT
@@ -1471,7 +1455,7 @@ 

- +

In this example, each cue says who is talking using voice spans. In the first cue, the span specifying the speaker is also annotated with two classes, "first" and "loud". In the third cue, there is also some italics text (not associated with a specific speaker). The last cue is annotated @@ -1500,7 +1484,7 @@

- +

This example shows how to position cues at explicit positions in the video viewport.

WEBVTT
 
@@ -1538,7 +1522,7 @@ 

- +

This example shows two regions containing rollup captions for two different speakers. Fred’s cues scroll up in a region in the left half of the video, Bill’s cues scroll up in a region on the right half of the video. Fred’s first cue disappears at 12.5sec even though it is defined until @@ -1819,7 +1803,7 @@

3.1. a line would produce the wrong base direction for that line, the author can use an U+200E LEFT-TO-RIGHT MARK or U+200F RIGHT-TO-LEFT MARK character at the start of the line to correct it. [BIDI]

- +

In this example, the second cue will have a right-to-left base direction, rendering as ".I think ,يلاع". (Note that the text below shows all characters left-to-right; a text editor would not necessarily have the same @@ -1839,7 +1823,7 @@

3.1. from the surrounding text on that line, this can be achieved by using the paired Unicode bidi formatting code characters.

- +

In this example, assuming no bidi formatting code characters are used, the cue text is rendered as "I’ve read the book 3 דנליונ times!" (i.e. the "3" is on the wrong side of the book title) because of the effect @@ -1860,7 +1844,7 @@

3.1. line match the base direction of the line (e.g. left for English, right for Hebrew), use start alignment, or end alignment for the opposite alignment.

- +

In this example, start alignment is used. The first line is left-aligned because the base direction is left-to-right, and the second line is right-aligned because the base direction is right-to-left.

@@ -1885,7 +1869,7 @@

3.1. cues are the rules for updating the display of WebVTT text tracks.

When a WebVTT cue whose active flag is set has its writing direction, snap-to-lines flag, line, position, size, text - alignment, region, or text change + alignment, region, or text change value, then the user agent must empty the text track cue display state, and then immediately run the text track’s rules for updating the display of WebVTT text tracks.

@@ -2036,17 +2020,17 @@

WebVTT timestamp consists of the following components, in the given order:

  1. - Optionally (required if hours is non-zero): + Optionally (required if hours is non-zero):
    1. Two or more ASCII digits, representing the hours as a base ten integer.
    2. A U+003A COLON character (:)
  2. Two ASCII digits, representing the minutes as a base ten integer in the range - 0 ≤ minutes ≤ 59. + 0 ≤ minutes ≤ 59.
  3. A U+003A COLON character (:)
  4. Two ASCII digits, representing the seconds as a base ten integer in the range - 0 ≤ seconds ≤ 59. + 0 ≤ seconds ≤ 59.
  5. A U+002E FULL STOP character (.).
  6. Three ASCII digits, representing the thousandths of a second seconds-frac as a base ten integer. @@ -2071,7 +2055,7 @@

    ASCII digits.
  7. - Optionally: + Optionally:
    1. A U+002E DOT character (.).
    2. One or more ASCII digits. @@ -2083,10 +2067,10 @@

      NOTE".
    3. - Optionally, the following components, in the given order: + Optionally, the following components, in the given order:
      1. - Either: + Either:
        • A U+0020 SPACE character or U+0009 CHARACTER TABULATION (tab) character.
        • A WebVTT line terminator. @@ -2139,7 +2123,7 @@

        • A WebVTT cue span start tag "ruby" that disallows an annotation.
        • - One or more occurrences of the following group of components, in the order given: + One or more occurrences of the following group of components, in the order given:
          1. WebVTT cue internal text, representing the ruby base.
          2. A WebVTT cue span start tag "rt" that disallows an annotation. @@ -2178,14 +2162,14 @@

            The requirement above regarding valid BCP 47 language tag is an authoring requirement, so a conformance checker will do validity checking of the language tag, but other user agents will not.

            -

            A WebVTT cue span start tag has a tag name and either +

            A WebVTT cue span start tag has a tag name and either requires or disallows an annotation, and consists of the following components, in the order given:

            1. A U+003C LESS-THAN SIGN character (<).
            2. The tag name.
            3. - Zero or more occurrences of the following sequence: + Zero or more occurrences of the following sequence:
              1. U+002E FULL STOP character (.)
              2. One or more characters other than U+0009 CHARACTER TABULATION (tab) characters, U+000A LINE @@ -2389,10 +2373,10 @@

                WebVTT cue setting value: + As the WebVTT cue setting value:
                1. - an offset value, either: + an offset value, either:
                  To represent a specific offset relative to the video viewport
                  @@ -2405,7 +2389,7 @@

                  start", "center", @@ -2429,11 +2413,11 @@

                  WebVTT cue setting value: + As the WebVTT cue setting value:
                  1. a position value consisting of: a WebVTT percentage.
                  2. - an optional alignment value consisting of: + an optional alignment value consisting of:
                    1. A U+002C COMMA character (,).
                    2. One of the following strings: "start", "center", @@ -2497,7 +2481,7 @@

                    3. or cue1 fully contains cue2, i.e. x1 <= x2 and y1 >= y2.

        - +

        The following example matches this definition:

        WEBVTT
         
        @@ -2522,16 +2506,16 @@ 

        Notice how you can express the cues in this WebVTT file as a tree structure:

        • - WebVTT file + WebVTT file
          • - Introduction + Introduction
            • Topics
            • Presenters
          • - Scrolling Effects + Scrolling Effects

    4. Collect WebVTT cue timings and settings from line using regions for cue. @@ -2819,7 +2803,7 @@

      text track cue text of cue be buffer, and return cue.

      +

      If cue is not null, let the text track cue text of cue be buffer, and return cue.

    5. Otherwise, if stylesheet is not null, then Parse a stylesheet from buffer. If it returned a list of rules, assign the list as stylesheet’s CSS rules; otherwise, set stylesheet’s CSS rules to an empty list. [CSSOM] [CSS-SYNTAX-3] Finally, return stylesheet.

      @@ -2840,7 +2824,7 @@

      Let settings be the result of splitting input on spaces.

    6. - For each token setting in the list settings, run the following substeps: + For each token setting in the list settings, run the following substeps:
      1. If setting does not contain a U+003D EQUALS SIGN character (=), or if the first U+003D @@ -3679,7 +3663,7 @@

      2. Let nodes be the list of WebVTT Node Objects obtained by applying the WebVTT cue - text parsing rules to the cue’s text track cue text.

        + text parsing rules to the cue’s text track cue text.

      3. Return the concatenation of the values of each WebVTT Text Object in nodes, in a pre-order, depth-first traversal, excluding WebVTT Ruby Text @@ -3780,7 +3764,7 @@

      4. Let nodes be the list of WebVTT Node Objects obtained by applying the WebVTT - cue text parsing rules, with the fallback language language if provided, to the cue’s text track cue text.

        + cue text parsing rules, with the fallback language language if provided, to the cue’s text track cue text.

      5. If cue’s WebVTT cue region is null, run the following substeps:

          @@ -3998,7 +3982,7 @@

          video element’s document.

          - +

          For example, given the following (invalid) HTML document:

          <!doctype html>
           <title>Invalid cascade example</title>
          @@ -4079,7 +4063,7 @@ 

          These dimensions must not be adjusted for overscan. (The algorithm does that separately.)

        1. -

          Let max dimension be full dimension - (2 ×  margin).

          +

          Let max dimension be full dimension - (2 × margin).

        2. Horizontal: Let step be the height of the first line box in boxes.

          Vertical: Let step be the width of the first line box in boxes.

          @@ -4208,7 +4192,7 @@

          text-wrap property must be set to balance [CSS-TEXT-4]

          The variables writing-mode, top, left, width, and height are the values with those -names determined by the rules for updating the display of WebVTT text tracks for the WebVTT cue from whose text the list of WebVTT Node +names determined by the rules for updating the display of WebVTT text tracks for the WebVTT cue from whose text the list of WebVTT Node Objects was constructed.

          The text-align property on the (root) list of WebVTT Node Objects must be set to the value in the second cell of the row of the table below whose first cell is the value of the @@ -4475,7 +4459,7 @@

          VTTCue object, for use with the addCue() method.

          The startTime argument sets the text track cue start time.

          The endTime argument sets the text track cue end time.

          -

          The text argument sets the text track cue text.

          +

          The text argument sets the text track cue text.

          cue . region

          Returns the VTTRegion object to which this cue belongs, if any, or null otherwise.

          @@ -4569,11 +4553,11 @@

          text [ = value ]
          -

          Returns the text track cue text in raw unparsed form.

          +

          Returns the text track cue text in raw unparsed form.

          Can be set.

          fragment = cue . getCueAsHTML()
          -

          Returns the text track cue text as a DocumentFragment of HTML +

          Returns the 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:

          @@ -4587,7 +4571,7 @@

          text track cue end time be the value of the endTime argument, interpreted as a time in seconds.

        3. -

          Let cue’s text track cue text be the value of the text argument, and let the rules for extracting the chapter title be the WebVTT rules for extracting the chapter +

          Let cue’s text track cue text be the value of the text argument, and let the rules for extracting the chapter title be the WebVTT rules for extracting the chapter title.

        4. Let cue’s text track cue identifier be the empty string.

          @@ -4729,12 +4713,12 @@

          WebVTT cue text alignment must be set to the value given in the first cell of the row in the table above whose second cell is a case-sensitive match for the new value.

          -

          The text attribute, on getting, must return the raw text track -cue text of the WebVTT cue that the VTTCue object represents. On setting, the text +

          The text attribute, on getting, must return the raw text track +cue text of the WebVTT cue that the VTTCue object represents. On setting, the text track cue text must be set to the new value.

          -

          The getCueAsHTML() method must convert the text track cue +

          The getCueAsHTML() method must convert the text track cue text to a DocumentFragment for the responsible document specified by the entry settings object by applying the WebVTT cue text DOM construction rules to -the result of applying the WebVTT cue text parsing rules to the text track cue +the result of applying the WebVTT cue text parsing rules to the text track cue text.

          A fallback language is not provided for getCueAsHTML() since a DocumentFragment cannot expose language information.

          7.2. The VTTRegion interface

          @@ -4877,9 +4861,9 @@

            -
          • EF BB BF 57 45 42 56 54 54 0A -
          • EF BB BF 57 45 42 56 54 54 0D -
          • EF BB BF 57 45 42 56 54 54 20 -
          • EF BB BF 57 45 42 56 54 54 09 -
          • EF BB BF 57 45 42 56 54 54 EOF -
          • 57 45 42 56 54 54 0A -
          • 57 45 42 56 54 54 0D -
          • 57 45 42 56 54 54 20 -
          • 57 45 42 56 54 54 09 -
          • 57 45 42 56 54 54 EOF +
          • EF BB BF 57 45 42 56 54 54 0A +
          • EF BB BF 57 45 42 56 54 54 0D +
          • EF BB BF 57 45 42 56 54 54 20 +
          • EF BB BF 57 45 42 56 54 54 09 +
          • EF BB BF 57 45 42 56 54 54 EOF +
          • 57 45 42 56 54 54 0A +
          • 57 45 42 56 54 54 0D +
          • 57 45 42 56 54 54 20 +
          • 57 45 42 56 54 54 09 +
          • 57 45 42 56 54 54 EOF

          (An optional UTF-8 BOM, the ASCII string "WEBVTT", and finally a space, tab, line break, or the end of the file.)

          @@ -5270,7 +5254,7 @@

          width
        5. - [cssom] defines the following terms: + [cssom] defines the following terms:
          • alternate flag
          • create a css style sheet diff --git a/archives/2015-12-10/webvtt-region-diagram.png b/archives/2015-12-08/webvtt-region-diagram.png similarity index 100% rename from archives/2015-12-10/webvtt-region-diagram.png rename to archives/2015-12-08/webvtt-region-diagram.png