Re: [csswg-drafts] [css-overflow-4] Unexpected behavior of `continue: discard` on multicolumn containers with spanners (#8721)

Interesting question.

> the layout must resume at the spanner.

I am not sure. The spanner is taken out of flow, and so you could put it back in the multicol, but it's static position is in the overflow columns, which are discarded, so maybe it should be discarded too.

If I understand you correctly, I agree:
* From a layout point of view, I think it would be doable to not discard it, and just place it below the content of the first multi-col line, whose height is only affected by the content in the non discarded columns. That seems fine.

* But from a semantic and content point of view, it could be very strange to have the beginning of the content, drop the middle because it's overflowing, but keep some later part if it is a spanner.

I don't think the spec is really clear at the moment, and you could probably interpret it either way, but I would suggest defining it so that spanners who static position is in the overflow columns are discarded when `continue: discard` is applied.

cc: @fantasai 

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8721#issuecomment-1573961466 using your GitHub account


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

Received on Friday, 2 June 2023 15:56:24 UTC