W3C home > Mailing lists > Public > www-style@w3.org > August 2012

Re: [css3-box] run-ins: an alternative model

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 07 Aug 2012 22:17:18 -0400
Message-ID: <5021CC2E.2000700@mit.edu>
To: www-style@w3.org
On 8/7/12 9:40 PM, fantasai wrote:
>      * If a run-in is preceded by an inline-level box that is not
>        a run-in (ignoring any anonymous inline boxes containing only
>        collapsed white space), then it forces the creation of an
>        anonymous block boundary between it and the preceding inline...

OK.  I think that can work, though spelling out that what "anonymous 
block boundary" means in practice seems highly desirable.  Consider this 
testcase:

  <body>
    <span>
      Some
      <span style="display: run-in">text</span>
      here
    </span>
  </body>

It seems like the intent is for this to render identically to:

  <body>
    <span>
      Some
      <div>
        <span>text</span>
        here
      </div>
    </span>
  </body>

yes?

-Boris
Received on Wednesday, 8 August 2012 02:17:47 GMT

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