Re: [css3-regions] Separating regions markup

On 30/11/12 02:17, Alan Stearns wrote:

>> 1) Using an external format for defining a display structure is similar
>> to using an external image for a background. If something gets
>> complicated (whether an image or a layout) it is good to put it in a
>> separate file.
>
> Yes, and it's particularly useful to have a separate file if the
> complicated thing can be re-used.

Although external instances always lead to more complex editability :-)

>> 3) For linking to that external resource, I suggest merging the 'grid'
>> and 'decorator' properties. That avoids that we have to define which one
>> takes priority (or how they combine). Using only one property allows the
>> author to choose if he wants
>>
>>     DIV {
>>       grid: "a b c"  "d e f"     /* define regions with CSS syntax */
>>     }
>>
>> or prefers
>>
>>     DIV {
>>       grid: url(regions.xml#r1)   /* define regions in XML */
>>     }
>
> I think it may be useful to keep these separate.

I agree, a binding to an external (shadow) OM is not a grid
specification.

</Daniel>

Received on Tuesday, 11 December 2012 14:34:51 UTC