Open Bug 1857685 Opened 2 years ago Updated 2 years ago

[wpt-sync] Sync PR 42416 - [anchor-position] Implement basic behavior of `anchor-center`

Categories

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

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Xiaocheng Hu <xiaochengh@chromium.org> wrote:

[anchor-position] Implement basic behavior of anchor-center

This patch implements the basic behavior of anchor-center, which is
to center-align the element with its default anchor.

The following are not implemented yet and are for future patches:

  • anchor-center in container's align-items or justify-items values
  • Calculation of the inset-modified containing block
  • Behaviors when overflowing the containing block

Bug: 1469728
Change-Id: Ifd4bfeed8fb6765e401a784c7246a0c59588d7d4
Reviewed-on: https://chromium-review.googlesource.com/4919956
WPT-Export-Revision: 95bd5e44b38efaf61980606ee4d8f6b8a67c608f

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
You need to log in before you can comment on or make changes to this bug.