Changes to WebVTT cue settings

This is a note to inform everyone that as a consequence to bug
https://www.w3.org/Bugs/Public/show_bug.cgi?id=14929 several changes
were made to align the naming of the attributes in the TextTrack API
of HTML with the naming of cue setting in WebVTT.

Here is the list of changes:
* in WebVTT, the "direction" cue setting was changed to "vertical" and
now accepts the "lr" and "rl" values (which aligns it with CSS); if
you want horizontal text, you don't use this setting or leave the
value empty
* in the TextTrack API the names of the attributes are aligned with
WebVTT cue settings: .align instead of .alignment, .line instead of
.linePosition, and .position instead of .textPosition

Cheers,
Silvia.

Received on Wednesday, 22 February 2012 21:01:14 UTC