Bug 129473 - webkitHasClosedCaptions and webkitClosedCaptionsVisible are on HTMLMediaElement, but should be on HTMLVideoElement
Summary: webkitHasClosedCaptions and webkitClosedCaptionsVisible are on HTMLMediaEleme...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-02-28 00:44 PST by James Craig
Modified: 2014-03-03 16:08 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Craig 2014-02-28 00:44:23 PST
webkitHasClosedCaptions and webkitClosedCaptionsVisible are on HTMLMediaElement, but should be on HTMLVideoElement. It doesn't make sense for an audio element to have captions, so this interface should be limited to video.
Comment 1 Radar WebKit Bug Importer 2014-02-28 00:44:40 PST
<rdar://problem/16193927>
Comment 2 Eric Carlson 2014-02-28 15:01:14 PST
These attributes have been on HTMLMediaElement since 2009, and are widely used on a number of large sites. I am not sure it is worth moving them to HTMLVideoElement.
Comment 3 Jon Lee 2014-02-28 18:42:37 PST
FWIW, text tracks are on HTMLMediaElement.
Comment 4 James Craig 2014-03-03 16:08:25 PST
Closing.