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

Re: [css3-regions][cssom] NamedFlowCollection as a live collection?

From: Dimitri Glazkov <dglazkov@google.com>
Date: Mon, 6 Aug 2012 16:56:45 -0700
Message-ID: <CADh5Ky1RZfj25T8f6VCG4ZFooMh8Rveoq2EM0EgWnuWfuxx5yg@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: Mihnea-Vlad Ovidenie <mihnea@adobe.com>, "www-style@w3.org" <www-style@w3.org>, Alex Mogilevsky <alexmog@microsoft.com>
I just started digging into CSS Regions spec, and this was one of the
first things that popped up. Having NamedFlowCollection as live
collection seems odd, since its contents can change (or completely
disappear) at any style computation. This sounds like an excellent
opportunity for awesome Web developer head-scratchers.

:DG<

On Fri, Jun 1, 2012 at 1:01 AM, Anne van Kesteren <annevk@opera.com> wrote:
> On Thu, 31 May 2012 22:56:07 +0200, Alex Mogilevsky <alexmog@microsoft.com>
> wrote:
>>
>> See http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#collections
>> My understanding of HTML conventions is that if collection is an attribute
>> it must be live. Anne - would you say it is "must" or "should"
>
>
> If you want to return a static list you should use a method. A method is
> expected to be able to return something new if you invoke it later. An
> attribute generally returns the same thing over time. (This is the pattern
> we try to follow.)
>
> Although I don't have conclusive data, my impression is that developers
> prefer static lists. You might be able to get more feedback on this by
> emailing public-webapps@w3.org.
>
>
> --
> Anne van Kesteren
> http://annevankesteren.nl/
>
Received on Monday, 6 August 2012 23:57:12 GMT

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