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

RE: [css3-regions] Feedback on regions document

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Tue, 17 May 2011 05:55:40 +0000
To: Vincent Hardy <vhardy@adobe.com>
CC: David Hyatt <hyatt@apple.com>, "www-style@w3.org CSS" <www-style@w3.org>
Message-ID: <D51C9E849DDD0D4EA38C2E539856928411F9B107@TK5EX14MBXC218.redmond.corp.microsoft.com>
 -----Original Message-----
 From: Vincent Hardy [mailto:vhardy@adobe.com]
 Sent: Friday, May 13, 2011 10:20 PM
 
 In the current draft, that was the intention. But with the latest
 discussion, our current thinking is to have something like:
 
 @region <region_sel> {
     h1 { /* selects an h1 if _completely_ in region */ }
     h1:lines {/* selects only the lines that are in the region */} }
 

To be honest I don't see how styling lines vs. styling the whole element is simplifying implementation. It may even make it more complicated (what if H1 fits in the region without region styling, but doesn't fit with it?).

I think all that could be done for simplification is defining the behavior to be as close as possible to that of first-line (and that is already done). Then most of the logic is already in, and the hard work is optimizing the implementation to work with larger content (and to more combinations - first-line and first-page and hover...)

Alex
Received on Tuesday, 17 May 2011 05:56:11 GMT

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