-
Notifications
You must be signed in to change notification settings - Fork 756
Description
Taken from a comment of @MatsPalmgren in #4931 (comment)
BTW, is "containing box" really a good term to use? Isn't "container's box" clearer? Or perhaps "principal box" would be better since it's an already established term.
I feel that @MatsPalmgren has a point. Between "containing block" and "block container box", we have enough similar/confusing terminology already, and adding containing box to that isn't great, and we probably should have picked something better. Since this is just terminology, with no impact on any implementation, we can still change if we find something better.
That said, I don't think "container's box" helps with the terminology overload.
"principal box" isn't wrong, but it's not specific enough either, because we're trying to talk about a particular one. The definition for which we'd like a name is:
The principal box of the element to which containment is applied
Maybe "containment box", possibly qualified to "size containment box", "layout containment box", or "paint containment box" as appropriate? This is still a bit too close for comfort to "containing block" and "block container box", but at least the word "containment", even if similar, is never used in any other context.
cc @tabatkins