Closed Bug 1953586 Opened 5 months ago Closed 5 months ago

[wpt-sync] Sync PR 51300 - Add test for scroll to text fragment not centering in the block direction

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Manuel Rego Casasnovas <rego@igalia.com> wrote:

Add test for scroll to text fragment not centering in the block direction

The test passes in Firefox and WebKit, as both center the element,
while Chrome centers the top of the element.

See: https://github.com/wicg/scroll-to-text-fragment/issues/259

Bug: 402564647
Change-Id: Ibb586e06bf2508794b39a9f50bc930b5cf12a568
Reviewed-on: https://chromium-review.googlesource.com/6348918
WPT-Export-Revision: 84f4c456f87aa04ce3943ac6db91c1c8936be752

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

FAIL: 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/12d05b492d9c [wpt PR 51300] - Add test for scroll to text fragment not centering in the block direction, a=testonly
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in before you can comment on or make changes to this bug.