Closed Bug 1668712 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25941 - blink: fix LayoutObject::OffsetFromContainerInternal

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Scott Violet <sky@chromium.org>' wrote:

blink: fix LayoutObject::OffsetFromContainerInternal

It should only call OffsetFromScrollableContainer() if the
supplied LayoutObject is a scroll container.

BUG=1134184
TEST=covered by clusterfuzz

Change-Id: I1109a8514590882246dfebe46b7340ac654829cd
Reviewed-on: https://chromium-review.googlesource.com/2442895
WPT-Export-Revision: 159e11699ad7ec44b28694d0f09b8179077c094d

Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core

CI Results

Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/430aae913a0b [wpt PR 25941] - blink: fix LayoutObject::OffsetFromContainerInternal, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.