Definitely, but thatās not helped at all by the default height being 10px. And itās not even always a problem, e.g. if you are in a situation where gap spacing doesnāt apply because itās the only sibling. My point: 10px doesnāt help at all, and it sometimes hurts.
I just donāt see any reason to have the default set to 10px. It encourages/teaches thinking about Groups in the wrong way, I think. Philosophically, we should think of a group as a container that fits content and the content determines the height of the container (100% agree āfit height to contentā needs to be checked by default).
Q: Whatās the height of a group?
A: The height of the content!
^^ That should be the baseline assumption. If thereās ever any answer different, then it shows that something is going on for a specific reason. If Iām a developer and I see a min height value, Iām immediately thinking
Why this value? What does this do? If I change it will I break something? Does this need to be this exact min height?
In tradcode we had this term āmagic numbersā for when you have a number value hardcoded in but no explanation as to where that number came from. So if a padding needs to be 2x the gap plus 4px, and the gap is 8px, itās better to write padding-top: (gap * 2) + 4px than to write padding-top: 20px because a developer seeing the āmagic numberā of 20 has no idea why itās 20. I think a similar principle applies here. There shouldnāt be completely arbitrary values (especially by default!) in elements which arenāt there for a purpose. This is why when you create a DIV in HTML it is height 0px. It would make no sense to give a container a min height.