Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce "Feature Policy: vertical-scroll" #9861

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
5 participants
@chromium-wpt-export-bot
Copy link
Collaborator

chromium-wpt-export-bot commented Mar 5, 2018

This CL introduces a feature which enables a page to ensure vertical
scrolling is always possible. Essentially, any frame which might need
to change the behavior of vertical scroll must have this feature on.

With this CL, frames that do not have "vertical-scroll" enabled will
receive "touchstart" and first "touchmove" events as non-cancelable
and are now allowed to have a CSS property for "touch-action" which
does not include "pan-y" (for any element inside). The future work for
this feature will limit the access to programmatic scrolling as well
so that techniques such as "element.scrollIntoView" could not be used to
extend vertical scrolling to outside the <iframe> bounds.

Bug: 611982
Change-Id: I991821496e30152b76d7cdc6bb295db650b60981
Reviewed-on: https://chromium-review.googlesource.com/930328
WPT-Export-Revision: a2213ccbe568b7066c7ce589203a43dc8d9ccda0

@wpt-pr-bot
Copy link
Collaborator

wpt-pr-bot left a comment

Already reviewed downstream.

@w3c-bots

This comment has been minimized.

Copy link

w3c-bots commented Mar 6, 2018

Build PASSED

Started: 2018-03-27 18:12:30
Finished: 2018-03-27 18:20:42

View more information about this build on:

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-930328 branch from 63d9d1f to a623d3f Mar 13, 2018

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-930328 branch from a623d3f to 0a4703b Mar 27, 2018

Introduce "Feature Policy: vertical-scroll"
This CL introduces a feature which enables a page to ensure vertical
scrolling is always possible. Essentially, any frame which might need
to change the behavior of vertical scroll must have this feature on.

With this CL, frames that do not have "vertical-scroll" enabled will
receive "touchstart" and first "touchmove" events as non-cancelable
and are now allowed to have a CSS property for "touch-action" which
does not include "pan-y" (for any element inside). The future work for
this feature will limit the access to programmatic scrolling as well
so that techniques such as "element.scrollIntoView" could not be used to
extend vertical scrolling to outside the <iframe> bounds.

Bug: 611982
Change-Id: I991821496e30152b76d7cdc6bb295db650b60981

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-930328 branch from 0a4703b to 6773f57 Mar 27, 2018

@Hexcles

This comment has been minimized.

Copy link
Member

Hexcles commented Jun 22, 2018

Abandoned.

@Hexcles Hexcles closed this Jun 22, 2018

@Hexcles Hexcles deleted the chromium-export-cl-930328 branch Jun 22, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.