W3C home > Mailing lists > Public > www-voice@w3.org > January to March 2013

Transition order

From: David Junger <tffy@free.fr>
Date: Sun, 10 Feb 2013 10:53:18 +0100
Message-Id: <1A493C4B-09DA-4B51-865D-D872CE7AC23C@free.fr>
To: "VBWG Public (www-voice@w3.org)" <www-voice@w3.org>
I just wanted to get one thing clear, because there seems to be some potential confusion in other discussions about this specific detail:

Transition order != document order

Take this example:

<state>
    <transition target="a"/>
    <state>
        <transition target="b"/>
    </state>
</state>

The transitions are in conflict since neither "a" nor "b" are internal targets, but it is the transition to "b" that will be taken although it comes after the transition to "a" in document order.

from the spec (emphasis added):
[Definition: A transition T is optimally enabled by event E in atomic state S if a) T is enabled by E in S and b) no transition that precedes T in document order in T's source state is enabled by E in S and c) no transition is enabled by E in S in any descendant of T's source state.]


			David
Received on Sunday, 10 February 2013 09:53:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 10 February 2013 09:53:48 GMT