From mattraymond at earthlink.net Wed Feb 2 08:00:21 2005 From: mattraymond at earthlink.net (Matthew Raymond) Date: Wed, 02 Feb 2005 11:00:21 -0500 Subject: [whatwg] [WA1] Idea for Calendar Markup Message-ID: <4200F915.9060803@earthlink.net> I like the idea of a calendar in Web Applications 1.0, but I really hate the way they're currently implemented. For one thing, if the |class| attribute contains the name of a calendar attribute, how do you style the element? What happens if you use |class| to style something, and the class happens to be the name of a calendar attribute? Does it style that attribute. Nope, I prefer to stick with good old-fashioned elements. Here's an example of what I'd like to see, minus the fallback content: | | | | | | | | | | | | Basic stuff like the summary and the start and end dates are defined specifically. The rest of the calendar event attributes are defined with . A WA1-compliant UA would then assign the |value| attribute as the value of the calendar event attribute. If |value| is not specified, the child contents are used. The element is a special case in that it requires elements to be in the child contents if |value| is undefined. All contents inside that are not calendar-related elements or the contents of calendar-related elements are ignored. As a result, the following would provide proper fallback content: | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Upcoming Events
SummaryStatusClassCategoriesStart DateEnd Date
| That thing we did that was so fun. | CONFIRMEDPRIVATEWork | 02/30/05 7:00 PM | | 02/30/05 9:00 PM |
|
The above should render in legacy user agents as a table, with values unimportant to presentation not rendered. Yet, for a WA1 UA, it yields the same calendar as the first example. Note that in both examples, if the |type| of a element is unknown to the user agent, the value can simply be ignored. The would have a set of standardized |type| values that all user agents would support, then individual user agent vendors could implement extensions, with the recommended nomenclature being something like this: x-[company or organization]-[attribute name] This should give us a reasonable amount of flexibility and extensibility without creating a complicated markup scheme. If necessary, and could be rolled into , but I'd prefer to have these separate, since they're likely to always be used. That's all for now. Thoughts welcome. From ian at hixie.ch Thu Feb 3 05:36:54 2005 From: ian at hixie.ch (Ian Hickson) Date: Thu, 3 Feb 2005 13:36:54 +0000 (UTC) Subject: [whatwg] Web Forms 2.0 In-Reply-To: <41FE8360.6000607@yahoo.com> References: <41FC2D55.6030608@yahoo.com> <41FE8360.6000607@yahoo.com> Message-ID: On Mon, 31 Jan 2005, Daniel Brooks wrote: > > Ah, that makes sense. Perhaps a single sentance that states that they > are counted as two form controls just like is described elsewhere (with > a reference), but that they are otherwise skipped. The spec says: | For image controls, instead of using the name given by the name | attribute, the field's name is checked against two names, the first | being the value of the name attribute with the string .x appended to it, | and the second being the same but with .y appended instead. Thus image | controls are handled as if they were two controls. | | If the identified form control is a file upload control, a push button | control, or an image control, then the field element is now skipped. > Ah, it's in the third paragraph, but now that I read it again I see that > it says 'from script', not 'form script', so I guess it's ok, but 'for a > script' or 'for scripts' would be easier to read. The whole sentance is > "There is no way from script to detect this situation because that would > open the way for some privacy or security leaks." Done. Cheers, -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.' From ian at hixie.ch Thu Feb 3 05:59:44 2005 From: ian at hixie.ch (Ian Hickson) Date: Thu, 3 Feb 2005 13:59:44 +0000 (UTC) Subject: [whatwg] Re: several messages In-Reply-To: <41FF0B32.8050604@earthlink.net> References: <41F659E0.1040709@earthlink.net> <851c8d3105012705432ecbf2d0@mail.gmail.com> <41F91945.7060906@earthlink.net> <851c8d31050127084967914a93@mail.gmail.com> <41F925ED.8040400@earthlink.net> <851c8d310501280256759eb54b@mail.gmail.com> <41FA3EEF.1000206@earthlink.net> <41FA8B25.4020001@earthlink.net> <0D62341D-7180-11D9-85E7-003065B8CF0E@iki.fi> <851c8d3105012902545fce5f43@mail.gmail.com> <41FBCBB8.5030306@earthlink.net> <41FE681F.60200@cam.ac.uk> <41FF0B32.8050604@earthlink.net> Message-ID: On Mon, 31 Jan 2005, Matthew Raymond wrote: >> >> It has problems, as mentioned elsewhere in the thread: >> >> * It is easy for authors to not include any fallback, which makes it >> worse than the equivalent. > > If the legacy fallback is simply an , then inheritance handles it > nicely. If you start with this: > > | Format: YYYY-MM-DD But you don't. Many, if not most, WF2 documents will be new documents. There is no existing content. Authors would just do: ...or some such, and be done with it. > Therefore, I see no reason why a webmaster would choose to drop their > legacy content when upgrading their websites to use and its > siblings. The problem is assuming the Web author is upgrading a Web site in the first place. It could be a new one. > The only issue here is whether or not a grandfather or soccer mom who > knows virtually nothing about legacy support would put in the proper > legacy content. For these individuals, you simply write a tutorial that > tells them to do something like this: > > | > > This can be explained to the user easily enough: "Pretend you're going > to enter the date as text, then slap tags around it." It's not > rocket surgery. But it's more complicated than the current text, which works for both new and old browsers. Sure, the fallback isn't as ideal when the author is trying hard to provide fallback, but (as described elsewhere in this thread) I simply don't see that these particular features (date) will be interesting to authors of that caliber. > > * The fallback and non-fallback controls have different names. > > This is only true of the 3SC scenario, and in that situation the server > script can easily be rewritten to handle the situation. I thought we had to assume the server couldn't be changed? >> * The datetime types don't really need comprehensive fallback, given >> that the three cases that they could replace are: >> 1. Text inputs, which would be improved, not hurt, by the new >> types, > > Except you never solved the formatting hints problem to anyone's > satisfaction I still don't understand what is wrong with the short amount of black-box JavaScript I proposed. It handles more cases than your proposals with no work on the UA implementor's behalf. Not to mention that many of the authors who fall into this "1" category simply don't provide formatting hints at all. The authors who are likely to care about fallback formatting hints simply wouldn't use text inputs in current pages anyway, and therefore aren't, IMHO, part of this category. > nor did you explain how to handle legacy sites that use + DHTML > solutions. That would be category 3 below. > Elements like , as seen above, solve this problem in a simple, > straight-forward and effective manner. IMHO it is neither simple, nor straight-forward, nor effective, and has serious drawbacks, as I have described. It certainly isn't a bad solution, but it isn't, IMHO, any better than what we have already. > > 2. controls for legacy > input, then failing to support it will drive people away from WF2, at > least where the date/time markup is concerned. Why would this be a problem? As I said before, we're not trying to get people to use WF2 for the sake of using WF2 here. > It may even give some user agent vendors reason not to implement parts > of the WF2 spec. I highly doubt that use or lack of use of type="date" on sites will affect whether UAs implement it or not. There are plenty of counter-examples. (Nobody uses XForms, yet IBM implements it in Mozilla; lots of people use XSLT, yet Opera isn't implementing that, etc.) > > 3. Complex JS widgets, for which declarative fallback is not > > needed. > > Having a consistent, localized, canned date control is something > webmasters are going to want even if they have complex DHTML widgets. > However, they're not going to want to get rid of their DHTML widgets on > legacy clients that are still bound to be around for many years. As a > result, if you make it nigh impossible for them to use their widgets as > a fallback, they're just going to continue using them because they know > they'll still work on WF2 user agents. If they have complex JS widgets, they can implement the fallback in JS trivially. That's what I menat by "_declarative_ fallback is not needed". > > ...not to mention the extra complexity and the implementation > > difficulty compared to just using a new "type". > > Elements like are identical to with respect to the > widget they use, and they have the same attributes that type="date"> would have without adding additional ones. Yet they have a host of differences: They don't appear in the .elements array in legacy clients, they don't automatically get support for things like autofocus when UAs implement that, all kinds of event handling happens differently for legacy UAs than new UAs, etc etc etc. > Could you provide a use case where implementation would be an issue? I have no idea what you mean by this. > If the user agent vendor doesn't want to implement the inheritance part > of the spec See, part of the problem is that it _has_ an "inheritance" part. It just isn't simple. > Now, I suppose a user agent might implement the non-inheritance version > of without rendering the legacy content for inheriting markup, > but why would any sane developer (aside from Microsoft, perhaps) do > this? (I thought about an "inherit" attribute or something, but the only > real use for this is to help user agents without inheritance support > find elements that use inheritance.) It has nothing to do with sanity. Why would any sane developer implement the CSS parser incorrectly? Why would any sane developer screw up the implementation of absolute positioning, or margin collapsing, or whatever? > Perhaps the best solution is to leave in the > specification, add and it's siblings, and let the best element > win in the implementation phase. Besides, there's no reason the two > can't coexist, and they'd very likely share a lot of the same code. That's tantamount to the way UI developers who can't make their mind up throw in a pref. "Let the user figure it out." > Just thought of something. In XHTML, would actually take up less > space than when no legacy content is used: > > | > > | The _huge_ difference here being that the former has legacy fallback, and the latter doesn't. That, for me, is a blocker. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.' From lachlan.hunt at iinet.net.au Thu Feb 3 06:08:15 2005 From: lachlan.hunt at iinet.net.au (Lachlan Hunt) Date: Fri, 04 Feb 2005 01:08:15 +1100 Subject: [whatwg] [WF2] 6.2: maxlength Defintion - Grammatical Problems Message-ID: <4202304F.5060705@iinet.net.au> Hi, In section 6.2, under the defintion of the maxlength attribute, the current draft states [1]: | Authors are encouraged to use maxlength on uri and email fields only | if the server side processor actually has a limit on the size of data | fields it can usefully process. Valid URIs and e-mail addresses in | particular can often be surprisingly long. I misread that several times as I was skimming through, thinking it meant that using maxlength on uri and email fields was generally a good thing. I suggest you reverse it so that it makes a little more sense. I think this would be better: Authors are _discouraged from using_ maxlength on uri and email fields _unless_ the server side processor actually has a limit on the size of data fields it can usefully process. Valid URIs and e-mail addresses in particular can often be surprisingly long. Also, another grammatical error I came across several times throught the draft is whenever it says "comply to", "complies to" or any other variation. The correct preposition to use is actually "with", not "to". Thus, they should read "comply with", "complies with", etc. [1] http://www.whatwg.org/specs/web-forms/2005-01-28-call-for-comments/#extensions0 -- Lachlan Hunt http://lachy.id.au/ http://GetFirefox.com/ Rediscover the Web http://SpreadFirefox.com/ Igniting the Web From ian at hixie.ch Thu Feb 3 06:09:07 2005 From: ian at hixie.ch (Ian Hickson) Date: Thu, 3 Feb 2005 14:09:07 +0000 (UTC) Subject: [whatwg] Re: several messages In-Reply-To: <41FE6E94.6070604@cam.ac.uk> References: <41F659E0.1040709@earthlink.net> <851c8d3105012705432ecbf2d0@mail.gmail.com> <41F91945.7060906@earthlink.net> <851c8d31050127084967914a93@mail.gmail.com> <41F925ED.8040400@earthlink.net> <851c8d310501280256759eb54b@mail.gmail.com> <41FA3EEF.1000206@earthlink.net> <41FA8B25.4020001@earthlink.net> <0D62341D-7180-11D9-85E7-003065B8CF0E@iki.fi> <851c8d3105012902545fce5f43@mail.gmail.com> <41FBCBB8.5030306@earthlink.net> <41FE681F.60200@cam.ac.uk> <41FE6E94.6070604@cam.ac.uk> Message-ID: On Mon, 31 Jan 2005, James Graham wrote: > > > > It has problems, as mentioned elsewhere in the thread: > > > > * It is easy for authors to not include any fallback, which makes it > > worse than the equivalent. > > In general, it is easy to make WF2 pages incompatible with older > browsers. Granted, but at least it's not the default. > > * The fallback and non-fallback controls have different names. > > Why is that a problem? Would it not be a simple if construct on the > server side to deal with the two cases? Having two different forms (as opposed to one form with just better behaviour in newer UAs) is something that the current WF2 design has, by and large, been striving for. > > 2. s are reasonably good UI, although not as good as type="date" on a supporting UA. While WF2 UAs are not in the majority, there's not really a huge advantage to using the new types. (This applies to et all as well, by the way.) Similarly, while XHTML is not supported in the majority of UAs, there's not really any reason to use XHTML. That doesn't mean that XHTML is bad, indeed, XHTML (and especially the ability to create compound documents by mixing namespaces _with_ XHTML) is great. But there's no reason to rush off and use XHTML in the meantime. The difference is that if you _do_ want to use type="date", you can do so, and legacy UAs will still work (albeit not as user-friendlyly). With XHTML, it's an all-or-nothing deal. With , it doesn't have to be all-or-nothing, but authors are likely to take the easy route and thus not provide any fallback content. (Just look at how many authors provide good fallback content for images.) > > 3. Complex JS widgets, for which declarative fallback is not needed. > > Why not? If one is replacing a javascript control with a WF2 control, > one can improve the accessibility of one's page further by providing > simple controls for legacy clients (this would be equivalant to say, > producing a CSS based design and allowing old browsers to recieve > unstyled content v using a table based design and blocking old browsers > entirely). I said _declarative_ fallback was not needed. If you're using JS, you can easily implement the fallback yourself using JS. > > ...not to mention the extra complexity and the implementation > > difficulty compared to just using a new "type". > > Really? Obviously you're much more familiar with the browser engines > than I am but I'm not sure that this is obviously difficult to > implement. At least not obviously a lot more difficult than WF2 datetime > controls are anyway. Is there something specific that browsers will > struggle to cope with? Nothing specific. Just every little added bit of complexity. I'm already getting requests from implementors to drop the entire repetition model, and to massively simplify the validity stuff, etc. And those aren't particularly hard to implement. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.' From ian at hixie.ch Thu Feb 3 06:53:44 2005 From: ian at hixie.ch (Ian Hickson) Date: Thu, 3 Feb 2005 14:53:44 +0000 (UTC) Subject: [whatwg] [WF2] 6.2: maxlength Defintion - Grammatical Problems In-Reply-To: <4202304F.5060705@iinet.net.au> References: <4202304F.5060705@iinet.net.au> Message-ID: On Fri, 4 Feb 2005, Lachlan Hunt wrote: > > I misread that several times as I was skimming through, thinking it > meant that using maxlength on uri and email fields was generally a good > thing. I suggest you reverse it so that it makes a little more sense. I > think this would be better: > > Authors are _discouraged from using_ maxlength on uri and email fields > _unless_ the server side processor actually has a limit on the size of > data fields it can usefully process. Valid URIs and e-mail addresses > in particular can often be surprisingly long. Good idea. Done. > Also, another grammatical error I came across several times throught the > draft is whenever it says "comply to", "complies to" or any other > variation. The correct preposition to use is actually "with", not "to". > Thus, they should read "comply with", "complies with", etc. I couldn't find any reference to back this up, but since I don't have a strong opinion either way, I changed them all to "with". -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.' From ian at hixie.ch Thu Feb 3 07:58:34 2005 From: ian at hixie.ch (Ian Hickson) Date: Thu, 3 Feb 2005 15:58:34 +0000 (UTC) Subject: [whatwg] Web Forms 2 stable draft draft Message-ID: I've added a blurb in the status section of the WF2 document listing the issues that I am aware of that people still are not happy with with regard to the current state of the WF2 draft. What a horrible sentence. Anyway, please let me know ASAP if I've missed an issue. Cheers, -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.' From fora at annevankesteren.nl Thu Feb 3 08:17:11 2005 From: fora at annevankesteren.nl (Anne van Kesteren) Date: Thu, 03 Feb 2005 17:17:11 +0100 Subject: [whatwg] Use IRI instead of URI Message-ID: <42024E87.4030505@annevankesteren.nl> Since IRI is now a RFC, shouldn't Web Forms use that term instead of URI? (For example, in section 2.12. I guess once UAs start supporting IRIs you want a list of IRIs there, not just URIs.) -- Anne van Kesteren From fora at annevankesteren.nl Thu Feb 3 08:21:23 2005 From: fora at annevankesteren.nl (Anne van Kesteren) Date: Thu, 03 Feb 2005 17:21:23 +0100 Subject: [whatwg] Link to dated version of HTML 4.01, not latest Message-ID: <42024F83.4020904@annevankesteren.nl> I think Web Forms 2 should refer to a dated version of HTML 4.01 (for example section 2.13), not to the latest version since there is a very small chance that the definition might change eventually. -- Anne van Kesteren From mattraymond at earthlink.net Thu Feb 3 08:49:53 2005 From: mattraymond at earthlink.net (Matthew Raymond) Date: Thu, 03 Feb 2005 11:49:53 -0500 Subject: [whatwg] Re: several messages In-Reply-To: References: <41F659E0.1040709@earthlink.net> <851c8d3105012705432ecbf2d0@mail.gmail.com> <41F91945.7060906@earthlink.net> <851c8d31050127084967914a93@mail.gmail.com> <41F925ED.8040400@earthlink.net> <851c8d310501280256759eb54b@mail.gmail.com> <41FA3EEF.1000206@earthlink.net> <41FA8B25.4020001@earthlink.net> <0D62341D-7180-11D9-85E7-003065B8CF0E@iki.fi> <851c8d3105012902545fce5f43@mail.gmail.com> <41FBCBB8.5030306@earthlink.net> <41FE681F.60200@cam.ac.uk> <41FF0B32.8050604@earthlink.net> Message-ID: <42025631.7060004@earthlink.net> Ian Hickson wrote: > On Mon, 31 Jan 2005, Matthew Raymond wrote: >>>It has problems, as mentioned elsewhere in the thread: >>> >>> * It is easy for authors to not include any fallback, which makes it >>> worse than the equivalent. >> >>If the legacy fallback is simply an , then inheritance handles it >>nicely. If you start with this: >> >>| Format: YYYY-MM-DD > > But you don't. Many, if not most, WF2 documents will be new documents. There's nothing in WF2 that requires a fundamental rewrite of existing HTML documents. Assuming most WF2 documents will be created from scratch is not a safe assumption. > There is no existing content. Authors would just do: > > > > ...or some such, and be done with it. First of all, why would they do such a thing unless they specifically didn't care about legacy browsers? Furthermore, WF2 user agents will have little initial marketshare, so why would someone target them and leave out legacy support? This is especially nonsensical when you notice that supporting legacy UAs in a manner similar to really isn't that hard: | And they're going to have to know how to use to create forms anyways. If anything, is just as confusing because it requires you to set the |type| attribute when the webmaster may have only learned this: | Furthermore, although the markup doesn't have a built-in fallback, neither does or the |data| attribute. In both situations, you can have critical content that you potentially can't use in legacy browsers. >>Therefore, I see no reason why a webmaster would choose to drop their >>legacy content when upgrading their websites to use and its >>siblings. > > The problem is assuming the Web author is upgrading a Web site in the > first place. It could be a new one. If they're new websites, marketshare should force most webmasters to add legacy support. Anyone remotely serious about legacy browsers is going to put it in anyway (especially since it only takes one element). >>The only issue here is whether or not a grandfather or soccer mom who >>knows virtually nothing about legacy support would put in the proper >>legacy content. For these individuals, you simply write a tutorial that >>tells them to do something like this: >> >>| >> >>This can be explained to the user easily enough: "Pretend you're going >>to enter the date as text, then slap tags around it." It's not >>rocket surgery. > > But it's more complicated than the current text, which works for both new > and old browsers. Assuming that the default for an with an unidentified |type| attribute is text, which is not specified in the HTML 4.01 spec. So, in theory, there may be browsers out there that will drop entirely, in which case there is no fallback. > Sure, the fallback isn't as ideal when the author is > trying hard to provide fallback, but (as described elsewhere in this > thread) I simply don't see that these particular features (date) will be > interesting to authors of that caliber. I think I can come up with a few features: 1) Localization - Date is always formatted in a way the user understands. 2) Stability - Webmasters don't have to worry about DHTML date controls crashing on WF2 user agents. 3) No Javascript - The date control will still work, even when the browser has Javascript turned off. 4) Speed - A hardcoded widget will work faster than a DHTML version and require less memory on the host system. >>> * The fallback and non-fallback controls have different names. >> >>This is only true of the 3SC scenario, and in that situation the server >>script can easily be rewritten to handle the situation. > > I thought we had to assume the server couldn't be changed? I thought I'd already acknowledged in a previous message that most people on this mailing list felt client-side formatting was a bad idea. That's why I call it "" now instead of "". >>> * The datetime types don't really need comprehensive fallback, given >>> that the three cases that they could replace are: >>> 1. Text inputs, which would be improved, not hurt, by the new >>> types, >> >>Except you never solved the formatting hints problem to anyone's >>satisfaction > > I still don't understand what is wrong with the short amount of black-box > JavaScript I proposed. Another opportunity for a list! 1) It didn't deal with default date values. Where would the script get the format string from if it wasn't in |value| attribute? 2) It relied on a empty element, which doesn't validate under HTML Strict. 3) With Javascript turned off, you have the problem of having to select and delete the format hint text in some situations. 4) New webmasters, who don't understand how the script works, will easily break it. 5) The script takes up nearly as much space as the HTML! By contrast, my modified version using probably cut the size of the demo web page in half and supports the same features. > It handles more cases than your proposals with no > work on the UA implementor's behalf. Well, there's certainly not much of a case for that if you consider typing to be the work in question: | | The best can hope for is beating by three characters. If you add scripting into the picture, immediately takes longer to type. Furthermore, the above code doesn't require the web author to know anything about the attributes of unless they specifically want to use three . So the real question is: How does the marginal added complexity of offset the benefit? > Not to mention that many of the authors who fall into this "1" category > simply don't provide formatting hints at all. I want to see three URLs for examples of webmasters using textboxes for dates but not providing any kind of formatting hint anywhere on the site. All three examples of textboxes used for dates have had formatting hints of some kind. QJump has in recent times dropped them from their front page, but does include them when it asks you to verify your journey details. (And in other places they use solution because the number of days in a month changes month-to-month. >>nor did you explain how to handle legacy sites that use + DHTML >>solutions. > > That would be category 3 below. What's your point? If easily handles category 3, then it's a more complete solution than you're offering. >>Elements like , as seen above, solve this problem in a simple, >>straight-forward and effective manner. > > IMHO it is neither simple, nor straight-forward, nor effective, and has > serious drawbacks, as I have described. It certainly isn't a bad solution, > but it isn't, IMHO, any better than what we have already. I don't feel you've made your case. It may not be as simple in the best case scenario as element and press a button. As for pages intentionally written without fallback, legacy browser users, who will remain in the majority for perhaps years to come, can simply elect to to visit such pages, thus decreasing their hit counts. So if the webmaster cares if people visit her/his site, he/she will support legacy clients. >>> 2. controls for legacy >>input, then failing to support it will drive people away from WF2, at >>least where the date/time markup is concerned. > > Why would this be a problem? As I said before, we're not trying to get > people to use WF2 for the sake of using WF2 here. We want them to use it because it's a better solution. However, if it's a better solution only on a few new browsers, but a worse solution on legacy browsers, which are in the majority, that makes WF2 a worse solution over all. >>It may even give some user agent vendors reason not to implement parts >>of the WF2 spec. > > I highly doubt that use or lack of use of type="date" on sites will affect > whether UAs implement it or not. There are plenty of counter-examples. > (Nobody uses XForms, yet IBM implements it in Mozilla; lots of people use > XSLT, yet Opera isn't implementing that, etc.) XSLT is being used by Microsoft as one excuse for not supporting web standards. It also can just as easily be done on the server as the client, so there's no reason to put it in the browser. Therefore, Opera had a reason not to implement it. XForms has yet to come out of beta on the Mozilla platform, and as I recall, Opera isn't going to include support because it's so complex. That complexity has given vendors reason to delay or even decide against implementation. So I don't see how those example help your case. In both situations, problems with the technology limited UA support. >>> 3. Complex JS widgets, for which declarative fallback is not >>> needed. >> >>Having a consistent, localized, canned date control is something >>webmasters are going to want even if they have complex DHTML widgets. >>However, they're not going to want to get rid of their DHTML widgets on >>legacy clients that are still bound to be around for many years. As a >>result, if you make it nigh impossible for them to use their widgets as >>a fallback, they're just going to continue using them because they know >>they'll still work on WF2 user agents. > > If they have complex JS widgets, they can implement the fallback in JS > trivially. That's what I menat by "_declarative_ fallback is not needed". Javascript must be loaded and executed on all browsers unless it's content the browser recognizes as fallback. Therefore, with , a script will always have to be loaded and run regardless of whether or not the UA supports WF2. And you yourself have shot down any means of WF2 support detection. By contrast, can be used to prevent execution of a script: | |