A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/w3c/csswg-drafts/issues/10316 below:

[css-anchor-position] should alignment safety consider the containing block? · Issue #10316 · w3c/csswg-drafts · GitHub

Alignment has a concept of "safety", which is, we try to bias alignment in a direction that won't result in clipping the content. For unsafe centering, we don't care; but for safe centering we overflow away from the unscrollable region.

For anchor positioning (and absolute positioning in general to be fair), there's two containers that are of interest: the inset-modified containing block, and the actual containing block.

Should the default behavior and/or the safe behavior of an overflowing alignment bias towards staying within the containing block if possible, before finally overflowing the end/end edges?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4