Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(802)

Issue 8728018: Resize MediaDocument playback to fit window size. (Closed)

Created:
9 years ago by DaleCurtis
Modified:
9 years ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/external/WebKit_trimmed.git@master
Visibility:
Public.

Description

Simple CSS fix to prevent video, audio tags from outgrowing their containing windows. Added a new layout test to verify this behavior. BUG=26848 TEST=Played video, audio, resized windows; ran layout tests.

Patch Set 1 #

Patch Set 2 : Remove whitespace changes. #

Patch Set 3 : Try 2. #

Patch Set 4 : Via CSS + Layout test. #

Total comments: 5

Patch Set 5 : Code review fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -0 lines) Patch
A LayoutTests/media/video-scales-in-media-document.html View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
A LayoutTests/media/video-scales-in-media-document-expected.txt View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M Source/WebCore/css/mediaControlsChromium.css View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
DaleCurtis
PTAL and check I've got the right approach. I'll add a layout test and upstream ...
9 years ago (2011-11-29 00:47:43 UTC) #1
scherkus (not reviewing)
AFAIK you can do this via CSS on the user agent style sheet. I tried ...
9 years ago (2011-11-29 01:19:29 UTC) #2
DaleCurtis
PTAL. Switched to CSS fix, added a layout test for <video>. Let me know if ...
9 years ago (2011-11-30 01:33:31 UTC) #3
scherkus (not reviewing)
cool! you may need to skip this test under non-chromium platforms, for example: http://trac.webkit.org/browser/trunk/LayoutTests/platform/mac/Skipped http://codereview.chromium.org/8728018/diff/5001/LayoutTests/media/video-scales-in-media-document.html ...
9 years ago (2011-12-06 02:19:52 UTC) #4
DaleCurtis
I'll let upstream decide which platforms get Skipped. http://codereview.chromium.org/8728018/diff/5001/LayoutTests/media/video-scales-in-media-document.html File LayoutTests/media/video-scales-in-media-document.html (right): http://codereview.chromium.org/8728018/diff/5001/LayoutTests/media/video-scales-in-media-document.html#newcode14 LayoutTests/media/video-scales-in-media-document.html:14: var ...
9 years ago (2011-12-06 21:13:44 UTC) #5
scherkus (not reviewing)
http://codereview.chromium.org/8728018/diff/5001/LayoutTests/media/video-scales-in-media-document.html File LayoutTests/media/video-scales-in-media-document.html (right): http://codereview.chromium.org/8728018/diff/5001/LayoutTests/media/video-scales-in-media-document.html#newcode14 LayoutTests/media/video-scales-in-media-document.html:14: var iframe = document.getElementById("container"); On 2011/12/06 21:13:45, DaleCurtis wrote: ...
9 years ago (2011-12-08 06:43:51 UTC) #6
scherkus (not reviewing)
also should we close this issue and work from the WK patch?
9 years ago (2011-12-08 06:44:07 UTC) #7
DaleCurtis
9 years ago (2011-12-08 20:53:33 UTC) #8
On 2011/12/08 06:44:07, scherkus wrote:
> also should we close this issue and work from the WK patch?

Yup, closing. https://bugs.webkit.org/show_bug.cgi?id=73948

Powered by Google App Engine
This is Rietveld 408576698