[csswg-drafts] [css-display] Run-in sequences should not be allowed to be empty

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

== [css-display] Run-in sequences should not be allowed to be empty ==
A [run-in sequence](https://drafts.csswg.org/css-display-3/#run-in-sequence) is defined as

> a maximal sequence of consecutive sibling run-in boxes and intervening white space and/or out-of-flow boxes.

This definition does not forbid empty run-in sequences. For example, consider

```html
<span>Foo</span><span>Bar</span>
```

I could say that between the two `<span>`s there is an empty run-in sequence, which should be wrapped inside an anonymous block box according to the run-in layout rules. Then `Foo` and `Bar` would appear in different lines. This is bad.

I would change the definition to "a maximal non-empty sequence [...]"


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

Received on Sunday, 30 July 2017 19:15:48 UTC