Closed Bug 1697410 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27912 - Test that scrolling an inline element uses its bounding box.

Categories

(Core :: DOM: CSS Object Model, task, P4)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 27912 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/27912
Details from upstream follow.

b'Robert Flack <flackr@chromium.org>' wrote:

Test that scrolling an inline element uses its bounding box.

This is a regression test for scrollIntoView using the wrong position
for anchors next to tall images.

Bug: 73953
Change-Id: I525b6cd3ae2002065ffcf08fff5a962b31f233b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2740434
Reviewed-by: Lan Wei \<lanwei@chromium.org>
Commit-Queue: Robert Flack \<flackr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#861270}

Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core

CI Results

Ran 15 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
PASS: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/cssom-view/scrollIntoView-inline-image.html
Scrolling an inline element with a large line height uses the bounding rect: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/70556813f299
[wpt PR 27912] - Test that scrolling an inline element uses its bounding box., a=testonly
https://hg.mozilla.org/integration/autoland/rev/a265654f99a5
[wpt PR 27912] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.