W3C home > Mailing lists > Public > www-style@w3.org > December 2012

Re: [css3-regions] Separating regions markup

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Tue, 11 Dec 2012 15:34:20 +0100
Message-ID: <50C7446C.6060907@disruptive-innovations.com>
To: www-style@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:03 GMT