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

Issue 172203003: Don't ignore size updates that have a width and height == 0. (Closed)

Created:
6 years, 10 months ago by mkosiba (inactive)
Modified:
6 years, 10 months ago
CC:
blink-reviews, jamesr, dglazkov+blink, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Don't ignore size updates that have a width and height == 0. It is perfectly legal for the Android WebView to have a zero height, this is frequenly how a new WebView is first laid out. Rejecting the initial (width, 0) size update causes the initial layout to be too narrow. BUG=344885 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167543

Patch Set 1 #

Patch Set 2 : re-upload #

Patch Set 3 : remove websize changes #

Total comments: 2

Patch Set 4 : remove setUseWideViewport from test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -1 line) Patch
M Source/web/WebViewImpl.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
mkosiba (inactive)
PTAL
6 years, 10 months ago (2014-02-19 15:06:21 UTC) #1
mnaganov (inactive)
On 2014/02/19 15:06:21, mkosiba wrote: > PTAL Sorry, I don't see deltas, so can't add ...
6 years, 10 months ago (2014-02-19 16:13:50 UTC) #2
mkosiba (inactive)
On 2014/02/19 16:13:50, Mikhail Naganov (Cr) wrote: > On 2014/02/19 15:06:21, mkosiba wrote: > > ...
6 years, 10 months ago (2014-02-19 16:20:50 UTC) #3
mnaganov (inactive)
On 2014/02/19 16:20:50, mkosiba wrote: > On 2014/02/19 16:13:50, Mikhail Naganov (Cr) wrote: > > ...
6 years, 10 months ago (2014-02-19 16:26:10 UTC) #4
mkosiba (inactive)
On 2014/02/19 16:26:10, Mikhail Naganov (Cr) wrote: > On 2014/02/19 16:20:50, mkosiba wrote: > > ...
6 years, 10 months ago (2014-02-19 16:49:21 UTC) #5
aelias_OOO_until_Jul13
WebSize is meant primary as a transport type between Blink and Chromium repos rather than ...
6 years, 10 months ago (2014-02-19 19:18:59 UTC) #6
mkosiba (inactive)
thanks Alex! I removed the isZero method. Changing WebSize->IntSize made this change bigger than it ...
6 years, 10 months ago (2014-02-20 13:53:24 UTC) #7
mnaganov (inactive)
Looks good modulo comment. https://codereview.chromium.org/172203003/diff/180001/Source/web/tests/WebFrameTest.cpp File Source/web/tests/WebFrameTest.cpp (right): https://codereview.chromium.org/172203003/diff/180001/Source/web/tests/WebFrameTest.cpp#newcode873 Source/web/tests/WebFrameTest.cpp:873: webViewHelper.webView()->settings()->setUseWideViewport(true); I think this isn't ...
6 years, 10 months ago (2014-02-20 15:50:25 UTC) #8
mkosiba (inactive)
thanks Mikhail, too much copy-paste. https://codereview.chromium.org/172203003/diff/180001/Source/web/tests/WebFrameTest.cpp File Source/web/tests/WebFrameTest.cpp (right): https://codereview.chromium.org/172203003/diff/180001/Source/web/tests/WebFrameTest.cpp#newcode873 Source/web/tests/WebFrameTest.cpp:873: webViewHelper.webView()->settings()->setUseWideViewport(true); On 2014/02/20 15:50:25, ...
6 years, 10 months ago (2014-02-20 15:59:32 UTC) #9
aelias_OOO_until_Jul13
lgtm
6 years, 10 months ago (2014-02-20 18:15:47 UTC) #10
mkosiba (inactive)
The CQ bit was checked by mkosiba@chromium.org
6 years, 10 months ago (2014-02-20 18:55:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/172203003/230001
6 years, 10 months ago (2014-02-20 18:55:26 UTC) #12
commit-bot: I haz the power
6 years, 10 months ago (2014-02-20 22:26:49 UTC) #13
Message was sent while issue was closed.
Change committed as 167543

Powered by Google App Engine
This is Rietveld 408576698