W3C home > Mailing lists > Public > www-style@w3.org > May 2011

Re: [css3-regions] region sthyling (Feedback on regions document)

From: Vincent Hardy <vhardy@adobe.com>
Date: Thu, 12 May 2011 21:29:36 -0700
To: Alex Mogilevsky <alexmog@microsoft.com>
CC: David Hyatt <hyatt@apple.com>, "www-style@w3.org CSS" <www-style@w3.org>
Message-ID: <DFCCE44F-AF66-491C-9D9E-6D74745988FB@adobe.com>
Hi Alex,

On May 12, 2011, at 3:54 AM, Alex Mogilevsky wrote:

> I definitely agree with Dave that region styling this is a major implementation challenge. I also see that it is used a lot in print so it at least deserves attention.
> 
> If/when it actually gets implemented...
> 
> For syntax, of all options proposed to date I like the "@region-style" version the most. There are no new constructs or syntax extensions needed, and it also groups the related rules.
> 
> In behavior I think it is really important to be as close to first-line line as possible. I would say if there is only one line in the first region, and there is any difference between "first-line" and "@region-style" (with same properties), it is a big problem. Would you agree?

Yes.
> 
> Thinking a bit more about whether region-style can be defined exactly as first-line... It seems obvious that it can on the first page. How about second page? I have not tried to make it work but it seems that it should work too... first-child aside, second page doesn't need to know that first existed.
> 
> It is still hard to do, even if it can be defined. Don't expect broad comprehensive support soon...

What do you think of the proposal I made in my response to David?

@region-style <region-sel> {
      h1::region-lines {
      }
}

Vincent
Received on Friday, 13 May 2011 04:30:46 GMT

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