Hi, guys. We can go with VARIANT returning BSTR values for now. Later we can figure out what attributes should be exposed having other types. Alex.
On Sun, Sep 9, 2012 at 5:11 PM, James Teh <[email protected]> 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. > > 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 >> > > -- > James Teh > Director, NV Access Limited > Email: [email protected] > Web site: http://www.nvaccess.org/ > Phone: +61 7 5667 8372 > _______________________________________________ > Accessibility-ia2 mailing list > [email protected] > https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2 _______________________________________________ Accessibility-ia2 mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
