Bug 114691

Summary: MediaDocument should set a max-width on its <video> element.
Product: WebKit Reporter: Jer Noble <jer.noble>
Component: MediaAssignee: Jer Noble <jer.noble>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, eric.carlson, esprehn+autocc, glenn, gyuyoung.kim, philipj, sergio
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
eric.carlson: review+
Patch for landing
none
Patch for landing none

Description Jer Noble 2013-04-16 10:17:40 PDT
When a video element in a MediaDocument is too large for the browser window which contains it, the user must scroll left and right to access all the media controls.  Instead, the MediaDocument should set a CSS rule on its <video> element: "max-width: 100%".  This would scale the video side down to fit within the browser window.
Comment 1 Jer Noble 2013-04-16 10:27:34 PDT
Created attachment 198342 [details]
Patch
Comment 2 Jer Noble 2014-03-18 16:47:00 PDT
Created attachment 227130 [details]
Patch for landing
Comment 3 Jer Noble 2014-03-18 16:57:17 PDT
Created attachment 227133 [details]
Patch for landing
Comment 4 WebKit Commit Bot 2014-03-18 17:38:28 PDT
Comment on attachment 227133 [details]
Patch for landing

Clearing flags on attachment: 227133

Committed r165859: <http://trac.webkit.org/changeset/165859>