Summary: | Clicking outside captions menu should dismiss it | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dean Jackson <dino> | ||||
Component: | New Bugs | Assignee: | Dean Jackson <dino> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | eric.carlson, feature-media-reviews, gyuyoung.kim, ojan.autocc, rakuco, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Dean Jackson
2013-02-12 18:47:27 PST
Created attachment 187992 [details]
Patch
Comment on attachment 187992 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=187992&action=review > Source/WebCore/html/shadow/MediaControlsApple.cpp:283 > + if (event->type() == eventNames().clickEvent) { > + if (m_closedCaptionsContainer && m_closedCaptionsContainer->isShowing()) > + m_closedCaptionsContainer->hide(); You should stop the event propagation so it doesn't get any further, and eg. pause playback in a media document. Committed r142774: <http://trac.webkit.org/changeset/142774> |