run-in box

run-in框的行为如下:

  1. 如果run-in框包含一个块框,那么run-in框变为块框。
  2. 如果run-in框的后继兄弟元素为块框(非浮动,非绝对定位),那么run-in框变为该块框的第一个行内框。run-in不能插入本身为run-in的块中,也不能插入块中已有run-in的块中。
  3. 否则,run-in框变为块框。

浏览器支持:IE8+,chrome(unsupport)

case 1

some text...

some other text....

case 2

A run-in heading.

And a paragraph of text that follows it.

case 3

A run-in heading.

And a span of text that follows it.