Bug 116546 - TextTrackRegion Not Implemented
Summary: TextTrackRegion Not Implemented
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on: 110511 130094 130410
Blocks: 109570
  Show dependency treegraph
 
Reported: 2013-05-21 09:00 PDT by Brent Fulgham
Modified: 2014-03-18 19:55 PDT (History)
12 users (show)

See Also:


Attachments
Patch (23.87 KB, patch)
2014-03-18 10:27 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff
Patch (49.09 KB, patch)
2014-03-18 13:44 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff
Patch (23.48 KB, patch)
2014-03-18 16:55 PDT, Brent Fulgham
eric.carlson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2013-05-21 09:00:17 PDT
The Chromium team landed a partial implementation for the TextTrackRegion. From the original bug (see https://bugs.webkit.org/show_bug.cgi?id=110511):  '... defined in the "WebVTT Extension: Regions for rendering cue groups":
https://dvcs.w3.org/hg/text-tracks/raw-file/default/608toVTT/region.html'

I noticed that this feature is disabled on all current WebKit ports (specifically on Apple's Windows and Mac ports).

We should either activate this feature and begin testing it, or remove the code.
Comment 1 Radar WebKit Bug Importer 2013-05-21 09:00:55 PDT
<rdar://problem/13949553>
Comment 2 Eric Carlson 2013-05-21 10:21:24 PDT
(In reply to comment #0)
> The Chromium team landed a partial implementation for the TextTrackRegion. From the original bug (see https://bugs.webkit.org/show_bug.cgi?id=110511):  '... defined in the "WebVTT Extension: Regions for rendering cue groups":
> https://dvcs.w3.org/hg/text-tracks/raw-file/default/608toVTT/region.html'
> 
> I noticed that this feature is disabled on all current WebKit ports (specifically on Apple's Windows and Mac ports).
> 
> We should either activate this feature and begin testing it, or remove the code.

This feature is still being actively developed in the Text CG, e.g.:

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22121
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22114
Comment 3 Brent Fulgham 2014-03-17 15:44:22 PDT
Merge in initial Blink test cases for WebVTT:

https://codereview.chromium.org/25798003
Comment 4 Brent Fulgham 2014-03-18 10:27:56 PDT
Created attachment 227069 [details]
Patch
Comment 5 Eric Carlson 2014-03-18 10:37:55 PDT
Comment on attachment 227069 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=227069&action=review

> LayoutTests/TestExpectations:-15
> -# pending implementation completion and feature enabling
> -webkit.org/b/109570 media/track/regions-webvtt [ Skip ]

Unless regions have been enabled in all builds, this will make the bots very sad.
Comment 6 Brent Fulgham 2014-03-18 10:39:22 PDT
(In reply to comment #5)
> (From update of attachment 227069 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=227069&action=review
> 
> > LayoutTests/TestExpectations:-15
> > -# pending implementation completion and feature enabling
> > -webkit.org/b/109570 media/track/regions-webvtt [ Skip ]
> 
> Unless regions have been enabled in all builds, this will make the bots very sad.

I'll back this out -- I mean to turn the tests on only at the end.
Comment 7 Brent Fulgham 2014-03-18 10:40:56 PDT
Committed r165815: <http://trac.webkit.org/changeset/165815>
Comment 8 WebKit Commit Bot 2014-03-18 11:53:43 PDT
Re-opened since this is blocked by bug 130410
Comment 9 Brent Fulgham 2014-03-18 13:44:25 PDT
Created attachment 227103 [details]
Patch
Comment 10 Brent Fulgham 2014-03-18 13:46:03 PDT
The VTT test failures were caused by a mistake I made when merging the WebVTTParser code. I'm rerunning tests with this fix and will post a patch shortly.
Comment 11 Brent Fulgham 2014-03-18 16:55:40 PDT
Created attachment 227131 [details]
Patch
Comment 12 Brent Fulgham 2014-03-18 19:55:14 PDT
Committed r165867: <http://trac.webkit.org/changeset/165867>