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

Re: [csswg-drafts] [css-overflow-3] max-lines not forwards compatible with fragmented overflow

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Mon, 02 Jul 2018 11:06:46 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-401769661-1530529606-sysbot+gh@w3.org>
One way to solve this would be backporting `continue: auto | discard` so that `max-lines` will _not_ discard by default, only when `continue: discard` is specified. Thus an implementation of `max-lines` + `continue: fragments` will not discard the content (as the author did not intend). In this case, we'd extend `line-clamp` to also set `continue: discard` so that it preserves its current behavior.

However, in this case, it would end up overflowing the box, which is maybe not a great improvement.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2860#issuecomment-401769661 using your GitHub account
Received on Monday, 2 July 2018 11:06:49 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 July 2018 11:06:50 UTC