[wpt-sync] Sync PR 50934 - scroll anchor: Use priority candidate as root for selection
Categories
(Core :: Layout: Scrolling and Overflow, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox137 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50934 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50934
Details from upstream follow.
Vladimir Levin <vmpstr@chromium.org> wrote:
scroll anchor: Use priority candidate as root for selection
When an element is a priority candidate, then this
patch uses the element as a root for regular candidate
selection. This ensures that for large contenteditable content, we
still anchor to some child element instead of the whole editable box.This is also consistent with the type of anchoring we would do
without focus.Bug: 395489580
Change-Id: Id88477fc07cf0fbb82434e448a9f547314c3db6aReviewed-on: https://chromium-review.googlesource.com/6288047
WPT-Export-Revision: 3d4324a956abfb531174a334d14ad6ebaef9237d
| Assignee | ||
Updated•10 months ago
|
| Assignee | ||
Comment 1•10 months ago
|
||
| Assignee | ||
Comment 2•10 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
FAIL: 1
Chrome
OK : 1
FAIL: 1
Safari
OK : 1
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-scroll-anchoring/contenteditable-near-cursor.tentative.html [wpt.fyi]
- Ensure scroll is adjusted to keep element next to the cursor stable:
FAIL(Chrome:FAIL, Safari:FAIL)
- Ensure scroll is adjusted to keep element next to the cursor stable:
Comment 4•10 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9ad88bf49106
https://hg.mozilla.org/mozilla-central/rev/2a0e9fe48622
Description
•