Revision e9f36aa0be6522db24e0d27b293a78ba68214d02 authored by Ehsan Karamad on 25 April 2018, 15:35:03 UTC, committed by Blink WPT Bot on 25 April 2018, 15:45:19 UTC
If 'vertical-scroll' is disabled for an <iframe>, then it should not be able to affect the vertical scroll position. One way to block is to use scripted scrolling by calling "element.scrollIntoView()". To block such frames (whose feature's disabled), programmatic recursive scroll calls are not forwarded to parent frames. This means if a given <iframe> is blocked, then all the calls to scrollIntoView() are limited to the scope of frame (i.e., elements becoming visible in the frame). This applies to all the nested <iframe>'s of a disabled frame as well since they would have the feature disabled as part of propagating the container policy. Link to explainer/design document for "vertical-scroll": https://docs.google.com/document/d/1qiWelnMlsOHuT_CQ0Zm_qEAf54HS5DhoIvEDHBlfqps/edit?usp=sharing Bug: 611982 Change-Id: I0e06b399ad890e263128b997cfbb04eb3bdd1494 Reviewed-on: https://chromium-review.googlesource.com/1014191 Reviewed-by: Ian Clelland <iclelland@chromium.org> Reviewed-by: Ehsan Karamad <ekaramad@chromium.org> Reviewed-by: David Bokan <bokan@chromium.org> Commit-Queue: Ehsan Karamad <ekaramad@chromium.org> Cr-Commit-Position: refs/heads/master@{#553561}
1 parent 6c62c5b
File | Mode | Size |
---|---|---|
BackgroundSync.idl | -rw-r--r-- | 795 bytes |
FileAPI.idl | -rw-r--r-- | 2.5 KB |
IndexedDB.idl | -rw-r--r-- | 6.3 KB |
OWNERS | -rw-r--r-- | 14 bytes |
ServiceWorker.idl | -rw-r--r-- | 7.0 KB |
WebCryptoAPI.idl | -rw-r--r-- | 8.1 KB |
accelerometer.idl | -rw-r--r-- | 702 bytes |
ambient-light.idl | -rw-r--r-- | 168 bytes |
background-fetch.idl | -rw-r--r-- | 3.8 KB |
budget-api.idl | -rw-r--r-- | 766 bytes |
clipboard-apis.idl | -rw-r--r-- | 698 bytes |
compat.idl | -rw-r--r-- | 357 bytes |
console.idl | -rw-r--r-- | 770 bytes |
cookie-store.idl | -rw-r--r-- | 1.9 KB |
css-font-loading.idl | -rw-r--r-- | 2.7 KB |
css-typed-om.idl | -rw-r--r-- | 9.4 KB |
cssom-view.idl | -rw-r--r-- | 6.0 KB |
cssom.idl | -rw-r--r-- | 4.6 KB |
dedicated-workers.idl | -rw-r--r-- | 4.6 KB |
dom.idl | -rw-r--r-- | 17.6 KB |
encoding.idl | -rw-r--r-- | 666 bytes |
encrypted-media.idl | -rw-r--r-- | 3.9 KB |
entries-api.idl | -rw-r--r-- | 2.1 KB |
feature-policy.idl | -rw-r--r-- | 250 bytes |
filter-effects.idl | -rw-r--r-- | 10.5 KB |
fullscreen.idl | -rw-r--r-- | 573 bytes |
gamepad.idl | -rw-r--r-- | 903 bytes |
geolocation-sensor.idl | -rw-r--r-- | 996 bytes |
geometry.idl | -rw-r--r-- | 11.5 KB |
gyroscope.idl | -rw-r--r-- | 399 bytes |
hr-time.idl | -rw-r--r-- | 503 bytes |
html.idl | -rw-r--r-- | 78.3 KB |
keyboard-lock.idl | -rw-r--r-- | 241 bytes |
magnetometer.idl | -rw-r--r-- | 767 bytes |
mediacapture-main.idl | -rw-r--r-- | 6.9 KB |
orientation-sensor.idl | -rw-r--r-- | 765 bytes |
payment-handler.idl | -rw-r--r-- | 3.0 KB |
payment-request.idl | -rw-r--r-- | 3.7 KB |
proximity.idl | -rw-r--r-- | 232 bytes |
remoteplayback.idl | -rw-r--r-- | 795 bytes |
screen-orientation.idl | -rw-r--r-- | 823 bytes |
selection-api.idl | -rw-r--r-- | 1.5 KB |
sensors.idl | -rw-r--r-- | 657 bytes |
storage.idl | -rw-r--r-- | 611 bytes |
touchevents.idl | -rw-r--r-- | 395 bytes |
uievents.idl | -rw-r--r-- | 4.3 KB |
url.idl | -rw-r--r-- | 1.1 KB |
wake-lock.idl | -rw-r--r-- | 485 bytes |
web-animations.idl | -rw-r--r-- | 5.3 KB |
web-audio-api.idl | -rw-r--r-- | 17.9 KB |
web-nfc.idl | -rw-r--r-- | 1.3 KB |
web-share.idl | -rw-r--r-- | 336 bytes |
webauthn.idl | -rw-r--r-- | 6.1 KB |
webidl.idl | -rw-r--r-- | 1.8 KB |
webrtc-pc.idl | -rw-r--r-- | 22.8 KB |
webusb.idl | -rw-r--r-- | 5.7 KB |
webvtt.idl | -rw-r--r-- | 1.3 KB |
webxr.idl | -rw-r--r-- | 4.8 KB |
xhr.idl | -rw-r--r-- | 2.9 KB |
Computing file changes ...