-
Notifications
You must be signed in to change notification settings - Fork 707
[css-display] Does run-in algorithm run multiple times for each run-in sequence? #1460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Commits on Jul 6, 2017 Note that 'display: contents' does not affect property inheritance. Fixes w3c/csswg-drafts#1473 w3c/csswg-drafts@356b3296d5b20e00bedbfa8d1db59 d005a73bfc9 Normatively define what was in the previous note: that run-in fixup occurs before first line determination. w3c/csswg-drafts@37c01a4ef94aec7c352c3dc7c5cfc 31f8898ed4d Move computed value bullet before box generation bullet. w3c/csswg-drafts@5d10db8d8665f52994530304f2ddc 88236d37ccb Clarify that run-in fixup occurs before block/inline fixup. w3c/csswg-drafts@6f6913e20851f50ad81ca3cb43a49 9c01e8b2186 Expand out informal definitions of BFC. Also fixes w3c/csswg-drafts#1471 . w3c/csswg-drafts@388b1fb3bfa7dbe2ed112581322d2 a10787c9121 Refer to 'flow layout' directly, rather than just mentioning the types of boxes that flow layout can produce. Fixes w3c/csswg-drafts#1470 . w3c/csswg-drafts@09212af80e10e4e3e57965bb27b2d e3fdcd86e06 Make the run-in recursion explicit, so it's clear the second step doesn't recurse. Fixes w3c/csswg-drafts#1460 . w3c/csswg-drafts@c9f1bb16d0e5077b9bca7027a7d72 52eeff5abf1 Be a little looser about what counts as abspos, because css-lists defines as out-of-flow. Fixes w3c/csswg-drafts#1458 w3c/csswg-drafts@f7ff60660c3b5e1b31000ffa0f729 ba04f13a2f8 Remove the w3c/csswg-drafts#1390 inline issue. w3c/csswg-drafts@4514b3e7f2f0aa8ef95a84c107fb9 90fc2def209 Add note about the two categories of box-tree fixup, and their relative ordering. Fixes w3c/csswg-drafts#1355 . w3c/csswg-drafts@f5b79e99bb8fc9ebea4ed956ed342 0bc69b90786 Apply diff, per resolution. Fixes w3c/csswg-drafts#1118 . w3c/csswg-drafts@dbb7042481d132efcb6869ecbdf44 f338d8ad944
Yes, the run-in algo's first step needs to recurse. Fixed, thanks! |
Sorry if this is the wrong place to ask, but I'm wondering why It saddened me that run-in was removed from Chrome earlier. It's very useful for writing semantic html (headings/paragraphs) while being able to style the heading to be part of the subsequent block. It is also useful in single-page apps where 'widgets' are composed of custom-elements/web-components, and the element should be separate in the html source, but presented as a run-in visually. I really hope it can be re-introduced as part of Please let me know if there is another place that's better for comments like this. |
@sandstrom Probably you should ask in a new issue. As far as I know, |
thanks @Loirooriol for answering! 😄 Basically I just wanted to voice my support for Do you think a comment in the bugzilla tracker with my use-cases would be helpful? |
Suppose I have this code
Then Run-In Layout says
So the example above becomes
But now the run-in sequence is still immediately followed by a block box that does not establish a new block formatting context.
Does the algorithm run again in order to obtain the following?
It think it should. But then, how to prevent the following quote from generating an infinite number of boxes?
And so on.
The text was updated successfully, but these errors were encountered: