-
Notifications
You must be signed in to change notification settings - Fork 719
[css-align-3] safe vs unsafe defaults for block containers #8992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Why the "that are not scroll containers" limitation? (I'm not necessarily objecting to it; I just want to understand the reasoning.) At first glance, it seems like scroll containers may be a bit more risky since they impose a local clip on any unsafely-overflowing content that overflow off their start edge. (At least, that's how |
(posting the answer to my question after chatting with @fantasai in person): Per spec, scroll containers aren't supposed to clip stuff that gets pushed off the start edges via That's not implemented anywhere yet, but it's what the spec says is supposed to happen, and it's why this in theory isn't an issue for blocks-that-are-scroll-containers. |
The CSS Working Group just discussed
The full IRC log of that discussion |
Is there a WPT test here? |
I'd like to propose making the default behavior of
align-content
besafe
rather thanunsafe
for block containers that are not scroll containers.I think this is a better default for block containers, and is likely also safer for Web-compat if we want to actually deploy this.
The text was updated successfully, but these errors were encountered: