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

[csswg-drafts] [css-overflow] How does max-lines interact with descendants' max-lines?

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Wed, 07 Mar 2018 20:17:39 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-303244614-1520453858-sysbot+gh@w3.org>
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow] How does max-lines interact with descendants' max-lines? ==
```html
<div id="a" style="width: 0; max-lines: 2">
  <div id="b" style="max-lines: 1">Lorem ipsum</div>
  dolor
</div>
```

Due to `#b`'s `max-lines: 1`, only `Lorem` is displayed and `ipsum` is discarded.

But `#a` has `max-lines: 2`. Does `ipsum` still count as one line, and thus `dolor` is discarded?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2421 using your GitHub account
Received on Wednesday, 7 March 2018 20:17:43 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:26 UTC