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

Re: [csswg-drafts] [css-pseudo] When no word can fit due to floats and a line was pushed down, is it still ::first-line? (#1644)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Fri, 28 Dec 2018 21:20:44 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-450429291-1546032043-sysbot+gh@w3.org>
As @Loirooriol says in Gecko bug 1352761, CSS2 defines that the line moves down, not that it becomes another line. So I would say that the spec is clear that a line forced to move down due to floats is still the first formatted line. https://www.w3.org/TR/CSS21/visuren.html#floats

“If a shortened line box is too small to contain any content, then the line box is shifted downward (and its width recomputed) until either some content fits or there are no more floats present.”

GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1644#issuecomment-450429291 using your GitHub account
Received on Friday, 28 December 2018 21:20:46 UTC

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