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

Issue 2461143002: Reconstrain zoom value to the [min-zoom, max-zoom] range before it used (Closed)

Created:
4 years, 1 month ago by chaopeng
Modified:
4 years, 1 month ago
Reviewers:
bokan, rune
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, kinuko+watch, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reconstrain zoom value to the [min-zoom, max-zoom] range before it used This bug is caused by we calculate zoom by ViewportSize but forgot reconstrain to the [min-zoom, max-zoom] range. This patch add the reconstrain between calculate zoom by ViewportSize and check user scalable. BUG=656632 Committed: https://crrev.com/f36b4b14583e599557be01591205ec7219cd5c1a Cr-Commit-Position: refs/heads/master@{#428888}

Patch Set 1 #

Total comments: 6

Patch Set 2 : fix for comments and html format #

Total comments: 3

Patch Set 3 : for rune's nit #

Messages

Total messages: 16 (5 generated)
chaopeng
PTAL. Thank you.
4 years, 1 month ago (2016-10-28 23:44:59 UTC) #2
bokan
This looks good to me, but the procedure was specifically defined in the device-adaptation spec, ...
4 years, 1 month ago (2016-10-31 13:58:20 UTC) #4
rune
https://codereview.chromium.org/2461143002/diff/1/third_party/WebKit/Source/core/dom/ViewportDescription.cpp File third_party/WebKit/Source/core/dom/ViewportDescription.cpp (right): https://codereview.chromium.org/2461143002/diff/1/third_party/WebKit/Source/core/dom/ViewportDescription.cpp#newcode204 third_party/WebKit/Source/core/dom/ViewportDescription.cpp:204: // 9. Resolve initial-scale value. The numbering used to ...
4 years, 1 month ago (2016-10-31 14:45:04 UTC) #5
rune
On 2016/10/31 13:58:20, bokan wrote: > This looks good to me, but the procedure was ...
4 years, 1 month ago (2016-10-31 14:45:58 UTC) #6
bokan
https://codereview.chromium.org/2461143002/diff/1/third_party/WebKit/Source/core/dom/ViewportDescription.cpp File third_party/WebKit/Source/core/dom/ViewportDescription.cpp (right): https://codereview.chromium.org/2461143002/diff/1/third_party/WebKit/Source/core/dom/ViewportDescription.cpp#newcode204 third_party/WebKit/Source/core/dom/ViewportDescription.cpp:204: // 9. Resolve initial-scale value. On 2016/10/31 14:45:03, rune ...
4 years, 1 month ago (2016-10-31 14:47:55 UTC) #7
rune
https://codereview.chromium.org/2461143002/diff/1/third_party/WebKit/Source/web/tests/data/viewport/viewport-limits-adjusted-for-no-user-scale.html File third_party/WebKit/Source/web/tests/data/viewport/viewport-limits-adjusted-for-no-user-scale.html (right): https://codereview.chromium.org/2461143002/diff/1/third_party/WebKit/Source/web/tests/data/viewport/viewport-limits-adjusted-for-no-user-scale.html#newcode1 third_party/WebKit/Source/web/tests/data/viewport/viewport-limits-adjusted-for-no-user-scale.html:1: <head> You should make this <!DOCTYPE html> and remove ...
4 years, 1 month ago (2016-10-31 15:04:17 UTC) #8
chaopeng
On 2016/10/31 15:04:17, rune wrote: > https://codereview.chromium.org/2461143002/diff/1/third_party/WebKit/Source/web/tests/data/viewport/viewport-limits-adjusted-for-no-user-scale.html > File > third_party/WebKit/Source/web/tests/data/viewport/viewport-limits-adjusted-for-no-user-scale.html > (right): > > ...
4 years, 1 month ago (2016-10-31 16:56:40 UTC) #9
rune
lgtm with nits https://codereview.chromium.org/2461143002/diff/20001/third_party/WebKit/Source/core/dom/ViewportDescription.cpp File third_party/WebKit/Source/core/dom/ViewportDescription.cpp (right): https://codereview.chromium.org/2461143002/diff/20001/third_party/WebKit/Source/core/dom/ViewportDescription.cpp#newcode215 third_party/WebKit/Source/core/dom/ViewportDescription.cpp:215: // below, if it is ValueAuto ...
4 years, 1 month ago (2016-10-31 22:24:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2461143002/40001
4 years, 1 month ago (2016-10-31 23:18:55 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-01 00:49:42 UTC) #14
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 00:53:46 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f36b4b14583e599557be01591205ec7219cd5c1a
Cr-Commit-Position: refs/heads/master@{#428888}

Powered by Google App Engine
This is Rietveld 408576698