diff --git a/webvtt.html b/webvtt.html index e5d5108..9a4b8de 100644 --- a/webvtt.html +++ b/webvtt.html @@ -5409,8 +5409,6 @@

VTTRegion interface

enum ScrollSetting { "" /* none */, "up" }; [Constructor] interface VTTRegion { - readonly attribute TextTrack? track; - attribute DOMString id; attribute double width; attribute long lines; attribute double regionAnchorX; @@ -5427,16 +5425,6 @@

VTTRegion interface

Returns a new VTTRegion object, for use with the addRegion() method.

-
region . track
-
-

Returns the TextTrack object to which this text track region belongs, if any, or null otherwise.

-
- -
region . id
-
-

Returns the text track region identifier. Can be set.

-
-
region . width

Returns the text track region width as a percentage of the video width. Can be set. Throws an IndexSizeError if the new value is not in the range 0.0% .. 100.0%.

@@ -5504,10 +5492,6 @@

VTTRegion interface

  • Return the VTTRegion object representing region.

  • -

    The track attribute, on getting, must return the TextTrack object of the text track in whose list of regions the text track region that the VTTRegion object represents finds itself, if any; or null otherwise.

    - -

    The id attribute, on getting, must return the text track region identifier of the text track region that the VTTRegion object represents. On setting, the text track region identifier must be set to the new value.

    -

    The width attribute, on getting, must return the text track region width of the text track region that the VTTRegion object represents, in percent of video width. On setting, the text track region width must be set to the new value, interpreted as a percentage.

    The lines attribute, on getting, must return the text track region lines of the text track region that the VTTRegion object represents, as number of lines. On setting, the text track region lines must be set to the new value, interpreted as a number of lines.