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

Re: [CSS21] display:run-in clarifications

From: Molly E. Holzschlag <mollyh@opera.com>
Date: Tue, 25 Aug 2009 23:44:12 -0700
To: "Sylvain Galineau" <sylvaing@microsoft.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.uy9bny1yw4nav6@prosody.local>
On Tue, 25 Aug 2009 23:24:30 -0700, Sylvain Galineau  
<sylvaing@microsoft.com> wrote:

> I like the text too but I will ask the dumb question: what is the core  
> set of text cases for run-ins ? Clearly, this results in boxes becoming  
> inline or block depending on the context but I'm not 100% clear on what  
> problem it solves ?


My main use case:

display:run-in allows for a classic use of typographic headers from the  
print world while maintaining the integrity of content flow within the  

h2 {display: run-in; text-transform: uppercase;}


<p>blah blah.</p>

<h2>News of the day:</h2>

<p>Today Sylvain ate a lot of cabbage and it gave him a tummy ache.</p>

The presentation would be:


blah blah.

NEWS OF THE DAY: Today, Sylvain a lot of cabbage and it gave him a tummy  

Molly E. Holzschlag
Web Evangelist, Developer Relations, Americas
Member, W3C CSS Working Group
Opera Software mollyh@opera.com
"Follow the Standards / Break the Rules"
http://dev.opera.com/ http://molly.com/
Received on Wednesday, 26 August 2009 06:46:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:38 UTC