RE: [css3-regions] Feedback on regions document

± -----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 UTC