VOOZH about

URL: https://bugzilla.mozilla.org/show_bug.cgi?id=1415821

⇱ 1415821 - [webvtt] support multi-line region parsing.


Closed Bug 1415821 Opened 8 years ago Closed 8 years ago

[webvtt] support multi-line region parsing.

[webvtt] support multi-line region parsing.
Core
Audio/Video: Playback
unspecified
Unspecified
Unspecified
enhancement
Points:
---
RESOLVED FIXED
RESOLVED
FIXED
mozilla59
Iteration:
---
a11y-review
Accessibility Severity
Performance Impact
Size Estimate
Webcompat Priority
Webcompat Score
Tracking Status
firefox59 --- fixed
Tracking Status
relnote-firefox
thunderbird_esr115
thunderbird_esr140
firefox-esr115
firefox-esr140
firefox-esr153
firefox59
firefox152
firefox153
firefox154
---
QA Whiteboard:
---
Has STR:
---
Change Request:
---
Bug Flags:
Signature:
None
This bug is publicly visible.

 
https://www.w3.org/TR/webvtt1/#introduction-other-features example 10: REGION id:fred width:40% lines:3 regionanchor:0%,100% viewportanchor:10%,90% scroll:up ... Now our parser only support only one line parsing.
Priority: -- → P3
Comment hidden (mozreview-request)
Attachment #8927751 - Flags: review?(alwu)
Attachment #8927752 - Flags: review?(alwu)
Comment hidden (mozreview-request)

Comment 3

8 years ago
mozreview-review
Attachment #8927752 - Flags: review?(alwu) → review+
Per offline discussion, will review the patch again after passing tests.
Comment hidden (mozreview-request)
Comment hidden (mozreview-request)
Comment hidden (mozreview-request)
Attachment #8928412 - Flags: review?(alwu)
Comment hidden (mozreview-request)
Comment hidden (mozreview-request)

Comment 10

8 years ago
mozreview-review
Comment on attachment 8927751 [details] Bug 1415821 - Support multi-line parsing for REGION/STYLE block. https://reviewboard.mozilla.org/r/199020/#review204786
Attachment #8927751 - Flags: review?(alwu) → review+

Comment 11

8 years ago
mozreview-review
Comment on attachment 8928412 [details] Bug 1415821 - Correct the behavior for BADCUE state. https://reviewboard.mozilla.org/r/199636/#review204788 ::: dom/media/webvtt/vtt.jsm:1360 (Diff revision 1) > } > > var nextIteration = false; > while (nextIteration || self.buffer) { > nextIteration = false; > - if (!line) { > + if (self.state == "BADCUE") { Per offline discussed, should handle "BADCUE" in the following switch statement.
Comment hidden (mozreview-request)
Attachment #8928412 - Attachment description: Bug 1415821 - When parsing cue change to BADCUE state, should not call collectNextLine(). → Bug 1415821 - Correct the behavior for BADCUE state.

Comment 13

8 years ago
mozreview-review
Attachment #8928412 - Flags: review?(alwu) → review+
Assignee

Updated

8 years ago
Keywords: checkin-needed
Pushed by rgurzau@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0f276f1cc275 Modify .vtt REGION syntax. r=alwu https://hg.mozilla.org/integration/autoland/rev/1786297a20df Support multi-line parsing for REGION/STYLE block. r=alwu https://hg.mozilla.org/integration/autoland/rev/5a9fbe6806cf Correct the behavior for BADCUE state. r=alwu
Keywords: checkin-needed
Firefox 59 for developers now notes this change.
You need to log in before you can comment on or make changes to this bug.