W3C home > Mailing lists > Public > www-style@w3.org > October 2010

Re: [CSS21] Clarifications to run-in

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Mon, 11 Oct 2010 12:08:24 +0200
To: www-style@w3.org
Message-ID: <op.vkeo4aglbunlto@oyvinds-desktop>
On Fri, 17 Sep 2010 20:18:42 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 9/16/10 9:08 PM, fantasai wrote:
>> s/and is/and generates/ since we're talking about elements, not boxes.
>> (Although I personally think that run-ins should be able to run into
>> anonymous boxes.)
>
> You do?  Webkit had this behavior, and it caused this markup:
>
>    <div>
>      <span style="display: run-in">Run</span>
>      in
>      <div>to here?</div>
>    </div>
>
> To render like so:
>
>    Run in
>    to here?

Even if that's what's desired, it's not what the text specifies. It says  
to run in to a sibling element (fulfilling certain criteria) of the  
run-in, so it's going to look like this:

in
Runto here?

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Monday, 11 October 2010 10:06:58 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:32 GMT