Hi Keith,
>> Firstly, if I write an app that will be accessed over the web I cannot dictate which browser is used to access it. In practice all of them will be used. This means that I cannot write it assuming Chrome or FireFox - the app has to work under all browsers. We may have favorites but we have to cater for the pack.
I completely agree. For the minority of folk still using IE, the app has to work. I think you'll find that any difference in the app from browser to browser is cosmetic. It's basically impossible for the app to _look_ exactly the same in all browsers, because they all have a different layout engine.
>> Secondly, in the development environment attributes can be assigned to fields (Spinner number, string etc) but although we may think that we are defining the behavior of the field (and think that we have explicit control) we don't because the browser makes up its own mind.
yes and no. The NetTalk field types map to the HTML field types. If you know what the HTML fields do then you'll have some idea of what the app might be. Some fields are more "variable" than others. Your example, the NUMBER type, is new in HTML5 and the exact behavior of the field is left up to the browser (in the spec). The browsers have implemented it differently, but a user who uses IE, or Firefox, or Chrome doesn't know this. They just get what they are used to. Functionally the field is the same across all the browsers, but cosmetically it's different.
>> So this boils down to 'forget your judicious selection of attributes for your field (justification, read status etc) the browser will ignore them'
no, that's inaccurate.
>> which means that what you may have to do is to always be fooling the browser - say by using a declaration of String which at the moment appears to cut off the browsers propensity to make (erroneous) decisions.
I think perhaps you're taking your experience of one specific type and applying it to all types.
>> My basic question here is that while NetTalk through attribute setting gives the impression that the developer has control over that attribute (say, justification) in fact he may not have control at all and is it possible for NetTalk to generate code which forces the browser to comply.
I'm not aware of cases where you are being mislead - but browsers are continually changing. I believe the number field is documented specifically as being very much under the browsers control, and the String field is recommended over the Number in most cases.
>> So have a look at the details of my gripes in the document.
will do - reply to that in a different note.
cheers
Bruce