Post

(tl;dr: when using `justify-self` on a popover, Firefox seems to treat any values as ‘start’. I am perfectly willing to accept that I’m misunderstanding the spec somewhere…)

0 reposts0 likes

Attached is a demo using a WIP DevTools extension I built to help debug this type of stuff, so you can see what Chrome does. The IMCB is the green area underneath the button, and inside it you then justify the positioned element (in an unsafe manner).

If you were to change the value to `safe end`, you can see that it gets interpreted as `start` when the button is smaller than the popover. When the button becomes wider than the positioned element (e.g. by edition its text) the `end` justification gets used.