Re: [Accessibility-ia2] Plea for a new function

2013-02-25 Thread Pete Brunet
If don't hear anything over the next couple of days, I'll assume this won't be in 1.3 and I'll finish up the work I need to do to republish the spec on a11ysoft.com for one more look at it before I get in touch with the Linux Foundation IT guys to get it published there. On 2/25/13 11:58 PM, Alexa

Re: [Accessibility-ia2] Plea for a new function

2013-02-25 Thread Alexander Surkov
Probably we should let IA2 1.3 go without addressing this issue. In Firefox we still can use IA2 to expose it in non-standard way (like new object attribute). Alex. On Tue, Feb 26, 2013 at 2:49 PM, James Teh wrote: > On 26/02/2013 4:12 PM, Pete Brunet wrote: >> >> So Is the following what you wa

Re: [Accessibility-ia2] Plea for a new function

2013-02-25 Thread James Teh
On 26/02/2013 4:12 PM, Pete Brunet wrote: So Is the following what you want? It moves the method from IA2_2 to IAText2 thus resolving an issue for Jamie. HRESULT IAccessibleText2::offsetOfChildText ( [in] IUnknown* child, [out] long* offset ); ... S_OK is returned if the p

Re: [Accessibility-ia2] Plea for a new function

2013-02-25 Thread Pete Brunet
On 2/25/13 11:00 PM, Alexander Surkov wrote: > Hi, Pete. > > It shouldn't be static. The object is method called on is a parent. > > HRESULT IAccessibleText2::childOffset ( >[in] IUnknown* childAccessible, >[out] long* offset > ); Thanks for pointing that out Alex. I had it ba

Re: [Accessibility-ia2] Plea for a new function

2013-02-25 Thread Alexander Surkov
Hi, Pete. It shouldn't be static. The object is method called on is a parent. HRESULT IAccessibleText2::childOffset ( [in] IUnknown* childAccessible, [out] long* offset ); > Also, what interfaces are implemented on the child nodes? depending on the object. These are IAccessibl

Re: [Accessibility-ia2] Plea for a new function

2013-02-25 Thread Pete Brunet
On 2/25/13 9:40 PM, Alexander Surkov wrote: > I don't mind adding the method to the spec but I don't have strong > opinion either. I agree with Jamie that keeping the text method on > IAccessible2 looks unusual. In Gecko we keep an analogue method in > text interface: > int32_t GetChildOffset(Acce

Re: [Accessibility-ia2] Plea for a new function

2013-02-25 Thread Alexander Surkov
I don't mind adding the method to the spec but I don't have strong opinion either. I agree with Jamie that keeping the text method on IAccessible2 looks unusual. In Gecko we keep an analogue method in text interface: int32_t GetChildOffset(Accessible* aChild); Alex. On Tue, Feb 26, 2013 at 12:29

Re: [Accessibility-ia2] Plea for a new function

2013-02-25 Thread James Teh
Unusually :), I find it difficult to give an opinion on this. Clearly, multiple people think it should be introduced. However, I find it very hard to justify introducing what is essentially a hack into the main IAccessible2 interface. Furthermore, this method is related to IAccessibleText, yet

Re: [Accessibility-ia2] Plea for a new function

2013-02-25 Thread Alexander Surkov
I'm fine with 1nd option. Alex. On Tue, Feb 26, 2013 at 6:20 AM, Pete Brunet wrote: > Alex, Brett, Jamie, What do you recommend? > > 1) HRESULT IAccessible2_2::offsetInParentText ( > [out] long* offset > ); > > Return the text offset in the immediate parent node. > > 2) Do not add this met

Re: [Accessibility-ia2] Plea for a new function

2013-02-25 Thread Pete Brunet
Alex, Brett, Jamie, What do you recommend? 1) HRESULT IAccessible2_2::offsetInParentText ( [out] long* offset ); Return the text offset in the immediate parent node. 2) Do not add this method. 3) Something else. Pete On 2/10/13 8:15 PM, Alexander Surkov wrote: >> It's a total hack. Howe