WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
82757
[Chromium] defaultDeviceScaleFactor != 0 should set deviceScaleFactor = defaultDeviceScaleFactor in the absence of a viewport tag for debugging purposes
https://bugs.webkit.org/show_bug.cgi?id=82757
Summary
[Chromium] defaultDeviceScaleFactor != 0 should set deviceScaleFactor = defau...
Fady Samuel
Reported
2012-03-30 11:12:38 PDT
[Chromium] defaultDeviceScaleFactor != 0 should set deviceScaleFactor = defaultDeviceScaleFactor in the absense of a viewport tag for debugging purposes
Attachments
Patch
(5.72 KB, patch)
2012-04-03 10:26 PDT
,
Tim Dresser
no flags
Details
Formatted Diff
Diff
Patch
(5.34 KB, patch)
2012-04-10 07:20 PDT
,
Tim Dresser
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Fady Samuel
Comment 1
2012-04-02 08:00:03 PDT
http://developer.android.com/guide/webapps/targeting.html
Tim Dresser
Comment 2
2012-04-03 10:26:53 PDT
Created
attachment 135356
[details]
Patch
Fady Samuel
Comment 3
2012-04-03 10:40:02 PDT
This looks good to me. Thanks. Added abarth@ for review.
Alexandre Elias
Comment 4
2012-04-03 11:07:30 PDT
Looks like this should be a no-op patch if the setting isn't changed, so it's fine by me. I'd be curious to know what kind of debugging you have in mind though.
Fady Samuel
Comment 5
2012-04-03 11:20:15 PDT
(In reply to
comment #4
)
> Looks like this should be a no-op patch if the setting isn't changed, so it's fine by me. I'd be curious to know what kind of debugging you have in mind though.
Manually passing --default-device-scale-factor=2 in Chromium and browsing.
Darin Fisher (:fishd, Google)
Comment 6
2012-04-05 15:44:27 PDT
Comment on
attachment 135356
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=135356&action=review
> Source/WebKit/chromium/tests/WebFrameTest.cpp:34 > +#include "FrameView.h"
please avoid reaching into WebCore if you can help it.
> Source/WebKit/chromium/tests/WebFrameTest.cpp:181 > + webViewImpl->resize(WebSize(viewportWidth, viewportHeight));
Why do you need to use WebViewImpl here?
> Source/WebKit/chromium/tests/WebFrameTest.cpp:185 > + webViewImpl->mainFrameImpl()->frameView()->layout();
just call WebWidget::layout()? WebView inherits from WebWidget
Tim Dresser
Comment 7
2012-04-10 07:20:17 PDT
Created
attachment 136452
[details]
Patch
Tim Dresser
Comment 8
2012-04-10 07:21:46 PDT
(In reply to
comment #6
)
> (From update of
attachment 135356
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=135356&action=review
> > > Source/WebKit/chromium/tests/WebFrameTest.cpp:34 > > +#include "FrameView.h" > > please avoid reaching into WebCore if you can help it. > > > Source/WebKit/chromium/tests/WebFrameTest.cpp:181 > > + webViewImpl->resize(WebSize(viewportWidth, viewportHeight)); > > Why do you need to use WebViewImpl here? > > > Source/WebKit/chromium/tests/WebFrameTest.cpp:185 > > + webViewImpl->mainFrameImpl()->frameView()->layout(); > > just call WebWidget::layout()? WebView inherits from WebWidget
Done.
WebKit Review Bot
Comment 9
2012-04-10 15:38:18 PDT
Comment on
attachment 136452
[details]
Patch Clearing flags on attachment: 136452 Committed
r113782
: <
http://trac.webkit.org/changeset/113782
>
WebKit Review Bot
Comment 10
2012-04-10 15:38:23 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug