On 9/9/12 3:11 AM, James Teh wrote: > Hi. > This does make sense, though there are a few issues: > 1. This creates inconsistency between fetching all attributes at once > and fetching a single attribute. Maybe this isn't important; I'm not > sure. > 2. Most of the integer attributes aren't strictly integers across the > spec and various implementations. For example, Firefox seems to > provide units in px, but I'm pretty sure the spec says mm. > > As for creating extra work for implementers, even in C++, working with > basic VARIANTs isn't too difficult. In some ways, parsing strings is > probably harder. I was thinking of the extra work related to the fact that there would be one set of code to build up the full attribute string and another to create the VARIANT, but maybe the hard part was to create the full attribute string and the trivial part is to create the VARIANT.
I don't mind using a VARIANT, but based on my work situation it would be best if someone took on the job of updating the wiki document to include what is returned by IA2_2::attribute for each object attribute. > > Jamie > > On 8/09/2012 10:38 AM, Pete Brunet wrote: >> Hi Alex, At least from the perspective of the spec I don't have time to >> make this change, i.e. I think it would take quite a bit of time for me >> to specify which VARIANT type is returned for each of the attributes in >> the spec. Some else could pick up that work though. Updating the method >> from BSTR to VARIANT would be easy enough though. Is this also extra >> work for the implementers? -Pete >> >> On 9/7/12 7:20 PM, Alexander Surkov wrote: >>> Hi. Since we are going to introduce a method that allows to fetch >>> object attribute by name then it should be nice if we are able to >>> return typed value. For example, if the AT wants a margin-top object >>> attribute then the server could return an integer. >>> >>> Thank you. >>> Alex. >>> >> >> -- >> *Pete Brunet* >> >> a11ysoft - Accessibility Architecture and Development >> (512) 467-4706 (work), (512) 689-4155 (cell) >> Skype: pete.brunet >> IM: ptbrunet (AOL, Google), [email protected] (MSN) >> http://www.a11ysoft.com/about/ >> Ionosphere: WS4G >> >> >> _______________________________________________ >> Accessibility-ia2 mailing list >> [email protected] >> https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2 >> > -- *Pete Brunet* a11ysoft - Accessibility Architecture and Development (512) 467-4706 (work), (512) 689-4155 (cell) Skype: pete.brunet IM: ptbrunet (AOL, Google), [email protected] (MSN) http://www.a11ysoft.com/about/ Ionosphere: WS4G
_______________________________________________ Accessibility-ia2 mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
