W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

[csswg-drafts] [css-contain] Terminology question (#5590)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Wed, 07 Oct 2020 08:15:10 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-716305613-1602058508-sysbot+gh@w3.org>
frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-contain] Terminology question ==
Taken from a comment of @MatsPalmgren in https://github.com/w3c/csswg-drafts/issues/4931#issuecomment-615146842

> BTW, is "_containing box_" really a good term to use? Isn't "_container's box_" clearer? Or perhaps "[_principal box_](https://drafts.csswg.org/css-display/#principal-box)" would be better since it's an already established term.

I feel that @MatsPalmgren has a point. Between "[containing block](https://drafts.csswg.org/css-display-3/#containing-block)" and "[block container box](https://drafts.csswg.org/css-display-3/#block-container)", 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 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5590 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 7 October 2020 08:15:12 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:20 UTC