New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 629082 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
(currently inactive on Chromium)
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Blocking:
issue 595826



Sign in to add a comment

Expose page coordinates from the Viewport API

Project Member Reported by ymalik@chromium.org, Jul 18 2016

Issue description

Knowing the visual viewport's location relative to the document makes it easy to do things using the API. visualViewport.pageX and visualViewport.pageY is the same as window.scrollX, window.scrollY before the inert-visual-viewport change ( issue 489206 )
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jul 19 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7894206ab33a91157bfa41b6cee9092dfa079144

commit 7894206ab33a91157bfa41b6cee9092dfa079144
Author: ymalik <ymalik@chromium.org>
Date: Tue Jul 19 19:25:36 2016

Add page coordinates to the ViewportAPI

BUG= 629082 

Review-Url: https://codereview.chromium.org/2156143002
Cr-Commit-Position: refs/heads/master@{#406348}

[modify] https://crrev.com/7894206ab33a91157bfa41b6cee9092dfa079144/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated-expected.txt
[modify] https://crrev.com/7894206ab33a91157bfa41b6cee9092dfa079144/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-and-gced-expected.txt
[modify] https://crrev.com/7894206ab33a91157bfa41b6cee9092dfa079144/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-expected.txt
[modify] https://crrev.com/7894206ab33a91157bfa41b6cee9092dfa079144/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated-expected.txt
[modify] https://crrev.com/7894206ab33a91157bfa41b6cee9092dfa079144/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-and-gced-expected.txt
[modify] https://crrev.com/7894206ab33a91157bfa41b6cee9092dfa079144/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-expected.txt
[modify] https://crrev.com/7894206ab33a91157bfa41b6cee9092dfa079144/third_party/WebKit/LayoutTests/fast/dom/viewport/verify-viewport-dimensions.html
[modify] https://crrev.com/7894206ab33a91157bfa41b6cee9092dfa079144/third_party/WebKit/LayoutTests/fast/dom/viewport/viewport-dimensions-iframe.html
[modify] https://crrev.com/7894206ab33a91157bfa41b6cee9092dfa079144/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/7894206ab33a91157bfa41b6cee9092dfa079144/third_party/WebKit/Source/core/frame/DOMVisualViewport.cpp
[modify] https://crrev.com/7894206ab33a91157bfa41b6cee9092dfa079144/third_party/WebKit/Source/core/frame/DOMVisualViewport.h
[modify] https://crrev.com/7894206ab33a91157bfa41b6cee9092dfa079144/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
[modify] https://crrev.com/7894206ab33a91157bfa41b6cee9092dfa079144/third_party/WebKit/Source/core/frame/VisualViewport.idl

Comment 2 by bokan@chromium.org, Jul 26 2016

Is this fixed?

Comment 3 by ymalik@chromium.org, Jul 28 2016

Status: Fixed (was: Started)

Sign in to add a comment