Re: [css3-regions] content:flow-from() vs. flow-from

On 08/10/2011 04:07 PM, Alex Mogilevsky wrote:
>
> What can we do here?
>
> Option 1:
> 	1) "content:flow-from()" defines a region (no change)
> 	2) css3-content is updated to say that :before/:after have no effect on regions
>
> Option 2:
> 	1) use "flow-from:flowname"
> 	2) define that generated content (':before', ':after', ':: 'content' don't apply to regions)
>
> Option 3:
> 	1) Introduce "display-inside" property (defines layout behavior inside element:
>          "display:inline-table" == "display:inline-block; display-inside:table").
> 	2) Element becomes a region when it has "display-inside:region"
> 	3) Generated content does not apply to regions
> 	4) Flow selection: 'flow-from' or 'content:flow-from()' - with this option either
>          way works, these properties no longer define region, they are consumed by the
>          region and it can set its own rules.
>
> Proposal:
> 	I would like Option 3. If we are not willing to go that far, then Option 2.

Option 4:
      1) "content: flow-from()" defines a region (no change)
      2) css3-content is updated to say that :;before/::after have no effect
         unless the used value of 'content' is 'contents'

~fantasai

Received on Wednesday, 10 August 2011 23:31:43 UTC