Re: Test Case 74

Hi, Rich. Events should describe a change. So events number doesn't really
matter if they all describe the change correctly. Do you agree that the
following is equivalent for "hello" -> "hello my" change

1. text removed (0, 5, "hello") and text inserted (0, 8, "hello my")
2. text inserted (5, 8, " my")

That's what happening in Firefox in this example I think, we get noisy but
the text change is described correctly. So I'd say it's implementation
feature rather than a bug.
Alex.


On Mon, Oct 28, 2013 at 1:06 PM, Richard Schwerdtfeger <schwer@us.ibm.com>wrote:

> Well, OK but does the order matter (as it does not match the expected
> results) and should you be firing so many events repeatedly?
>
> Rich Schwerdtfeger
>
> [image: Inactive hide details for Alexander Surkov ---10/28/2013 11:48:47
> AM---Hi, Rich. I believe that's what our text diff alg produc]Alexander
> Surkov ---10/28/2013 11:48:47 AM---Hi, Rich. I believe that's what our text
> diff alg produces, i.e. when you change a string to another
>
>
> From: Alexander Surkov <surkov.alexander@gmail.com>
> To: Richard Schwerdtfeger/Austin/IBM@IBMUS,
> Cc: "W3C WAI Protocols & Formats" <public-pfwg@w3.org>, David Bolter <
> dbolter@mozilla.com>
> Date: 10/28/2013 11:48 AM
>
> Subject: Re: Test Case 74
> ------------------------------
>
>
>
> Hi, Rich. I believe that's what our text diff alg produces, i.e. when you
> change a string to another one then we compute a min difference between
> them and fire proper events.
>
>
> On Mon, Oct 28, 2013 at 12:40 PM, Richard Schwerdtfeger <*
> schwer@us.ibm.com* <schwer@us.ibm.com>> wrote:
>
>    Hi Alex,
>
>    Here is the test case: *
>    https://www.w3.org/WAI/PF/testharness/testcases/edit?testsuite_id=2&testcase_id=74
>    *<https://www.w3.org/WAI/PF/testharness/testcases/edit?testsuite_id=2&testcase_id=74>
>
>    and the test file: *
>    https://dvcs.w3.org/hg/pfwg/raw-file/default/ARIA-UAIG/1.0/tests/test-files/test74.html
>    *<https://dvcs.w3.org/hg/pfwg/raw-file/default/ARIA-UAIG/1.0/tests/test-files/test74.html>
>
>    Rich
>
>
>    Rich Schwerdtfeger
>
>    [image: Inactive hide details for Alexander Surkov ---10/28/2013
>    11:37:36 AM---Hi, Rich. A link please? Text inserted/removed event ord]Alexander
>    Surkov ---10/28/2013 11:37:36 AM---Hi, Rich. A link please? Text
>    inserted/removed event order should make a difference.
>
>    From: Alexander Surkov <*surkov.alexander@gmail.com*<surkov.alexander@gmail.com>
>    >
>    To: Richard Schwerdtfeger/Austin/IBM@IBMUS,
>    Cc: "W3C WAI Protocols & Formats" <*public-pfwg@w3.org*<public-pfwg@w3.org>
>    >
>    Date: 10/28/2013 11:37 AM
>    Subject: Re: Test Case 74
>    ------------------------------
>
>
>
>
>    Hi, Rich. A link please? Text inserted/removed event order should make
>    a difference.
>
>
>    On Mon, Oct 28, 2013 at 12:32 PM, Richard Schwerdtfeger <*
>    schwer@us.ibm.com* <schwer@us.ibm.com>> wrote:
>       Alex,
>
>       I just ran tst case 74 whose expected result is supposed to be:
>
>       Accessible2: IA2_EVENT_TEXT_REMOVE followed immediately by
>       IA2_EVENT_TEXT_INSERTED
>
>       Yet. I am getting a plethora of removed and inserted events and the
>       order does not match the expected result.
>
>       1. Why are all these events getting generated?
>       2. Does the event order really matter?
>
>       See the event log below.
>
>       Rich
>
>
>
>       Rich Schwerdtfeger
>
>
>

Received on Monday, 28 October 2013 17:41:10 UTC