W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2005

[whatwg] Publishing another Web Forms 2 Call For Comments soon

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 31 Jan 2005 15:31:47 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0501311525160.9893@dhalsim.dreamhost.com>
On Sun, 30 Jan 2005, Dean Edwards wrote:
> > >
> > > a global attribute also makes it harder to implement on IE6 where 
> > > you would have to walk the DOM to find repetition blocks.
> > 
> > Actually the definition of how the repetition model works is such that 
> > you don't have to walk anything more than the parent chain of the 
> > repetition template, and that applies to all UAs. So I don't see why 
> > implementing this in IE would be any harder than anywhere else, at 
> > least not in so far as the global attribute goes.
> > 
> > http://whatwg.org/specs/web-forms/current-work/#repetitionModel
> 
> you are assuming that the person who is implementing wf2 is attaching 
> the HTCs. that is one way i guess.

Unless I'm missing something, you shouldn't need to attach an HTC to the 
repetition blocks or the repetition templates. All their behaviour is 
defined in terms of new form controls, of a sweep through the document 
before firing the "load" event (which can be implemented as a load event 
listener assuming you can guarentee it runs first), and as part of an 
interface that extends HTMLElement and applies to all elements.

The only thing I can think of that might be a problem (assuming the above 
cases aren't) is hiding the templates, but that could be done as part of 
the sweep for repeat-start attributes on load, assuming authors don't add 
more templates dynamically (which seems like a reasonably good assumption, 
at least for an initial IE implementation).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 31 January 2005 07:31:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:21 UTC