Closed Bug 950049 Opened 11 years ago Closed 11 years ago

[WebVTT] Rename VTTCue::TextTrackCueAlign to "AlignSetting" as per spec

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: reyre, Assigned: reyre)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This has been added to the spec and its name has changed.
Assignee: nobody → rick.eyre
Blocks: webvtt
Comment on attachment 8347245 [details] [diff] [review] Bug 950049 - Rename VTTCue::TextTrackCueAlign to AlignSetting r=rillian Review of attachment 8347245 [details] [diff] [review]: ----------------------------------------------------------------- Looks like the default needs updating as well? ::: content/media/TextTrackCue.cpp @@ +40,4 @@ > mPauseOnExit = false; > mSnapToLines = true; > mLine = WEBVTT_AUTO; > + mAlign = AlignSetting::Middle; "A text track cue has a default text track cue line alignment of start." http://dev.w3.org/html5/webvtt/#dfn-text-track-cue-line-alignment Also in the parsing section, "Let cue's text track cue line alignment be start alignment." WebVTT parser algorithm step 22.7.
Attachment #8347245 - Flags: review?(giles) → review-
(In reply to Ralph Giles (:rillian) from comment #2) > "A text track cue has a default text track cue line alignment of start." > http://dev.w3.org/html5/webvtt/#dfn-text-track-cue-line-alignment That's for the text track cue line alignment. This is for the text track cue text alignment: http://dev.w3.org/html5/webvtt/#dfn-text-track-cue-text-alignment. They've added some more alignment values recently: positionAlign and lineAlign. http://dev.w3.org/html5/webvtt/#vttcue-interface
Attachment #8347245 - Flags: review?(giles)
Attachment #8347245 - Flags: review?(giles)
Attachment #8347245 - Flags: review- → review?(giles)
Comment on attachment 8347245 [details] [diff] [review] Bug 950049 - Rename VTTCue::TextTrackCueAlign to AlignSetting r=rillian Review of attachment 8347245 [details] [diff] [review]: ----------------------------------------------------------------- I stand corrected. That's not confusing at all!
Attachment #8347245 - Flags: review?(giles) → review+
(In reply to Ralph Giles (:rillian) from comment #4) > Comment on attachment 8347245 [details] [diff] [review] > I stand corrected. That's not confusing at all! Yeah, it hurts my brain a lot of the time. Thanks for review! Try push: https://tbpl.mozilla.org/?tree=Try&rev=85ce8f2ee0a3
Try looks good.
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: