Closed
Bug 1454488
Opened 7 years ago
Closed 7 years ago
[wpt-sync] Sync PR 10492 - [vertical-scroll]: Do not propagate "scrollIntoView()" from frames with 'vertical-scroll' disabled to frames with the feature enabled
Categories
(Core :: DOM: Core & HTML, enhancement, P4)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 10492 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/w3c/web-platform-tests/pull/10492
Details from upstream follow.
Ehsan Karamad <ekaramad@chromium.org> wrote:
> [vertical-scroll]: Do not propagate "scrollIntoView()" from frames with 'vertical-scroll' disabled to frames with the feature enabled
>
> If a 'vertical-scroll' is disabled for an <iframe>, then it should not
> be able to affect the vertical scroll position. One way to do that is
> using scripted scrolling by calling "element.scrollIntoView()".
>
> To block such frames (whose feature's disabled), programmatic
> recusive scroll calls are not forwarded to parent frame (unless the
> parent frame has the feature disabled as well). In ther words, if a
> given <iframe> is the first frame in a branch which does not have the
> feature, then calls to programmatic scrollIntoView() from inside the
> <iframe>:
> * Will not change the scroll offset in any of the ancestor frames,
> * Will work within the scope of <iframe>, i.e., elements become
> visible inside <iframe>'s bounds.
>
> 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
> WPT-Export-Revision: a00fd27160fab6aef8aef60fc3c63f394dc55575
Reporter | ||
Updated•7 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=19252be06cc57c9526b87e53ff80e190e8a2efe3
Reporter | ||
Comment 3•7 years ago
|
||
Reporter | ||
Comment 4•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=fc2ba3adbfef31937a70cc0856774a99ca7231b6
Reporter | ||
Comment 5•7 years ago
|
||
Reporter | ||
Comment 6•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=d2cddb1417607408a6a0c83a15183fc7b9a276d5
Reporter | ||
Comment 7•7 years ago
|
||
Reporter | ||
Comment 8•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=4f0cb94bd34a864bc065dbcb5488128df914133e
Reporter | ||
Comment 9•7 years ago
|
||
Reporter | ||
Comment 10•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=f2bca1633991c0e44428adb9c49b1c92ea22852b
Reporter | ||
Comment 11•7 years ago
|
||
Try push failed: decision task returned error
Reporter | ||
Comment 12•7 years ago
|
||
Reporter | ||
Comment 13•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=0869c395e28cff3095b73d6d3a3500e3c5941c3f
Reporter | ||
Comment 14•7 years ago
|
||
Reporter | ||
Comment 15•7 years ago
|
||
Ran 1 tests and 2 subtests
OK : 1
PASS : 1
FAIL : 1
New tests that have failures or other problems:
/feature-policy/experimental-features/vertical-scroll-scrollintoview.tentative.sub.html
Calling 'scrollIntoView()' inside a <iframe> with 'vertical-scroll none;'will not propagate upwards.: FAIL
Reporter | ||
Comment 16•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=36004fd0b7fbc24c82a7439d23b547b55c715d1f
Comment 17•7 years ago
|
||
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/77eaba20ef96
[wpt PR 10492] - 'vertical-scroll' for programmatic scrolling, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/5f9e45532ac0
[wpt PR 10492] - Update wpt metadata, a=testonly
Comment 18•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/77eaba20ef96
https://hg.mozilla.org/mozilla-central/rev/5f9e45532ac0
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•