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

Issue 18034007: Add viewport settings for ImageDocument and MediaDocument (Closed)

Created:
7 years, 5 months ago by philipj_slow
Modified:
7 years, 5 months ago
CC:
blink-reviews, feature-media-reviews_chromium.org, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Add viewport settings for MediaDocument MediaDocument is used when navigating directly to an audio or video resource. Use viewport width=device-width so that one doesn't need to zoom in order to use the video controls. Add viewport settings for ImageDocument On (mobile) platforms which have a viewport (e.g. Android) it is currently necessary to zoom in to see the image at 100% resolution even if it fits on the page. The width=device-width setting fixes this, and does not affect (desktop) platforms that lack a viewport. BUG=254978 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153704

Patch Set 1 #

Patch Set 2 : LayoutTests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -2 lines) Patch
A LayoutTests/fast/images/viewport-in-standalone-image-document.html View 1 1 chunk +28 lines, -0 lines 0 comments Download
A LayoutTests/fast/images/viewport-in-standalone-image-document-expected.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/fast/media/viewport-in-standalone-media-document.html View 1 1 chunk +35 lines, -0 lines 0 comments Download
A LayoutTests/fast/media/viewport-in-standalone-media-document-expected.txt View 1 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/html/ImageDocument.cpp View 1 chunk +9 lines, -1 line 0 comments Download
M Source/core/html/MediaDocument.cpp View 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
philipj_slow
Fixes for http://code.google.com/p/chromium/issues/detail?id=254978 I think I failed to preserve the two separate commits, please let ...
7 years, 5 months ago (2013-06-27 14:19:02 UTC) #1
philipj_slow
See the bug for before/after screenshots from ContentShell on Android.
7 years, 5 months ago (2013-06-27 14:20:09 UTC) #2
acolwell GONE FROM CHROMIUM
When you say "100% resolution" do you mean that if the image is 100 pixels ...
7 years, 5 months ago (2013-06-27 15:29:27 UTC) #3
philipj_slow
On 2013/06/27 15:29:27, acolwell wrote: > When you say "100% resolution" do you mean that ...
7 years, 5 months ago (2013-06-28 06:50:30 UTC) #4
acolwell GONE FROM CHROMIUM
lgtm
7 years, 5 months ago (2013-06-28 16:09:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/18034007/1
7 years, 5 months ago (2013-07-01 15:07:10 UTC) #6
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=2732
7 years, 5 months ago (2013-07-01 15:28:39 UTC) #7
acolwell GONE FROM CHROMIUM
@abarth OWNERS review please.
7 years, 5 months ago (2013-07-01 15:30:52 UTC) #8
abarth-chromium
Test please.
7 years, 5 months ago (2013-07-01 17:44:19 UTC) #9
philipj_slow
On 2013/07/01 17:44:19, abarth wrote: > Test please. Would a layout test be appropriate for ...
7 years, 5 months ago (2013-07-03 12:30:44 UTC) #10
abarth-chromium
On 2013/07/03 12:30:44, philipj wrote: > Would a layout test be appropriate for this, or ...
7 years, 5 months ago (2013-07-03 18:21:03 UTC) #11
philipj_slow
@abarth, thanks for the tips! I've written and run the LayoutTests, please check if they ...
7 years, 5 months ago (2013-07-04 12:13:56 UTC) #12
abarth-chromium
lgtm
7 years, 5 months ago (2013-07-08 18:58:44 UTC) #13
abarth-chromium
Thanks for the test.
7 years, 5 months ago (2013-07-08 18:58:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/18034007/15001
7 years, 5 months ago (2013-07-08 18:59:06 UTC) #15
commit-bot: I haz the power
7 years, 5 months ago (2013-07-08 20:39:00 UTC) #16
Message was sent while issue was closed.
Change committed as 153704

Powered by Google App Engine
This is Rietveld 408576698