Bug 1687372 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Emilio Cobos Álvarez (:emilio) from comment #2)
> So we're clamping the blocks individually, while chrome seems to clamp all the paragraphs after the first or something.

Yeah, that's what seems to be happening.

It looks like:
 1) we're line-clamping each flex item individually, and letting their collective heights establish the height of the flex container (so the flex container is e.g. `numFlexItems * 3 * line height`, roughly) 
 2) we're doing the "overflow:hidden"-clipping at the granularity of the flex container
...which means that some of the overflow from the first flex item (after its 3 clamped lines) ends up being visible because the flex container is taller than it.

(2) seems probably correct, but (1) needs fixing
(In reply to Emilio Cobos Álvarez (:emilio) from comment #2)
> So we're clamping the blocks individually, while chrome seems to clamp all the paragraphs after the first or something.

Yeah, that's what seems to be happening.

It looks like:
 1) we're line-clamping each flex item individually, and letting their collective heights establish the height of the flex container (so the flex container is e.g. `numFlexItems * 3 * line height`, roughly) 
 2) we're doing the "overflow:hidden"-clipping at the granularity of the flex container
...which means that some of the overflow from the first flex item (after its 3 clamped lines) ends up being visible because the flex container is taller than it.

Part (2) seems like it may be the correct behavior, but part (1) probably needs fixing.

Back to Bug 1687372 Comment 4