- From: SVG Working Group repository <cam+svgwgrepo@mcc.id.au>
- Date: Wed, 20 Nov 2013 10:48:01 -0800
- To: public-svg-wg@w3.org
details: https://svgwg.org/hg/svg2/rev/2e69c11e540b branches: changeset: 566:2e69c11e540b user: Richard Schwerdtfeger <schwer@us.ibm.com> date: Wed Nov 20 12:45:54 2013 -0600 description: changed focus events to be in line with DOM3 events diffstat: master/interact.html | 36 ++++++++++++++++++++++++++++-------- master/script.html | 2 ++ 2 files changed, 30 insertions(+), 8 deletions(-) diffs (90 lines): diff --git a/master/interact.html b/master/interact.html --- a/master/interact.html +++ b/master/interact.html @@ -199,36 +199,56 @@ required to fire for every element.</p> <table class="vert event-table"> <tr> <th>Event name and description</th> <th>DOM3 or UI Event name</th> <th>Event category</th> <th>Event attribute name</th> </tr> <tr> + <td id="FocusEvent"><p class="event-name"><strong>focus</strong></p> + <p>Occurs when an element receives focus. The focus must be given to the element before the dispatch of this event type.</p></td> + <td>focus</td> + <td><a + href="http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#interface-FocusEvent"> + FocusEvent</a></td> + <td><a + href="script.html#OnFocusEventAttribute">onfocus</a></td> + </tr> + <tr> <td id="FocusInEvent"><p class="event-name"><strong>focusin</strong></p> - <p>Occurs when an element receives focus, such as when a <a>'text'</a> becomes selected.</p></td> - <td>DOMFocusIn</td> + <p>Occurs when an element is about to receive focus.</p></td> + <td>focusin</td> <td><a - href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html#Events-UIEvent"> - UIEvent</a></td> + href="http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#interface-FocusEvent"> + FocusEvent</a></td> <td><a href="script.html#OnFocusInEventAttribute">onfocusin</a></td> </tr> <tr> <td id="FocusOutEvent"><p class="event-name"><strong>focusout</strong></p> - <p>Occurs when an element loses focus, such as when a <a>'text'</a> becomes unselected.</p></td> - <td>DOMFocusOut</td> + <p>Occurs when an element is about to lose focus. The event must be dispatched to before the element loses focus. The element must be the element which is about to lose focus</p></td> + <td>focusout</td> <td><a - href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html#Events-UIEvent"> - UIEvent</a></td> + href="http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#interface-FocusEvent"> + FocusEvent</a></td> <td><a href="script.html#OnFocusOutEventAttribute">onfocusout</a></td> </tr> <tr> + <td id="BlurEvent"><p class="event-name"><strong>blur</strong></p> <p>Occurs when an element loses focus. The focus must be taken from the element before the dispatch of this event type.</p></td> + <td>blur</td> + <td><a + href="http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#interface-FocusEvent"> + FocusEvent</a></td> + <td><a + href="script.html#OnBlurEventAttribute">onblur</a></td> + </tr> + + <tr> <td id="KeyDownEvent"><p class="event-name"><strong>keydown</strong></p> <p>Occurs when a key is pressed down. The keydown event type is device dependent and relies on the capabilities of the input devices and how they are mapped in the operating system. </p></td> <td>(same)</td> <td><a href="http://www.w3.org/TR/uievents/#keyboard-event-interface"> KeyboardEvent</a></td> <td><a diff --git a/master/script.html b/master/script.html --- a/master/script.html +++ b/master/script.html @@ -276,16 +276,18 @@ specified on it.)</p> <th>Value</th> <th>Lacuna value</th> <th>Animatable</th> </tr> <tr> <td> <dfn id="OnFocusInEventAttribute">onfocusin</dfn>, <dfn id="OnFocusOutEventAttribute">onfocusout</dfn>, + <dfn id="OnFocusEventAttribute">onfocus</dfn>, + <dfn id="OnBlurEventAttribute">onblur</dfn>, <dfn id="OnClickEventAttribute">onclick</dfn>, <dfn id="OnKeyDownEventAttribute">onkeydown</dfn>, <dfn id="OnKeyUpEventAttribute">onkeyup</dfn>, <dfn id="OnMouseDownEventAttribute">onmousedown</dfn>, <dfn id="OnMouseUpEventAttribute">onmouseup</dfn>, <dfn id="OnMouseOverEventAttribute">onmouseover</dfn>, <dfn id="OnMouseMoveEventAttribute">onmousemove</dfn>, <dfn id="OnMouseOutEventAttribute">onmouseout</dfn>
Received on Wednesday, 20 November 2013 18:48:25 UTC