Re: [csswg-drafts] [css-anchor-position] Default alignments for inset areas are wrong (#10313)

(Just to be clear, the first two bullet points (in the second group listed above) are current spec behavior; it's the third, covering span-* keywords, that's different.)

It turns out that the Chrome impl already does what you're requesting, rather than what I wrote in the spec. I'm happy to update the spec to match; I agree it's better. [Here's an example](https://jsbin.com/mirabip/edit?output).

(IIRC, the current behavior for a span-* value was written when anchor-center automatically "un-aligned" for overflow, which resulted in a similar behavior to what you're suggesting. I just didn't revisit this when the sliding behavior was deferred; it definitely needs to be changed.)

Do you think we need a resolution for this, or are you okay with just an edit?


-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10313#issuecomment-2111142906 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 14 May 2024 21:06:47 UTC