Re: [CSS21] display:run-in clarifications

Tab Atkins Jr. wrote:
> On Tue, Sep 1, 2009 at 8:14 AM, Boris Zbarsky<bzbarsky@mit.edu> wrote:
>> <!DOCTYPE html>
>> <html>
>> <body>
>>  <div style="padding: 100px; border: 1px solid green; position: relative">
>>    <span style="display:run-in; border: 1px solid red">
>>      <div style="position: absolute; top: 0; left: 0">aaa</div>
>>      bbb
>>      <div style="float: left">ccc</div>
>>    </span>
>>    <div style="position: relative; border: 1px solid black">
>>    </div>
>>  </div>
>> </body>
>> </html>

> I dunno if it's covered, but since inlines can't be containers for
> abspos elements

Sure they can.  They just have to be rel pos.  But that's not relevant 
here.  The question is whether the divs containing "aaa" and "ccc" in 
the testcase above have the div with black border as the containing 
block or the div with green border.  I'd personally prefer black border.

-Boris

Received on Tuesday, 1 September 2009 15:17:27 UTC