Closed Bug 1816205 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38453 - view-transition: Fix viewport transform computation for inlines.

Categories

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

task

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Khushal Sagar <khushalsagar@chromium.org> wrote:

view-transition: Fix viewport transform computation for inlines.

Ensure we create a paint offset translation for elements with inline
layout. This is required to correctly compute their viewport space
transform.

The testcase in this patch still fails because size computation: border
box and overflow rect, still needs to be fixed. We currently use
ResizeObserver code for this which ignores inlines.

Bug:1414855
Change-Id: Ie9dd168000c6b340dafaf1ffbc95995219dcc139
Reviewed-on: https://chromium-review.googlesource.com/4240620
WPT-Export-Revision: e42567d25b14d639ff994b123f992691d44bfbf2

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

CI Results

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

Total 2 tests

Status Summary

Firefox

FAIL: 2

Chrome

FAIL: 2

Safari

FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0f8539e329e5 [wpt PR 38453] - view-transition: Fix viewport transform computation for inlines., a=testonly https://hg.mozilla.org/integration/autoland/rev/3abacd7ebcf2 [wpt PR 38453] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/16d6e9a055a2 [wpt PR 38453] - view-transition: Fix viewport transform computation for inlines., a=testonly https://hg.mozilla.org/integration/autoland/rev/0a287bbca16d [wpt PR 38453] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in before you can comment on or make changes to this bug.