Contacts API -- formatted

Several classes implement a formatted field that is defined as:

This attribute contains the full physical address including street, locality, region, postalCode, and country as appropriate, and formatted for display.

Is this supposed to be active (e.g. if I change region on an address, it automatically updates), or is this a snapshot?

If we allow diverging formatting, writing these objects back (assuming we do add an edit feature) becomes pretty confusing. If we don't plan on adding edit, why are these fields not readonly?

Andreas

[NoInterfaceObject]
interface 
ContactAddress
 {
    attribute boolean    pref;
    attribute DOMString? type;
    attribute DOMString? formatted;
    attribute DOMString? streetAddress;
    attribute DOMString? locality;
    attribute DOMString? region;
    attribute DOMString? postalCode;
    attribute DOMString? country;
};

Received on Thursday, 25 August 2011 06:10:20 UTC