W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

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

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Jul 2018 09:27:19 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-404105186-1531301238-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 11 July 2018 09:27:22 UTC