W3C home > Mailing lists > Public > www-style@w3.org > September 2009

Re: Attempt at summary of run-in

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 10 Sep 2009 16:29:52 -0400
Message-ID: <4AA961C0.4070700@mit.edu>
To: David Hyatt <hyatt@apple.com>
CC: Bert Bos <bert@w3.org>, www-style@w3.org
David Hyatt wrote:
> On Sep 10, 2009, at 3:08 PM, Boris Zbarsky wrote:
> 
>> This was a more general question: what does a run-in inherit from? 
>> There seems to be broad agreement amongst IE/Opera/Webkit that in the 
>> absence of first-line it should be the parent of the block it runs 
>> into.  I'd support that being specified; if that happens then the 
>> question that remains is what to do for first-line, as Bert says.
> 
> Can you elaborate on this (maybe with a test case)?  I'm not convinced 
> WebKit agrees with what you're saying here.

<!DOCTYPE html>
<html>
<body>
    <div style="color: red">
      <span style="display:run-in;">
        bbb
      </span>
      <div style="color: green">
        ccc
      </div>
    </div>
</body>
</html>

In Webkit/IE8/Opera the run-in text is red.

Note that essentially this testcase was in 
http://lists.w3.org/Archives/Public/www-style/2009Sep/0017.html

-Boris
Received on Thursday, 10 September 2009 20:30:38 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:39 UTC