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/6607 below:

[css-position][css-align] How do other alignments affect the inset-modified containing block? · Issue #6607 · w3c/csswg-drafts · GitHub

https://drafts.csswg.org/css-position/#abspos-insets says

If both inset properties in a given axis are auto, then, depending on the box’s self-alignment property in the relevant axis:

What should happen for other alignments? Like, the initial justify-self is auto, which is typically normal. https://drafts.csswg.org/css-align-3/#justify-abspos

For all other absolutely-positioned boxes, normal behaves as stretch.

So what's the inset-modified containing block for stretch? Are we instead supposed to use https://drafts.csswg.org/css-align-3/#abspos-sizing ?

Treat normal as start

That seems to match implementations. But what if I specify justify-self: stretch explicitly?

This is all very confusing because both css-position and css-align monkeypatch both css2 and each other.


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