You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
inline-level: Content that participates in inline layout. Specifically, inline-level boxes and text.
First, the "specifically, inline-level boxes" part seems completely superfluous.
Moreover, if I understood properly, text is not inline-level. Instead, what happens is that text directly contained inside a block container is wrapped inside an anonymous inline element, and it's that element what is inline-level, not the text itself.
And then, I guess "participates in inline layout" means "participates in an inline formatting context". The former expression does not seem to be used anywhere else, while the latter is used everywhere. This is confusing.
Text is inline-level, because the contents of an inline box are inline-level and text and inline-level boxes can be intermixed as the contents of such boxes. The extra text is not superfluous, it's necessary for understanding what's going on... otherwise it's not defined at all how text participates in the box model.
OK, I stand corrected. I still think that repeating the terms you are defining inside the definition seem a circularity. But now I see the definition is about "inline-level content", and it references "inline-level box". So not exactly the same, but still a problem if the definition of "inline-level box" is "box that is inline-level content".
What about this:
inline-level content: box or contiguous run of text that participates in inline layout. block-level content: box that participates in block layout.
Or
inline-level: content that participates in inline layout. Note: can either be a box or text. block-level: content that participates in block layout. Note: necessarily must be a box.
Activity
fantasai commentedon Apr 18, 2017
Text is inline-level, because the contents of an inline box are inline-level and text and inline-level boxes can be intermixed as the contents of such boxes. The extra text is not superfluous, it's necessary for understanding what's going on... otherwise it's not defined at all how text participates in the box model.
Loirooriol commentedon Apr 18, 2017
OK, I stand corrected. I still think that repeating the terms you are defining inside the definition seem a circularity. But now I see the definition is about "inline-level content", and it references "inline-level box". So not exactly the same, but still a problem if the definition of "inline-level box" is "box that is inline-level content".
What about this:
Or
Possibly linking inline formatting context and block formatting context.
fantasai commentedon May 15, 2017
I think what's there already is strictly more precise than your last suggestion... so closing out as invalid.