- From: Jonathan Chetwynd <j.chetwynd@btinternet.com>
- Date: Mon, 14 Jun 2010 10:05:19 +0100
- To: www-svg <www-svg@w3.org>
- Message-Id: <A7F9F07E-6842-42B0-BEE2-5568973F2184@btinternet.com>
focusout, focusin, activate: clarification or errata? Is it the case that the attached file is a reasonable testcase for expected behaviour of focusout? Would it be constructive to agree and provide further testcases and clarification? or is an errata needed? my concern is that whilst in August 2000 Accessibility Features of SVG states: "Good authoring practice will normally use the focusin, focusout and activate events rather than the device specific events for gaining and losing the focus on an element or activating the element. " http://www.w3.org/TR/SVG-access/ using the attached file, recent builds: Opera click pass focusout pass Safari click pass focusout fail Mozilla-fakesmile click fail focusout fail Batik click pass focusout ~ responds as mouseout Amaya click fail focusout fail possibly user setting error? set to single click for links tests using script onfocus: http://www.w3.org/Graphics/SVG/Test/20061213/svggen/script-handle-02-b.svg had similarly mixed results, though it should be particularly noted that onactivate and onfocus may benefit from further clarification. bugs filed: Opera: DSK-302030@bugs.opera.com Webkit: https://bugs.webkit.org/show_bug.cgi?id=40545 Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=371728 fakesmile: https://bugs.launchpad.net/smil/+bug/593562 I did not find a definitive test for implementation of focusout, focusin, activate please find attached a simple testcase for focusout. click on one rectangle then the other, colour should revert, when focus is lost. <?xml version="1.0" encoding="utf-8" standalone="no"?> <svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny" > <style type="text/css" id="css"><![CDATA[ .inputText {cursor:text; fill:#3e3;} ]]></style> <title>focusout test: click on one box, then the other, the first should change back, </title> <rect x="12" y="9" id="chat" width="185" height="22" rx="4" ry="4" class="inputText" pointer-events="visible"> <set attributeName="fill" to="red" begin="click" end="focusout" /> </rect> <rect x="280" y="275" id="chat2" width="185" height="18" rx="4" ry="4" class="inputText" pointer-events="visible"> <set attributeName="fill" to="red" begin="click" end="focusout" /> </rect> </svg>
Received on Monday, 14 June 2010 09:05:22 UTC