diff --git a/index.bs b/index.bs index 9a1390a..51b8510 100644 --- a/index.bs +++ b/index.bs @@ -54,6 +54,7 @@ urlPrefix: https://html.spec.whatwg.org/multipage/ urlPrefix: dom.html text: title; url: #attr-title text: lang; url: #attr-lang + text: class; url: #classes urlPrefix: https://encoding.spec.whatwg.org/ type: dfn text: utf-8 decode @@ -3265,44 +3266,44 @@ Node Objects to DOM nodes:

List of WebVTT Node Objects - {{DocumentFragment}} node + {{DocumentFragment}} node. WebVTT Region Object - {{DocumentFragment}} node + {{DocumentFragment}} node. WebVTT Class Object - {{HTMLElement}} element node with {{Node/localName}} "span". + HTML span element. WebVTT Italic Object - {{HTMLElement}} element node with {{Node/localName}} "i". + HTML i element. WebVTT Bold Object - {{HTMLElement}} element node with {{Node/localName}} "b". + HTML b element. WebVTT Underline Object - {{HTMLElement}} element node with {{Node/localName}} "u". + HTML u element. WebVTT Ruby Object - {{HTMLElement}} element node with {{Node/localName}} "ruby". + HTML ruby element. WebVTT Ruby Text Object - {{HTMLElement}} element node with {{Node/localName}} "rt". + HTML rt element. WebVTT Voice Object - {{HTMLElement}} element node with {{Node/localName}} "span", and a HTML span element with a title attribute set to the WebVTT Voice Object's value. WebVTT Language Object - {{HTMLElement}} element node with {{Node/localName}} "span", and a HTML span element with a lang attribute set to the WebVTT Language Object's applicable language. @@ -3322,11 +3323,12 @@ Node Objects to DOM nodes:

-

{{HTMLElement}} nodes created as part of the mapping described above must have their -{{Node/namespaceURI}} set to the HTML namespace, and, if the corresponding WebVTT Internal -Node Object has any applicable classes, must -have a class attribute set to the string obtained by concatenating all -those classes, each separated from the next by a single U+0020 SPACE character.

+

HTML elements created as part of the mapping described above must have their +{{Node/namespaceURI}} set to the HTML namespace, use the appropriate IDL interface as defined +in the HTML specification, and, if the corresponding WebVTT Internal Node Object has any applicable classes, must have a class attribute set to the string obtained by concatenating all those classes, each +separated from the next by a single U+0020 SPACE character.

The {{Node/ownerDocument}} attribute of all nodes in the DOM tree must be set to the given document owner.

diff --git a/index.html b/index.html index 181e640..6aed84a 100644 --- a/index.html +++ b/index.html @@ -1002,7 +1002,7 @@

WebVTT: The Web Video Text Tracks Format

-

Draft Community Group Report,

+

Draft Community Group Report,

This version: @@ -3382,34 +3382,34 @@

List of WebVTT Node Objects - DocumentFragment node + DocumentFragment node. WebVTT Region Object - DocumentFragment node + DocumentFragment node. WebVTT Class Object - HTMLElement element node with localName "span". + HTML span element. WebVTT Italic Object - HTMLElement element node with localName "i". + HTML i element. WebVTT Bold Object - HTMLElement element node with localName "b". + HTML b element. WebVTT Underline Object - HTMLElement element node with localName "u". + HTML u element. WebVTT Ruby Object - HTMLElement element node with localName "ruby". + HTML ruby element. WebVTT Ruby Text Object - HTMLElement element node with localName "rt". + HTML rt element. WebVTT Voice Object - HTMLElement element node with localName "span", and a title attribute set to the WebVTT Voice Object’s value. + HTML span element with a title attribute set to the WebVTT Voice Object’s value. WebVTT Language Object - HTMLElement element node with localName "span", and a lang attribute set to the WebVTT Language Object’s applicable language. + HTML span element with a lang attribute set to the WebVTT Language Object’s applicable language. WebVTT Text Object Text node whose data is the value of the WebVTT Text @@ -3421,10 +3421,9 @@

hours component is less than ten, and with no leading zeros otherwise. -

HTMLElement nodes created as part of the mapping described above must have their namespaceURI set to the HTML namespace, and, if the corresponding WebVTT Internal -Node Object has any applicable classes, must -have a class attribute set to the string obtained by concatenating all -those classes, each separated from the next by a single U+0020 SPACE character.

+

HTML elements created as part of the mapping described above must have their namespaceURI set to the HTML namespace, use the appropriate IDL interface as defined +in the HTML specification, and, if the corresponding WebVTT Internal Node Object has any applicable classes, must have a class attribute set to the string obtained by concatenating all those classes, each +separated from the next by a single U+0020 SPACE character.

The ownerDocument attribute of all nodes in the DOM tree must be set to the given document owner.

All characteristics of the DOM nodes that are not described above or dependent on characteristics @@ -5018,10 +5017,8 @@

ProcessingInstruction
  • Text
  • case-sensitive -
  • class
  • data
  • html namespace -
  • localName
  • namespaceURI
  • ownerDocument
  • target @@ -5029,15 +5026,20 @@

    [HTML] defines the following terms: