Re: [CSS21] Clarifications to run-in

On 10/11/10 11:40 AM, Øyvind Stenhaug wrote:
>>>> <div>
>>>> <span style="display: run-in">Run</span>
>>>> in
>>>> <div>to here?</div>
>>>> </div>
> | 2. Let B be the first of A's in-flow following siblings. If B
> | exists and generates a non-replaced block box, then A is rendered
> | as if it were an 'inline' element at the start of B's contents--
> | after B's list marker box, if any, and before B's ':before'
> | pseudo-element, if any. (See Chapter 12.)
>
> A is the span, B is the inner div.

No, B is the text node containing "in", at least that was the intent 
when this text was written.  If that's not obvious, I agree it needs to 
be clarified.  I guess it's not obvious because of the whole DOM tree vs 
"element tree" mess....

-Boris

Received on Monday, 11 October 2010 16:58:10 UTC