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

Issue 731413002: Adjust DOMWindow properties to emulate old style pinch semantics (Closed)

Created:
6 years, 1 month ago by bokan
Modified:
6 years, 1 month ago
Reviewers:
Rick Byers
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Adjust DOMWindow properties to emulate old style pinch semantics. This patch prevents virtual viewport from changing the semantics of several of DOMWindow's properties. These include: innerWidth/outerWidth scrollX/scrollY scrollTo scrollBy BUG=433794 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185730

Patch Set 1 #

Patch Set 2 : Added test #

Total comments: 15

Patch Set 3 : Changes from feedback #

Total comments: 2

Patch Set 4 : Check for scroll event handling in RAF callback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+297 lines, -10 lines) Patch
M LayoutTests/SmokeTests View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/TestExpectations View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html View 1 2 3 1 chunk +156 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/Window/window-scaled-viewport-properties-expected.txt View 1 2 1 chunk +59 lines, -0 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/LocalDOMWindow.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/frame/LocalDOMWindow.cpp View 1 2 7 chunks +68 lines, -10 lines 0 comments Download
M Source/core/frame/PinchViewport.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/PinchViewport.cpp View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
bokan
Hey Rick, can you ptal? Thanks.
6 years, 1 month ago (2014-11-18 20:33:48 UTC) #2
Rick Byers
https://codereview.chromium.org/731413002/diff/20001/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html File LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html (right): https://codereview.chromium.org/731413002/diff/20001/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html#newcode2 LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html:2: <html> nit: omit html, head and body tags: http://www.chromium.org/blink/coding-style/layout-test-style-guidelines#TOC-html-head-body- ...
6 years, 1 month ago (2014-11-18 20:53:31 UTC) #3
bokan
https://codereview.chromium.org/731413002/diff/20001/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html File LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html (right): https://codereview.chromium.org/731413002/diff/20001/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html#newcode2 LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html:2: <html> On 2014/11/18 20:53:31, Rick Byers wrote: > nit: ...
6 years, 1 month ago (2014-11-18 23:21:51 UTC) #4
bokan
Hey Rick, could you ptal again? Thanks.
6 years, 1 month ago (2014-11-20 17:35:35 UTC) #5
Rick Byers
Sorry for the delay. LGTM assuming my suggestion for removing the timeout from the test ...
6 years, 1 month ago (2014-11-20 19:23:31 UTC) #6
bokan
https://codereview.chromium.org/731413002/diff/20001/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html File LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html (right): https://codereview.chromium.org/731413002/diff/20001/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html#newcode121 LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html:121: </script> On 2014/11/20 19:23:30, Rick Byers wrote: > On ...
6 years, 1 month ago (2014-11-20 20:30:41 UTC) #7
Rick Byers
On 2014/11/20 20:30:41, bokan wrote: > https://codereview.chromium.org/731413002/diff/20001/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html > File LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html (right): > > https://codereview.chromium.org/731413002/diff/20001/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html#newcode121 > ...
6 years, 1 month ago (2014-11-20 20:58:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/731413002/60001
6 years, 1 month ago (2014-11-20 22:42:12 UTC) #10
commit-bot: I haz the power
6 years, 1 month ago (2014-11-21 00:19:24 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185730

Powered by Google App Engine
This is Rietveld 408576698