Skip to content

[css-align] Do all alignment subjects *have* a containing block? #1399

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

Closed
dbaron opened this issue May 19, 2017 · 1 comment
Closed

[css-align] Do all alignment subjects *have* a containing block? #1399

dbaron opened this issue May 19, 2017 · 1 comment
Labels
Closed Rejected as Wontfix by Editor Discretion Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. css-align-3 Current Work

Comments

@dbaron
Copy link
Member

dbaron commented May 19, 2017

The Terminology section of css-align says:

alignment container
... This is defined by the layout mode, but is usually the alignment subject’s containing block.

It's not clear to me, however, that all alignment subjects have a containing block. The definition of containing block that I found isn't particularly clear about what has a containing block -- whether a box has a containing block, or whether a box's margin box has a containing block.

This should probably be clearer, although it's probably doesn't need to be addressed in order to go to CR.

@fantasai
Copy link
Collaborator

It doesn't matter if all alignment subjects have a containing block or not -- the definition clearly says it's defined by the layout mode. It also says it's usually the alignment subject's containing block, but in the cases where it's not, well, that doesn't fall under the usually case. (The usually clause is there to make the spec easier to understand, so everything is not so abstract all the time until you dig 5 layers of definitions deep. At least this way you quickly get the gist of the concept.)

@dbaron dbaron added Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. and removed Commenter Response Pending labels Jul 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed Rejected as Wontfix by Editor Discretion Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. css-align-3 Current Work
Projects
None yet
Development

No branches or pull requests

2 participants