Re: [csswg-drafts] Allowing (or not) alternate ellipsis behavior for block-overflow

Follow from @MatsPalmgren 
     

> There is a third option -- make the ellipsis cause a line break but render it the same as a text-overflow ellipsis (in all cases). This would allow us to reuse existing code for the rendering part. Something like this:
> 
> * flow the block as if block-overflow doesn't exist
> * if it caused overflow, then shorten the available space to accommodate the size of an ellipsis and flow the last line again
> * repeat 2 until there is no additional overflow or the line is empty
> * during painting, render an ellipsis in the reserved space in the last line (same as a text-overflow ellipsis)

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

Received on Wednesday, 11 July 2018 09:27:21 UTC