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

Excellent question. I think we should only count the lines that are actually there, and therefore not count `ipsum` and not discard `dolor`. Otherwise:
* We have to fake-layout the discarded content for the sole purpose of counting the lines in it
* We would get the wrong number of lines from the users's point of view.

I think that is actually what the spec says already, since we're only counting line boxes, and ipsum isn't in a line box, but a clarifying note would certainly not hurt.

@fantasai, do you agree?

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

Received on Thursday, 8 March 2018 02:08:56 UTC