Ik ben bezig met het lezen van de Web Applications 1.0 specificatie. Ik ben nu bij sectie 2.1.4.4. aangekomen die gaat over Interactive elements. Het is mij geheel onduidelijk wat ze er mee bedoelen.
Even een directe paste uit de specificatie:
"the default action of the event that triggers the activation" > default action?
"if you click an event inside a link" > Een event klikken?
"Does the link ... second click event?" > Bedoelen ze hier een Chain of Responsibility waarbij ieder event z'n parentNode's event execute totdat er geen parents meer zijn?
Kortom, een erg onduidelijk stukje van de specificatie. Ik wil eerst eens kijken wie hier uberhaupt bezig is met WA 1.0 voordat ik de mailinglist ga spammen.
Even een directe paste uit de specificatie:
Anne? Mophor? Clay? BtM909? Crisp? Andre? Iemand?When activation is performed via some method other than clicking the pointing device, the default action of the event that triggers the activation must, instead of being activating the element directly, be the dispatching of a new event, click, on the same element, with the mouse-specific fields (button, screenX, etc) set to zero, and the key fields set according to the current state of the key input device, if any (false for any keys that are not available). [DOM3EVENTS]
The default action of this click event, or of the real click event if the element was activated by clicking a pointing device, shall be to dispatch yet another event, namely DOMActivate. It is the default action of that event that then performs the actual action.
...
Need to define how default actions actually work. For instance, if you click an event inside a link, the event is triggered on that element, but then we'd like a click is sent on the link itself. So how does that happen? Does the link have a bubbling listener that triggers that second click event? what if there are multiple nested links, which one should we send that event to?
"the default action of the event that triggers the activation" > default action?
"if you click an event inside a link" > Een event klikken?
"Does the link ... second click event?" > Bedoelen ze hier een Chain of Responsibility waarbij ieder event z'n parentNode's event execute totdat er geen parents meer zijn?
Kortom, een erg onduidelijk stukje van de specificatie. Ik wil eerst eens kijken wie hier uberhaupt bezig is met WA 1.0 voordat ik de mailinglist ga spammen.