[csswg-drafts] [css-multicol-2] Multicol container with only `column-height` set? (#12688)

Psychpsyo has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-multicol-2] Multicol container with only `column-height` set? ==
[CSS Multicol 2](https://drafts.csswg.org/css-multicol-2/) says that "an element whose [column-width](https://drafts.csswg.org/css-multicol-2/#propdef-column-width), [column-count](https://drafts.csswg.org/css-multicol-2/#propdef-column-count), or [column-height](https://drafts.csswg.org/css-multicol-2/#propdef-column-height) property is not [auto](https://drafts.csswg.org/css-multicol-2/#valdef-column-width-auto) establishes a multi-column container".

This implies that setting only [column-height](https://drafts.csswg.org/css-multicol-2/#propdef-column-height) is enough to make something a multicol container. But later on in the spec, the (normative) [pseudo-algorithm](https://drafts.csswg.org/css-multicol-2/#pseudo-algorithm) contains this code:
```
(01)  if ((column-width = auto) and (column-count = auto)) then
(02)      exit; /* not a multicol container */
```
One of the two is wrong, and the rest of the pseudo-algorithm also does not seem equipped to handle a column-height-only multicol container.

I assume this is fallout from column-height only being added in the level 2 spec.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 30 August 2025 14:44:52 UTC