When an out of flow item is positioned statically in a block/inline formatting context, the spec says to take align-self and justify-self into account.
However, what is expected of align-items and justify-items when set on the originating inline/block parent of the abspos? Normally, align-items and justify-items are the defaults for align-self and justify-self, but in inline layout, align-items and justify-items don't apply in general, and in block layout, align-items doesn't apply to its children. Should abspos elements follow suite and ignore align-items and justify-items if it would have ignored it if it weren't abspos?
I'd assume that we should ignore align-items and justify-items in the same cases for abspos elements such that their static position is as close to what it would have been if not taken out of flow. However, the spec isn't clear on what should happen in this case.
CC @bfgeek
When an out of flow item is positioned statically in a block/inline formatting context, the spec says to take
align-selfandjustify-selfinto account.However, what is expected of
align-itemsandjustify-itemswhen set on the originating inline/block parent of the abspos? Normally,align-itemsandjustify-itemsare the defaults foralign-selfandjustify-self, but in inline layout,align-itemsandjustify-itemsdon't apply in general, and in block layout,align-itemsdoesn't apply to its children. Should abspos elements follow suite and ignorealign-itemsandjustify-itemsif it would have ignored it if it weren't abspos?I'd assume that we should ignore
align-itemsandjustify-itemsin the same cases for abspos elements such that their static position is as close to what it would have been if not taken out of flow. However, the spec isn't clear on what should happen in this case.CC @bfgeek