[csswg-drafts] [css-inline][css-pseudo] Interaction of root inline box and ::first-line

Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-inline][css-pseudo] Interaction of root inline box and ::first-line ==
CSS Inline defines the [root inline box](https://drafts.csswg.org/css-inline-3/#root-inline-box) as

> The *root inline box* is an anonymous inline box which is automatically generated to hold all of the inline-level contents of a block container (if it has any).

CSS Pseudo-elements defines [`::first-line`](https://drafts.csswg.org/css-pseudo-4/#first-line-pseudo) as

> The `::first-line` pseudo-element’s generated box behaves similar to that of an inline-level element, but with certain restrictions.

> A user agent must act as if the fictional start tags of a `::first-line` pseudo-element were nested just inside the innermost enclosing block-level element.

So `::first-line` is a restricted inline-level, and inline-levels are wrapped inside the root inline box, which is inline, and inline-level fragments in the first line are wrapped inside the `::first-line`.

Which one is inside of which one?


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1384 using your GitHub account

Received on Tuesday, 16 May 2017 15:54:29 UTC